Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Contract] Proper Handling of Prover Bonds #125

Open
linoscope opened this issue Sep 18, 2024 · 0 comments
Open

[Contract] Proper Handling of Prover Bonds #125

linoscope opened this issue Sep 18, 2024 · 0 comments

Comments

@linoscope
Copy link
Collaborator

Problem:

In the latest version of the Taiko inbox, the assigned prover is hard-coded to be the msg.sender of TaikoL1.sol (related PR). This is problematic since, with a preconf protocol, the msg.sender will be the preconf AVS contract instead of the proposer itself. As a result, the prover bond is accounted for from our AVS contract, TaikoTaskManager.sol, instead of the proposer.

Potential Solution(s):

  • Do accounting for per-proposer bonds and manage approvals and withdrawals of taiko tokens through the task manager.
  • Modify the Taiko inbox contract to (re)decouple the proposer from the prover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant