Skip to content

add lightMigrator to ironblocks branch #44

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
Dec 22, 2023
Merged

add lightMigrator to ironblocks branch #44

merged 4 commits into from
Dec 22, 2023

Conversation

YouStillAlive
Copy link
Member

No description provided.

* introduce LightMigrator

* separate CreateNewPool tests

* fix codefactor

* use block timestamp

* codefactor fix
* extra tests

* codefactor fix

* name fix
Copy link

Gas Test Report 📊

The gas test results are as follows:

DelayVaultProvider

Contract Method Min Max Avg # calls
DelayVaultProvider createNewDelayVault(address,uint256[]) 305116 360961 335328 46
DelayVaultProvider createNewDelayVaultWithSignature(address,uint256[],bytes) - - 346548 1
DelayVaultProvider upgradeType(uint8) - - 72889 2

Old DelayVault

Contract Method Min Max Avg # calls
DelayVault CreateVault(address,uint256,uint256,uint256,uint256) 181746 266275 237177 12
DelayVault + DelayVaultMigrator Withdraw(address) 328314 443816 372507 8

DelayVaultMigrator

Contract Method Min Max Avg # calls
DelayVaultMigrator finalize(address) 78420 78432 78429 4
DelayVaultMigrator fullMigrate() 360650 367913 364282 2
DelayVaultMigrator withdrawTokensFromV1Vault() 348420 351220 349820 2

Deployments

Contract Min Max Avg % of limit
DelayVaultMigrator - - 1900650 1.5 %
DelayVaultProvider 4116713 4132372 4117190 3.2 %

@Lomet Lomet merged commit 3b6d275 into ironblocks Dec 22, 2023
@Lomet Lomet deleted the tmp-master branch December 22, 2023 13:01
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

Successfully merging this pull request may close these issues.

2 participants