diff --git a/Cargo.toml b/Cargo.toml index 1f437fb..f52ddac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" [workspace.dependencies] serde_json = "1.0.106" log = "0.4.19" -plonky2_evm = { git = "https://github.com/mir-protocol/plonky2.git", rev = "0b5ac312c0f9efdcc6d85c10256d2843d42215a2" } +plonky2_evm = { git = "https://github.com/mir-protocol/plonky2.git", rev = "762e6f07b834df04be8cd290f07465a28c392c6d" } rlp = "0.5.2" hex = "0.4.3" diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 4972ec8..267e81b 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -12,7 +12,7 @@ eth_trie_utils = "0.6.0" hex = { workspace = true } keccak-hash = "0.10.0" log = { workspace = true } -plonky_block_proof_gen = { git = "https://github.com/mir-protocol/plonky-block-proof-gen.git", rev = "6a64f9be4616931c042aaf932d2483529e1db9bf" } +plonky_block_proof_gen = { git = "https://github.com/mir-protocol/plonky-block-proof-gen.git", rev = "73c3bcbaf3bfe913641c5b6817bc3ba5aa9859bc" } plonky2_evm = { workspace = true } rlp = { workspace = true } rlp-derive = "0.1.0" diff --git a/parser/src/plonky2.rs b/parser/src/plonky2.rs index 9590223..08fb593 100644 --- a/parser/src/plonky2.rs +++ b/parser/src/plonky2.rs @@ -109,6 +109,7 @@ impl From for BlockMetadata { block_timestamp: v.header.timestamp.into(), block_number: v.header.number.into(), block_difficulty: v.header.difficulty.into(), + block_random: v.header.mix_hash, block_gaslimit: v.header.gas_limit.into(), block_chain_id: MATIC_CHAIN_ID.into(), block_base_fee: v.header.base_fee.into(),