Skip to content

Commit

Permalink
Merge pull request #1251 from topos-protocol/fix-observe-challenges
Browse files Browse the repository at this point in the history
Fix observe_block_metadata
  • Loading branch information
LindaGuiga authored Sep 25, 2023
2 parents 8c78271 + 043d12c commit a24cd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm/src/get_challenges.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ fn observe_block_metadata<
challenger.observe_element(u256_to_u32(block_metadata.block_timestamp)?);
challenger.observe_element(u256_to_u32(block_metadata.block_number)?);
challenger.observe_element(u256_to_u32(block_metadata.block_difficulty)?);
challenger.observe_element(u256_to_u32(block_metadata.block_gaslimit)?);
challenger.observe_elements(&h256_limbs::<F>(block_metadata.block_random));
challenger.observe_element(u256_to_u32(block_metadata.block_gaslimit)?);
challenger.observe_element(u256_to_u32(block_metadata.block_chain_id)?);
let basefee = u256_to_u64(block_metadata.block_base_fee)?;
challenger.observe_element(basefee.0);
Expand Down

0 comments on commit a24cd4f

Please sign in to comment.