-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updating the test for #305 * adding cases for an exhaustive switch * adding cases for an exhaustive switch * end of day scraps, working on #305 * actual implementation of the hash for function names * code style tweaks * rename * less hardecoded mapping from Obsidian to Yul types but it still needs work * comment about outputting type annotations * end of day scraps * removing two big blocks of redundant code, neither of which was getting run * removing possibly silly assertion * pulling funcscope into its own file * fixing selector case syntax * removing an assertion about what functions can be called on that i think does not make sense * comments and imports clean up * adding some hard coded library functions to the mustache file, code to dispatch table * adding json file so that travis will also run simple call as a test * comment about boilerplate origin * tightening up funcscope implementation * callvalue check to util * end of day scraps * whitespace
- Loading branch information
Showing
7 changed files
with
281 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"gas" : 30000000, | ||
"gasprice" : "0x9184e72a000", | ||
"startingeth" : 5000000, | ||
"numaccts" : 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
main contract SimpleCall{ | ||
transaction incr(int x) returns int { | ||
return 4; | ||
int x; | ||
transaction updatex() { | ||
x = 4; | ||
return; | ||
} | ||
|
||
transaction main(int x) returns int { | ||
int y = incr (x); | ||
return y; | ||
transaction main(){ | ||
x = 9; | ||
updatex(); | ||
return; | ||
} | ||
} | ||
} |
Oops, something went wrong.