Skip to content

Commit 5edac54

Browse files
authored
feat: explicitly set the chain id to None (#351)
Signed-off-by: Gregory Edison <[email protected]>
1 parent f3338ab commit 5edac54

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

crates/scroll/alloy/evm/src/tx/compression.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,14 @@ impl FromTxWithCompressionRatio<ScrollTxEnvelope> for ScrollTransactionIntoTxEnv
153153
kind: TxKind::Call(*to),
154154
value: *value,
155155
data: input.clone(),
156-
..Default::default()
156+
gas_price: 0,
157+
gas_priority_fee: None,
158+
chain_id: None,
159+
nonce: 0,
160+
access_list: Default::default(),
161+
blob_hashes: Default::default(),
162+
max_fee_per_blob_gas: Default::default(),
163+
authorization_list: Default::default(),
157164
}
158165
}
159166
};

crates/scroll/alloy/evm/src/tx/mod.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,14 @@ impl FromTxWithEncoded<ScrollTxEnvelope> for ScrollTransactionIntoTxEnv<TxEnv> {
154154
kind: TxKind::Call(*to),
155155
value: *value,
156156
data: input.clone(),
157-
..Default::default()
157+
gas_price: 0,
158+
gas_priority_fee: None,
159+
chain_id: None,
160+
nonce: 0,
161+
access_list: Default::default(),
162+
blob_hashes: Default::default(),
163+
max_fee_per_blob_gas: Default::default(),
164+
authorization_list: Default::default(),
158165
}
159166
}
160167
};

0 commit comments

Comments
 (0)