Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Accounting tests (#82)
Browse files Browse the repository at this point in the history
* Update remote read states contract

* Add accounting_tests.scilla to testsuite

* Add accounting_tests_support.scilla to testsuite
  • Loading branch information
vaivaswatha authored Jul 19, 2021
1 parent e23260c commit 5a0cbdd
Show file tree
Hide file tree
Showing 11 changed files with 18,818 additions and 515 deletions.
2 changes: 2 additions & 0 deletions tests/codegen/contr/TestCodegenContr.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ open Utils

let contrlist =
[
"accounting_tests.scilla";
"accounting_tests_support.scilla";
"crowdfunding.scilla";
"match_assign.scilla";
"match_assign2.scilla";
Expand Down
22 changes: 22 additions & 0 deletions tests/codegen/contr/accounting_tests.init.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"vname" : "_scilla_version",
"type" : "Uint32",
"value" : "0"
},
{
"vname" : "_this_address",
"type" : "ByStr20",
"value" : "0x3620c286757a29985cee194eb90064270fb65414"
},
{
"vname" : "_creation_block",
"type" : "BNum",
"value" : "1"
},
{
"vname" : "support_contract",
"type" : "ByStr20",
"value" : "0xabfeccdc9012345678901234567890f777564323"
}
]
Loading

0 comments on commit 5a0cbdd

Please sign in to comment.