Skip to content

Commit

Permalink
fixed transactions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiuosvat committed Aug 21, 2024
1 parent de51cb6 commit 04d2384
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
2 changes: 1 addition & 1 deletion contracts/lottery-esdt/scenarios/buy-wrong-fee.scen.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"id": "",
"tx": {
"from": "address:OWNER_ADDRESS",
"contractCode": "mxsc:output/lottery-esdt.mxsc.json",
"contractCode": "mxsc:../output/lottery-esdt.mxsc.json",
"arguments": [],
"gasLimit": "5,000,000"
},
Expand Down
3 changes: 0 additions & 3 deletions contracts/lottery-esdt/tests/lottery_esdt_blackbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ impl LotteryESDTTestState{
opt_whitelist,
opt_burn_percentage,
)
.returns(ReturnsResult)
.run();
}

Expand Down Expand Up @@ -232,7 +231,6 @@ impl LotteryESDTTestState{
.typed(proxy::LotteryProxy)
.buy_ticket(&lottery_name)
.single_esdt(&token_identifier, 0,&ticket_price)
.returns(ReturnsResult)
.run();
}

Expand Down Expand Up @@ -279,7 +277,6 @@ impl LotteryESDTTestState{
.to(SC_ADDRESS)
.typed(proxy::LotteryProxy)
.determine_winner(&lottery_name)
.returns(ReturnsResult)
.run();
}

Expand Down

0 comments on commit 04d2384

Please sign in to comment.