-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 557-fixecdata-call-calltoc1membershipwcp
- Loading branch information
Showing
27 changed files
with
485 additions
and
315 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
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 |
---|---|---|
@@ -1,17 +1,39 @@ | ||
(module blockhash) | ||
|
||
(defcolumns | ||
(IOMF :binary) | ||
(BLOCK_NUMBER_HI :i128) | ||
(BLOCK_NUMBER_LO :i128) | ||
(RES_HI :i128) | ||
(RES_LO :i128) | ||
(REL_BLOCK :i8) | ||
(ABS_BLOCK :i48) | ||
(LOWER_BOUND_CHECK :binary) | ||
(UPPER_BOUND_CHECK :binary) | ||
(IN_RANGE :binary) | ||
(BLOCK_HASH_HI :i128) | ||
(BLOCK_HASH_LO :i128) | ||
(BYTE_HI :array [0:15] :byte@prove) | ||
(BYTE_LO :array [0:15] :byte@prove)) | ||
(IOMF :binary@prove) | ||
(MACRO :binary@prove) | ||
(PRPRC :binary@prove) | ||
(CT :i8) | ||
(CT_MAX :i8)) | ||
|
||
(defperspective macro | ||
;; selector | ||
MACRO | ||
;; macro-instruction fields | ||
( | ||
(REL_BLOCK :i16) | ||
(ABS_BLOCK :i48) | ||
(BLOCKHASH_VAL_HI :i128) | ||
(BLOCKHASH_VAL_LO :i128) | ||
(BLOCKHASH_ARG_HI :i128) | ||
(BLOCKHASH_ARG_LO :i128) | ||
(BLOCKHASH_RES_HI :i128) | ||
(BLOCKHASH_RES_LO :i128) | ||
) | ||
) | ||
|
||
(defperspective preprocessing | ||
;; selector | ||
PRPRC | ||
;; instruction pre-processing fields | ||
( | ||
(EXO_ARG_1_HI :i128) | ||
(EXO_ARG_1_LO :i128) | ||
(EXO_ARG_2_HI :i128) | ||
(EXO_ARG_2_LO :i128) | ||
(EXO_INST :i8) | ||
(EXO_RES :binary@prove) | ||
) | ||
) | ||
|
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,13 @@ | ||
(module blockhash) | ||
|
||
(defconst | ||
nROWS_MACRO 1 | ||
nROWS_PRPRC 5 | ||
BLOCKHASH_DEPTH (+ nROWS_MACRO nROWS_PRPRC) | ||
NEGATIVE_OF_BLOCKHASH_DEPTH (- 0 BLOCKHASH_DEPTH) | ||
ROFF___BLOCKHASH_arguments___monotony 1 | ||
ROFF___BLOCKHASH_arguments___equality_test 2 | ||
ROFF___ABS___comparison_to_256 3 | ||
ROFF___curr_BLOCKHASH_argument___comparison_to_max 4 | ||
ROFF___curr_BLOCKHASH_argument___comparison_to_min 5 | ||
) |
Oops, something went wrong.