Skip to content

Commit

Permalink
Merge branch 'upgrade-from-contract' of https://github.com/multiversx…
Browse files Browse the repository at this point in the history
…/mx-chain-vm-go into upgrade-from-contract
  • Loading branch information
camilbancioiu committed Nov 6, 2023
2 parents 62c88eb + 52ce940 commit be18d2d
Showing 1 changed file with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,21 @@
"function": "upgrade_vault_from_source",
"arguments": [
"sc:child",
"sc:forwarder"
"sc:child"
],
"gasLimit": "500,000,000",
"gasPrice": "0"
},
"expect": {
"out": []
"out": [],
"status": ""
}
},
{
"step": "checkState",
"accounts": {
"sc:child": {
"code": "file:../forwarder/output/forwarder.wasm"
"code": "file:../vault/output/vault.wasm"
},
"+": ""
}
Expand All @@ -58,9 +59,7 @@
"gasPrice": "0"
},
"expect": {
"out": [
"str:arg"
],
"out": [],
"logs": [
{
"address": "sc:forwarder",
Expand All @@ -77,6 +76,16 @@
"str:arg"
]
},
{
"address": "sc:child",
"endpoint": "str:upgradeContract",
"topics": [
"str:upgraded"
],
"data": [
""
]
},
{
"address": "sc:child",
"endpoint": "str:transferValueOnly",
Expand All @@ -88,6 +97,7 @@
"str:AsyncCallback",
"str:callBack",
"0x00",
"str:upgraded",
"str:arg"
]
}
Expand Down

0 comments on commit be18d2d

Please sign in to comment.