-
Notifications
You must be signed in to change notification settings - Fork 130
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
Samlaf avs 291 docker compose up does not advance the chain #58
Samlaf avs 291 docker compose up does not advance the chain #58
Conversation
Would changing the default batch size help? ![]() https://book.getfoundry.sh/reference/cli/forge/script?highlight=batch%20100#forge-script |
@wesfloyd this was a separate issue. I linked the issue in the description. In which context are you recommending using batch here? Not sure I'm following. |
Merging because this is needed to unblock other PRs, but we can continue the conversation here or elsewhere @wesfloyd ! |
All good, no worries, my misunderstanding. I thought you were needing to advance the chain here b/c of the default batch size (100), which could be reconfigured to "1". However, I'm learning "some state depends on the block-number at which the interaction happened". For my understanding/learning purposes - could you share which part of inc squaring is dependent on this "state dependent on block number" limitation? It would help to understand whether this is specific to Inc Sq's design or broadly applicable to all AVS testing. |
@wesfloyd this applies to all AVSs. The above logic would be nice to have, instead of needing to register the operator dynamically everytime we restart the chain. There must be another reason why I still need to advance the chain.... but I can't remember right now. Maybe when registering the avs looks at the block number at which an operator registered with eigenlayer? Not sure.. |
Fixes #39 .