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

Investigate methods of reducing code size for Validator Manager contracts #662

Open
geoff-vball opened this issue Dec 2, 2024 · 0 comments
Labels

Comments

@geoff-vball
Copy link
Contributor

Context and scope
We have been routinely running up against code size limits for validator-manager contracts, with ERC20TokenStakingManager currently only having ~500 bytes of headroom before hitting the cap, and NativeTokenStakingManager having ~1200 bytes of headroom.

This has prevented us from including external getters for state variables, which are necessary to implement proper tooling for the contracts.

Discussion and alternatives
Would externalizing the churn tracker help us save on code size? Externalizing the churn tracker would also help other implementations include it, which would be helpful because it is consensus-critical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

1 participant