Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 89ee8c7

Browse files
kunxian-xialispc
andauthored
fix: tx_type info is lost (#192)
* fix: tx_type info is lost and use our own ethers as it support l1_msg * update_dpes --------- Co-authored-by: Zhang Zhuo <[email protected]>
1 parent 6cda23f commit 89ee8c7

File tree

3 files changed

+26
-16
lines changed

3 files changed

+26
-16
lines changed

Cargo.lock

+23-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ members = [
55
"types",
66
]
77

8+
[patch.crates-io]
9+
ethers-core = { git = "https://github.com/scroll-tech/ethers-rs.git", branch = "v0.17.0" }
810
[patch."https://github.com/privacy-scaling-explorations/halo2.git"]
911
halo2_proofs = { git = "https://github.com/scroll-tech/halo2.git", branch = "develop" }
1012
[patch."https://github.com/privacy-scaling-explorations/poseidon.git"]

types/src/eth.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl TransactionTrace {
9090
v: self.v,
9191
r: self.r,
9292
s: self.s,
93-
transaction_type: None,
93+
transaction_type: Some(U64::from(self.type_ as u64)),
9494
access_list: None,
9595
max_priority_fee_per_gas: None,
9696
max_fee_per_gas: None,

0 commit comments

Comments
 (0)