Skip to content

Commit

Permalink
Updated to work with new upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BGluth committed Oct 11, 2023
1 parent 0e5f70f commit 1bc2069
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions parser/src/plonky2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ impl From<EdgeBlockResponse> 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(),
Expand Down

0 comments on commit 1bc2069

Please sign in to comment.