Skip to content
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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/multiversx/mx-chain-core-go v1.2.22
github.com/multiversx/mx-chain-crypto-go v1.2.12-0.20240725071000-c3212540166f
github.com/multiversx/mx-chain-logger-go v1.0.15
github.com/multiversx/mx-chain-scenario-go v1.4.5-0.20250211131210-ca58313a13f8
github.com/multiversx/mx-chain-scenario-go v1.4.5-0.20250217162248-b2fa7da82c67
github.com/multiversx/mx-chain-storage-go v1.0.16-0.20240725070753-aa7fb322ebdf
github.com/multiversx/mx-chain-vm-common-go v1.5.17-0.20241021074004-c2bdb78da54a
github.com/multiversx/mx-components-big-int v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ github.com/multiversx/mx-chain-crypto-go v1.2.12-0.20240725071000-c3212540166f h
github.com/multiversx/mx-chain-crypto-go v1.2.12-0.20240725071000-c3212540166f/go.mod h1:9aSp//uBSvqFdzh4gvYISraoruhr1FCTXgPQalQ687k=
github.com/multiversx/mx-chain-logger-go v1.0.15 h1:HlNdK8etyJyL9NQ+6mIXyKPEBo+wRqOwi3n+m2QIHXc=
github.com/multiversx/mx-chain-logger-go v1.0.15/go.mod h1:t3PRKaWB1M+i6gUfD27KXgzLJJC+mAQiN+FLlL1yoGQ=
github.com/multiversx/mx-chain-scenario-go v1.4.5-0.20250211131210-ca58313a13f8 h1:70mdcqvonAsPdN00tU1r92+dGsgsPH8oA8r1PGIwTxI=
github.com/multiversx/mx-chain-scenario-go v1.4.5-0.20250211131210-ca58313a13f8/go.mod h1:sLKkfFGXK8EtnjBKmPcTZ0pbVGPsnUVFKOc2kWhGdFU=
github.com/multiversx/mx-chain-scenario-go v1.4.5-0.20250217162248-b2fa7da82c67 h1:i2vfRNTa1BySg/iDHbENVvFDUcGRvKrqLbJLyOnjmMU=
github.com/multiversx/mx-chain-scenario-go v1.4.5-0.20250217162248-b2fa7da82c67/go.mod h1:sLKkfFGXK8EtnjBKmPcTZ0pbVGPsnUVFKOc2kWhGdFU=
github.com/multiversx/mx-chain-storage-go v1.0.16-0.20240725070753-aa7fb322ebdf h1:L9K7Xzq5SZz6k55R7HrafiRcU+c8/PqozJxys65G4bI=
github.com/multiversx/mx-chain-storage-go v1.0.16-0.20240725070753-aa7fb322ebdf/go.mod h1:ptvW/8r6bam55mVpeVZbyvvvydYM0DQwcPOH0W4Xyx8=
github.com/multiversx/mx-chain-vm-common-go v1.5.17-0.20241021074004-c2bdb78da54a h1:+D5GR9SkHTkKU6fIMZLdSQHeIzbDzOT6fSJfKBG80+g=
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"steps": [
{
"step": "setState",
"accounts": {
"address:a_user": {
"nonce": "0",
"balance": "100",
"esdt": {
"str:TOK-123456": "100"
}
},
"sc:payable": {
"nonce": "0",
"balance": "0",
"code": "mxsc:../output/payable-features.mxsc.json"
}
}
},
{
"step": "scCall",
"id": "",
"tx": {
"from": "address:a_user",
"to": "sc:payable",
"esdtValue": [
{
"tokenIdentifier": "str:EGLD-000000",
"value": "10"
}
],
"function": "payable_all_transfers",
"arguments": [],
"gasLimit": "6000000"
},
"expect": {
"out": [
[
"nested:str:EGLD|u64:0|biguint:10"
]
],
"status": "",
"logs": "*",
"gas": "*",
"refund": "*"
}
},
{
"step": "checkState",
"accounts": {
"address:a_user": {
"nonce": "*",
"balance": "90",
"storage": {},
"esdt": {
"str:TOK-123456": "100"
},
"code": ""
},
"sc:payable": {
"nonce": "0",
"balance": "10",
"storage": {},
"esdt": {},
"code": "mxsc:../output/payable-features.mxsc.json"
}
}
}
]
}