-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contracts may have balance = 0 && nonce = 0, so check for _this_addre…
…ss (#981) * Contracts may have balance = 0 && nonce = 0, so check for _this_address * fmt
- Loading branch information
Showing
12 changed files
with
652 additions
and
36 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
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 @@ | ||
[ { "vname": "BLOCKNUMBER", "type": "BNum", "value": "100" } ] |
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 @@ | ||
[ { "vname": "BLOCKNUMBER", "type": "BNum", "value": "100" } ] |
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,108 @@ | ||
{ | ||
"_tag": "RemoteReadsADTTest", | ||
"_amount": "0", | ||
"_sender": "0xabfeccdc9012345678901234567890f777564322", | ||
"params": [ | ||
{ | ||
"vname" : "list1", | ||
"type" : "List ByStr20", | ||
"value" : { | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564324", | ||
{ | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564325", | ||
{ | ||
"constructor" : "Nil", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "list2", | ||
"type" : "List ByStr20", | ||
"value" : { | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "Nil", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "list3", | ||
"type" : "List ByStr20", | ||
"value" : { | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564324", | ||
{ | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "Nil", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "pair1", | ||
"type" : "Pair ByStr20 0x3620c286757a29985cee194eb90064270fb65414.AddressADT", | ||
"value" : { | ||
"constructor" : "Pair", | ||
"argtypes" : [ "ByStr20", "0x3620c286757a29985cee194eb90064270fb65414.AddressADT" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "0x3620c286757a29985cee194eb90064270fb65414.Address2", | ||
"argtypes" : [], | ||
"arguments" : [ "0xabfeccdc9012345678901234567890f777564327" ] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "adt1", | ||
"type" : "0x3620c286757a29985cee194eb90064270fb65414.AddressADT", | ||
"value" : | ||
{ | ||
"constructor" : "0x3620c286757a29985cee194eb90064270fb65414.Address2", | ||
"argtypes" : [], | ||
"arguments" : [ "0xabfeccdc9012345678901234567890f777564324" ] | ||
} | ||
}, | ||
{ | ||
"vname" : "remote1", | ||
"type" : "ByStr20", | ||
"value" : "0xabfeccdc9012345678901234567890f777564325" | ||
} | ||
], | ||
"_origin": "0xabfeccdc9012345678901234567890f777564322" | ||
} |
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,108 @@ | ||
{ | ||
"_tag": "RemoteReadsADTTest", | ||
"_amount": "0", | ||
"_sender": "0xabfeccdc9012345678901234567890f777564322", | ||
"params": [ | ||
{ | ||
"vname" : "list1", | ||
"type" : "List ByStr20", | ||
"value" : { | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564324", | ||
{ | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564325", | ||
{ | ||
"constructor" : "Nil", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "list2", | ||
"type" : "List ByStr20", | ||
"value" : { | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "Nil", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "list3", | ||
"type" : "List ByStr20", | ||
"value" : { | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564324", | ||
{ | ||
"constructor" : "Cons", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "Nil", | ||
"argtypes" : [ "ByStr20" ], | ||
"arguments" : [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "pair1", | ||
"type" : "Pair ByStr20 0x3620c286757a29985cee194eb90064270fb65414.AddressADT", | ||
"value" : { | ||
"constructor" : "Pair", | ||
"argtypes" : [ "ByStr20", "0x3620c286757a29985cee194eb90064270fb65414.AddressADT" ], | ||
"arguments" : [ | ||
"0xabfeccdc9012345678901234567890f777564323", | ||
{ | ||
"constructor" : "0x3620c286757a29985cee194eb90064270fb65414.Address2", | ||
"argtypes" : [], | ||
"arguments" : [ "0xabfeccdc9012345678901234567890f777564327" ] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"vname" : "adt1", | ||
"type" : "0x3620c286757a29985cee194eb90064270fb65414.AddressADT", | ||
"value" : | ||
{ | ||
"constructor" : "0x3620c286757a29985cee194eb90064270fb65414.Address2", | ||
"argtypes" : [], | ||
"arguments" : [ "0xabfeccdc9012345678901234567890f777564324" ] | ||
} | ||
}, | ||
{ | ||
"vname" : "remote1", | ||
"type" : "ByStr20", | ||
"value" : "0xabfeccdc9012345678901234567890f777564325" | ||
} | ||
], | ||
"_origin": "0xabfeccdc9012345678901234567890f777564322" | ||
} |
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,12 @@ | ||
{ | ||
"gas_remaining": "7487", | ||
"errors": [ | ||
{ | ||
"error_message": | ||
"No contract found at address 0xabfeccdc9012345678901234567890f777564327", | ||
"start_location": { "file": "", "line": 0, "column": 0 }, | ||
"end_location": { "file": "", "line": 0, "column": 0 } | ||
} | ||
], | ||
"warnings": [] | ||
} |
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,12 @@ | ||
{ | ||
"gas_remaining": "7487", | ||
"errors": [ | ||
{ | ||
"error_message": | ||
"No contract found at address 0xabfeccdc9012345678901234567890f777564327", | ||
"start_location": { "file": "", "line": 0, "column": 0 }, | ||
"end_location": { "file": "", "line": 0, "column": 0 } | ||
} | ||
], | ||
"warnings": [] | ||
} |
Oops, something went wrong.