Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
alyn509 committed Sep 12, 2023
1 parent 617d153 commit 68c41a4
Showing 1 changed file with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"step": "scCall",
"id": "fund-fail-2",
"tx": {
"from": "address:acc3",
"from": "address:acc2",
"to": "sc:the_digital_cash_contract",
"esdtValue": [
{
Expand Down Expand Up @@ -281,6 +281,42 @@
"refund": "*"
}
},
{
"step": "scCall",
"id": "fund-fail-3",
"tx": {
"from": "address:acc3",
"to": "sc:the_digital_cash_contract",
"esdtValue": [
{
"tokenIdentifier": "str:CASHTOKEN-112233",
"value": "50"
},
{
"tokenIdentifier": "str:CASHTOKEN-445566",
"value": "50"
},
{
"tokenIdentifier": "str:CASHTOKEN-778899",
"value": "50"
}
],
"function": "fund",
"arguments": [
"0x487bd4010b50c24a02018345fe5171edf4182e6294325382c75ef4c4409f01bd",
"u64:100"
],
"gasLimit": "100,000,000",
"gasPrice": "0"
},
"expect": {
"out": [],
"status": "4",
"message": "str:invalid depositor",
"gas": "*",
"refund": "*"
}
},
{
"step": "scCall",
"id": "deposit-fees-3",
Expand Down

0 comments on commit 68c41a4

Please sign in to comment.