issues
search
Lagrange-Labs
/
mapreduce-plonky2
Other
10
stars
0
forks
source link
fix: revert bytes of each Uint32 in block hash to make consistent with onchain
#352
Closed
silathdiir
closed
1 month ago
silathdiir
commented
1 month ago
Since we
pack the block hash in little-endian
.
Summary
Fix to revert bytes of each Uint32 of block hash in Solidity verifier.
Fix the query test to fetch block hash from public inputs, then convert bytes of each Uint32 (as above) to make consistent with onchain.
Since we pack the block hash in little-endian.
Summary