File tree Expand file tree Collapse file tree 4 files changed +101
-4
lines changed
payable-features/scenarios Expand file tree Collapse file tree 4 files changed +101
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
1111 github.com/multiversx/mx-chain-core-go v1.2.22
1212 github.com/multiversx/mx-chain-crypto-go v1.2.12-0.20240725071000-c3212540166f
1313 github.com/multiversx/mx-chain-logger-go v1.0.15
14- github.com/multiversx/mx-chain-scenario-go v1.4.5 -0.20250218083003-17abf5bacfcd
14+ github.com/multiversx/mx-chain-scenario-go v1.5.1 -0.20250218130524-4d5a15e117af
1515 github.com/multiversx/mx-chain-storage-go v1.0.16-0.20240725070753-aa7fb322ebdf
1616 github.com/multiversx/mx-chain-vm-common-go v1.5.17-0.20241021074004-c2bdb78da54a
1717 github.com/multiversx/mx-components-big-int v1.0.0
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ github.com/multiversx/mx-chain-crypto-go v1.2.12-0.20240725071000-c3212540166f h
8989github.com/multiversx/mx-chain-crypto-go v1.2.12-0.20240725071000-c3212540166f /go.mod h1:9aSp//uBSvqFdzh4gvYISraoruhr1FCTXgPQalQ687k =
9090github.com/multiversx/mx-chain-logger-go v1.0.15 h1:HlNdK8etyJyL9NQ+6mIXyKPEBo+wRqOwi3n+m2QIHXc =
9191github.com/multiversx/mx-chain-logger-go v1.0.15 /go.mod h1:t3PRKaWB1M+i6gUfD27KXgzLJJC+mAQiN+FLlL1yoGQ =
92- github.com/multiversx/mx-chain-scenario-go v1.4.5 -0.20250218083003-17abf5bacfcd h1:3NCQviGNTi3VeHI7RX14WX8HDqBTWqFjfA+UtTUAyFU =
93- github.com/multiversx/mx-chain-scenario-go v1.4.5 -0.20250218083003-17abf5bacfcd /go.mod h1:sLKkfFGXK8EtnjBKmPcTZ0pbVGPsnUVFKOc2kWhGdFU =
92+ github.com/multiversx/mx-chain-scenario-go v1.5.1 -0.20250218130524-4d5a15e117af h1:6ORdoM22EjKrzPXU14ddCpqmP++v9Pz3vGo+lNPv1ac =
93+ github.com/multiversx/mx-chain-scenario-go v1.5.1 -0.20250218130524-4d5a15e117af /go.mod h1:sLKkfFGXK8EtnjBKmPcTZ0pbVGPsnUVFKOc2kWhGdFU =
9494github.com/multiversx/mx-chain-storage-go v1.0.16-0.20240725070753-aa7fb322ebdf h1:L9K7Xzq5SZz6k55R7HrafiRcU+c8/PqozJxys65G4bI =
9595github.com/multiversx/mx-chain-storage-go v1.0.16-0.20240725070753-aa7fb322ebdf /go.mod h1:ptvW/8r6bam55mVpeVZbyvvvydYM0DQwcPOH0W4Xyx8 =
9696github.com/multiversx/mx-chain-vm-common-go v1.5.17-0.20241021074004-c2bdb78da54a h1:+D5GR9SkHTkKU6fIMZLdSQHeIzbDzOT6fSJfKBG80+g =
Original file line number Diff line number Diff line change 1+ {
2+ "comment" : " simple ESDT transfer to nonexistent account, no SC" ,
3+ "steps" : [
4+ {
5+ "step" : " setState" ,
6+ "accounts" : {
7+ "address:A" : {
8+ "nonce" : " 0" ,
9+ "balance" : " 0x1000000000" ,
10+ "esdt" : {
11+ "str:TOK-123456" : " 150"
12+ }
13+ }
14+ }
15+ },
16+ {
17+ "step" : " transfer" ,
18+ "id" : " 1" ,
19+ "tx" : {
20+ "from" : " address:A" ,
21+ "to" : " address:B" ,
22+ "esdtValue" : [
23+ {
24+ "tokenIdentifier" : " str:TOK-123456" ,
25+ "value" : " 100"
26+ }
27+ ],
28+ "gasLimit" : " 0x100000000" ,
29+ "gasPrice" : " 0x01"
30+ }
31+ },
32+ {
33+ "step" : " checkState" ,
34+ "id" : " check-1" ,
35+ "comment" : " check after tx 1" ,
36+ "accounts" : {
37+ "address:A" : {
38+ "nonce" : " 1" ,
39+ "balance" : " 0xf00000000" ,
40+ "esdt" : {
41+ "str:TOK-123456" : " 50"
42+ },
43+ "storage" : {},
44+ "code" : " "
45+ },
46+ "address:B" : {
47+ "nonce" : " 0" ,
48+ "esdt" : {
49+ "str:TOK-123456" : " 100"
50+ },
51+ "storage" : {},
52+ "code" : " "
53+ }
54+ }
55+ },
56+ {
57+ "step" : " transfer" ,
58+ "id" : " 2" ,
59+ "tx" : {
60+ "from" : " address:A" ,
61+ "to" : " address:B" ,
62+ "esdtValue" : [
63+ {
64+ "tokenIdentifier" : " str:TOK-123456" ,
65+ "value" : " 50"
66+ }
67+ ],
68+ "gasLimit" : " 0x100000000" ,
69+ "gasPrice" : " 0x01"
70+ }
71+ },
72+ {
73+ "step" : " checkState" ,
74+ "id" : " check-2" ,
75+ "comment" : " check after tx 2" ,
76+ "accounts" : {
77+ "address:A" : {
78+ "nonce" : " 2" ,
79+ "balance" : " 0xe00000000" ,
80+ "esdt" : {
81+ "str:TOK-123456" : " 0"
82+ },
83+ "storage" : {},
84+ "code" : " "
85+ },
86+ "address:B" : {
87+ "nonce" : " 0" ,
88+ "esdt" : {
89+ "str:TOK-123456" : " 150"
90+ },
91+ "storage" : {},
92+ "code" : " "
93+ }
94+ }
95+ }
96+ ]
97+ }
Original file line number Diff line number Diff line change 6767 }
6868 }
6969 ]
70- }
70+ }
You can’t perform that action at this time.
0 commit comments