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

Added upload, migrated provider #535

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion framework/packages/abstract-interface/src/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ impl<Chain: CwEnv> AbstractIbc<Chain> {
&ibc_client_cw2_version,
::ibc_client::contract::CONTRACT_VERSION,
) {
// Version change is breaking, need to deploy new version
// Version change is breaking, need to upload and instantiate new version
self.client.upload_if_needed()?;
self.host.upload_if_needed()?;
self.instantiate(&self.client.environment().sender_addr())?;
Kayanski marked this conversation as resolved.
Show resolved Hide resolved
} else {
// If version is not breaking, simply migrate
Expand Down
16 changes: 8 additions & 8 deletions interchain/scripts/state.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@
},
"provider": {
"code_ids": {
"abstract:account": 39,
"abstract:ans-host": 36,
"abstract:ibc-client": 40,
"abstract:ibc-host": 41,
"abstract:module-factory": 38,
"abstract:registry": 37,
"abstract:account": 63,
"abstract:ans-host": 62,
"abstract:ibc-client": 64,
"abstract:ibc-host": 65,
"abstract:module-factory": 60,
"abstract:registry": 61,
"cw:blob": 35
},
"default": {
"abstract:account-local-0": "cosmos1hafge5xucuc03ar5lkwac0n9yctnxq6xrgygftdl9xl3tzncgghszwuw5z",
"abstract:account-local-1": "cosmos1v9dl0fw5s3jujn6emmlgch7w4ynt02nykj75pnzk8mdw7nmu3p4q0fnq48",
"abstract:ans-host": "cosmos1wx0qjtlz799pfxl73y2f4dv28nukztpmq2ztavk60v534tat9cdsvutp48",
"abstract:ibc-client": "cosmos1g86ckugm7v9vvpadq9szg6rlf72pdl4a6n0d8apltq5t0grecpwqg7qcv2",
"abstract:ibc-host": "cosmos1ldaf3e9zxja5mrcw3clcu873wggmqhwfvqw9djjcjxxjwv59crqsm8tma5",
"abstract:ibc-client": "cosmos1uspvkgrr9gfw429de02a5gx6dpl5neaw8srx4zsdd0xdtpk7gstq5ykc0u",
"abstract:ibc-host": "cosmos1x7q3st5m56g0h005l7eaas7ngh52tjsct2tmgs5hzcqlme0j604qwl604h",
"abstract:module-factory": "cosmos1vnj802lyyupfaez73w7axfs3xveraxen370vhcnumaufj29r5rxqdm4ntk",
Kayanski marked this conversation as resolved.
Show resolved Hide resolved
"abstract:registry": "cosmos1cag6cwygef6fuddgq2l44py7crpscufrza4mt3rum2axueemenmq7u74fa"
}
Expand Down
Loading