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

Dynamic autostake batchTxs #653

Open
tombeynon opened this issue Oct 21, 2022 · 0 comments
Open

Dynamic autostake batchTxs #653

tombeynon opened this issue Oct 21, 2022 · 0 comments

Comments

@tombeynon
Copy link
Contributor

The autostake transaction batch size is configurable and the default size is adjusted for a few networks. This is ultimately down to the max_gas BlockParam which defaults to 100m but this is sometimes changed.

REStake should query the node for the max_gas param and dynamically adjust the TX size to fit. TBC what percentage of max_gas we want to use, but this can likely be made configurable.

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