mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-06 07:43:10 +00:00
Fix sys_blockhash (#1285)
This commit is contained in:
parent
2aeecc3dd8
commit
49ca63ee0f
@ -241,6 +241,8 @@ global sys_blockhash:
|
||||
SWAP1
|
||||
// stack: block_number, kexit_info
|
||||
%blockhash
|
||||
// stack: blockhash, kexit_info
|
||||
SWAP1
|
||||
EXIT_KERNEL
|
||||
|
||||
global blockhash:
|
||||
@ -262,7 +264,6 @@ global blockhash:
|
||||
// stack: block_hash_number, retdest
|
||||
%mload_kernel(@SEGMENT_BLOCK_HASHES)
|
||||
SWAP1 JUMP
|
||||
JUMP
|
||||
|
||||
%macro blockhash
|
||||
// stack: block_number
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user