-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(octez): implement execute_rollup_outbox_message
- Loading branch information
1 parent
e421b66
commit 7254af3
Showing
32 changed files
with
1,669 additions
and
16 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
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
60 changes: 60 additions & 0 deletions
60
crates/jstzd/tests/resources/contract/KT1TFAweS9bMBetdDB3ndFicJWAEMb8MtSrK.json
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,60 @@ | ||
{ | ||
"code": [ | ||
{ | ||
"args": [{ "annots": ["%myEntryPoint"], "prim": "int" }], | ||
"prim": "parameter" | ||
}, | ||
{ | ||
"args": [ | ||
{ | ||
"args": [ | ||
{ "annots": ["%myParameter1"], "prim": "int" }, | ||
{ "annots": ["%myParameter2"], "prim": "int" } | ||
], | ||
"prim": "pair" | ||
} | ||
], | ||
"prim": "storage" | ||
}, | ||
{ | ||
"args": [ | ||
[ | ||
{ "prim": "UNPAIR" }, | ||
{ "args": [{ "prim": "int" }, { "int": "123" }], "prim": "PUSH" }, | ||
{ "args": [{ "int": "3" }], "prim": "DUP" }, | ||
{ "prim": "CAR" }, | ||
{ "prim": "COMPARE" }, | ||
{ "prim": "LE" }, | ||
{ | ||
"args": [ | ||
[], | ||
[ | ||
{ | ||
"args": [ | ||
{ "prim": "string" }, | ||
{ | ||
"string": "Assert failure: self.data.myParameter1 <= 123" | ||
} | ||
], | ||
"prim": "PUSH" | ||
}, | ||
{ "prim": "FAILWITH" } | ||
] | ||
], | ||
"prim": "IF" | ||
}, | ||
{ "prim": "SWAP" }, | ||
{ "prim": "DUP" }, | ||
{ "prim": "CAR" }, | ||
{ "args": [{ "int": "2" }], "prim": "DIG" }, | ||
{ "prim": "ADD" }, | ||
{ "args": [{ "int": "1" }], "prim": "UPDATE" }, | ||
{ "args": [{ "prim": "operation" }], "prim": "NIL" }, | ||
{ "prim": "PAIR" } | ||
] | ||
], | ||
"prim": "code" | ||
} | ||
], | ||
"storage": { "args": [{ "int": "1" }, { "int": "0" }], "prim": "Pair" } | ||
} |
Oops, something went wrong.