Skip to content

Add multicall to staking contract + keep legacy bulk calls #550

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

Merged
merged 4 commits into from
Mar 23, 2022

Conversation

abarmat
Copy link
Contributor

@abarmat abarmat commented Mar 22, 2022

Summary

This implementation adds Multicall to the Staking contract but keeps the current bulk function calls: closeAllocationMany() closeAndAllocate() claimMany() to make the upgrade process easier for the indexer-agent. Once indexers are using the new version, those functions should be removed on any next upgrade.

Audit

The originally audited code is on PR #475 and this PR just restore the removed function calls on the last commit 8229e8b.

Second Phase

Any second upgrade should be based on PR #475 that removes the legacy bulk calls.

@abarmat abarmat added the GIP label Mar 22, 2022
@abarmat abarmat self-assigned this Mar 22, 2022
@abarmat abarmat added audited and removed GIP labels Mar 22, 2022
@abarmat abarmat added the GIP label Mar 23, 2022
@abarmat abarmat merged commit 3538e00 into dev Mar 23, 2022
@abarmat abarmat deleted the ariel/multicall-staged branch December 21, 2022 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant