Skip to content

Commit 09f2f4a

Browse files
authored
chore: bump revm 19.2 (#13667)
1 parent bd34537 commit 09f2f4a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ reth-trie-sparse = { path = "crates/trie/sparse" }
426426
reth-zstd-compressors = { path = "crates/storage/zstd-compressors", default-features = false }
427427

428428
# revm
429-
revm = { version = "19.0.0", default-features = false }
429+
revm = { version = "19.2.0", default-features = false }
430430
revm-primitives = { version = "15.1.0", default-features = false }
431431
revm-interpreter = { version = "15.0.0", default-features = false }
432432
revm-inspectors = "0.14.1"

crates/optimism/evm/src/l1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub trait RethL1BlockInfo {
196196
/// - `input`: The calldata of the transaction.
197197
/// - `is_deposit`: Whether or not the transaction is a deposit.
198198
fn l1_tx_data_fee(
199-
&self,
199+
&mut self,
200200
chain_spec: &ChainSpec,
201201
timestamp: u64,
202202
input: &[u8],
@@ -219,7 +219,7 @@ pub trait RethL1BlockInfo {
219219

220220
impl RethL1BlockInfo for L1BlockInfo {
221221
fn l1_tx_data_fee(
222-
&self,
222+
&mut self,
223223
chain_spec: &ChainSpec,
224224
timestamp: u64,
225225
input: &[u8],

crates/optimism/node/src/txpool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ where
324324
propagate,
325325
} = outcome
326326
{
327-
let l1_block_info = self.block_info.l1_block_info.read().clone();
327+
let mut l1_block_info = self.block_info.l1_block_info.read().clone();
328328

329329
let mut encoded = Vec::with_capacity(valid_tx.transaction().encoded_length());
330330
let tx = valid_tx.transaction().clone_into_consensus();

crates/optimism/rpc/src/eth/receipt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl OpReceiptFieldsBuilder {
107107
mut self,
108108
chain_spec: &OpChainSpec,
109109
tx: &OpTransactionSigned,
110-
l1_block_info: revm::L1BlockInfo,
110+
mut l1_block_info: revm::L1BlockInfo,
111111
) -> Result<Self, OpEthApiError> {
112112
let raw_tx = tx.encoded_2718();
113113
let timestamp = self.block_timestamp;

0 commit comments

Comments
 (0)