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

xtask: wait for sovereign rollup #226

Open
gabriele-0201 opened this issue Feb 9, 2024 · 0 comments
Open

xtask: wait for sovereign rollup #226

gabriele-0201 opened this issue Feb 9, 2024 · 0 comments

Comments

@gabriele-0201
Copy link
Contributor

In xtask/src/main.rs, instead of waiting for a specific amount of time, a method that mimics the behavior of the shim could be implemented. This way, we can avoid waiting for an arbitrary amount of time.

Similarly, in xtask/src/sovereing.rs, in the test_sovereign_rollup function, after submitting the batch, we wait for another arbitrary amount of time for the rollup to retrieve the transaction from the DA and begin processing them. Then, we can verify if the correct amount of tokens has been minted. As previously mentioned, having a more deterministic approach would be good

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