fix: bump revm with breaking change (#4706)

This commit is contained in:
Matthias Seitz
2023-09-21 14:59:11 +02:00
committed by GitHub
parent 5be8ae4b64
commit 8cb28a7005
2 changed files with 5 additions and 5 deletions

8
Cargo.lock generated
View File

@ -6236,7 +6236,7 @@ dependencies = [
[[package]] [[package]]
name = "revm" name = "revm"
version = "3.3.0" version = "3.3.0"
source = "git+https://github.com/bluealloy/revm#cb39117aac3586ab77c67dab35da8ad81b3a0a53" source = "git+https://github.com/bluealloy/revm#6e65230a4e6f4fb18b377cbf0929308795728841"
dependencies = [ dependencies = [
"auto_impl", "auto_impl",
"revm-interpreter", "revm-interpreter",
@ -6246,7 +6246,7 @@ dependencies = [
[[package]] [[package]]
name = "revm-interpreter" name = "revm-interpreter"
version = "1.1.2" version = "1.1.2"
source = "git+https://github.com/bluealloy/revm#cb39117aac3586ab77c67dab35da8ad81b3a0a53" source = "git+https://github.com/bluealloy/revm#6e65230a4e6f4fb18b377cbf0929308795728841"
dependencies = [ dependencies = [
"derive_more", "derive_more",
"enumn", "enumn",
@ -6257,7 +6257,7 @@ dependencies = [
[[package]] [[package]]
name = "revm-precompile" name = "revm-precompile"
version = "2.0.3" version = "2.0.3"
source = "git+https://github.com/bluealloy/revm#cb39117aac3586ab77c67dab35da8ad81b3a0a53" source = "git+https://github.com/bluealloy/revm#6e65230a4e6f4fb18b377cbf0929308795728841"
dependencies = [ dependencies = [
"c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844)", "c-kzg 0.1.0 (git+https://github.com/ethereum/c-kzg-4844)",
"hex", "hex",
@ -6275,7 +6275,7 @@ dependencies = [
[[package]] [[package]]
name = "revm-primitives" name = "revm-primitives"
version = "1.1.2" version = "1.1.2"
source = "git+https://github.com/bluealloy/revm#cb39117aac3586ab77c67dab35da8ad81b3a0a53" source = "git+https://github.com/bluealloy/revm#6e65230a4e6f4fb18b377cbf0929308795728841"
dependencies = [ dependencies = [
"arbitrary", "arbitrary",
"auto_impl", "auto_impl",

View File

@ -370,7 +370,7 @@ impl From<revm::primitives::InvalidTransaction> for RpcInvalidTransactionError {
use revm::primitives::InvalidTransaction; use revm::primitives::InvalidTransaction;
match err { match err {
InvalidTransaction::InvalidChainId => RpcInvalidTransactionError::InvalidChainId, InvalidTransaction::InvalidChainId => RpcInvalidTransactionError::InvalidChainId,
InvalidTransaction::GasMaxFeeGreaterThanPriorityFee => { InvalidTransaction::PriorityFeeGreaterThanMaxFee => {
RpcInvalidTransactionError::TipAboveFeeCap RpcInvalidTransactionError::TipAboveFeeCap
} }
InvalidTransaction::GasPriceLessThanBasefee => RpcInvalidTransactionError::FeeCapTooLow, InvalidTransaction::GasPriceLessThanBasefee => RpcInvalidTransactionError::FeeCapTooLow,