Skip to content

Commit

Permalink
upgrade from contract test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Nov 6, 2023
1 parent be18d2d commit dd85051
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"sc:forwarder": {
"code": "file:../forwarder/output/forwarder.wasm"
},
"sc:reference": {
"code": "file:../vault/output/vault-upgrade.wasm"
},
"sc:child": {
"code": "file:../vault/output/vault.wasm",
"owner": "sc:forwarder"
Expand All @@ -16,14 +19,14 @@
},
{
"step": "scCall",
"id": "upgrade-vault-to-forwarder",
"id": "upgrade-vault-from-source",
"tx": {
"from": "address:a_user",
"to": "sc:forwarder",
"function": "upgrade_vault_from_source",
"arguments": [
"sc:child",
"sc:child"
"sc:reference"
],
"gasLimit": "500,000,000",
"gasPrice": "0"
Expand All @@ -37,7 +40,7 @@
"step": "checkState",
"accounts": {
"sc:child": {
"code": "file:../vault/output/vault.wasm"
"code": "file:../vault/output/vault-upgrade.wasm"
},
"+": ""
}
Expand Down
Binary file modified test/features/composability/vault/output/vault-promises.wasm
Binary file not shown.
Binary file not shown.
Binary file modified test/features/composability/vault/output/vault.wasm
Binary file not shown.

0 comments on commit dd85051

Please sign in to comment.