-
Notifications
You must be signed in to change notification settings - Fork 17
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
Failure during manifest setup #1612
Comments
Added to 2.3, as a fix is small and crucial for upgrading mainnet IMA |
After discussion with D3, Stan - nice to have in 2.3, but could be postponed to 2.4 due to its not planned in 2.3 to upgrade IMA contract |
ima 2.1.0-beta.2 |
Test strategy:
Versions: Result:
Summary: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The bug description
There are 3 places where asynchronous functions are called wrong
IMA/proxy/migrations/generateManifest.ts
Line 139 in bbe0c0d
IMA/proxy/migrations/generateManifest.ts
Line 144 in bbe0c0d
IMA/proxy/migrations/generateManifest.ts
Line 157 in bbe0c0d
It causes wrong behavior when a manifest file is not present.
Besides the manifest filename is generated incorrectly for globally known networks such as mainnet, goerli, sepolia, et cetera.
IMA/proxy/migrations/generateManifest.ts
Line 137 in bbe0c0d
Probably the
manifestSetup
function is relevant only for actions on schain but it is used in upgrade script for mainnet smart contracts.IMA/proxy/migrations/upgradeMainnet.ts
Line 69 in bbe0c0d
To Reproduce
Run upgrade of IMA mainnet smart contracts
Expected behavior
Smart contracts are upgraded.
Screenshots
Desktop:
Smartphone:
Additional context
The issue is present for IMA
2.0.0-beta.16
.The text was updated successfully, but these errors were encountered: