Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bins/revme/src/statetest/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ fn skip_test(path: &Path) -> bool {
// custom json parser. https://github.com/ethereum/tests/issues/971
| "ValueOverflow.json"

// TODO remove this after we merge branch to main.
| "NoSrcAccountCreate.json"
| "NoSrcAccount1559.json"
| "NoSrcAccountCreate1559.json"
| "NoSrcAccount.json"

// precompiles having storage is not possible
| "RevertPrecompiledTouch_storage.json"
| "RevertPrecompiledTouch.json"
Expand Down
4 changes: 0 additions & 4 deletions crates/primitives/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ pub struct CfgEnv {
/// If some it will effects EIP-170: Contract code size limit. Useful to increase this because of tests.
/// By default it is 0x6000 (~25kb).
pub limit_contract_code_size: Option<usize>,
/// Disables the coinbase tip during the finalization of the transaction. This is useful for
/// rollups that redirect the tip to the sequencer.
pub disable_coinbase_tip: bool,
/// A hard memory limit in bytes beyond which [Memory] cannot be resized.
///
/// In cases where the gas limit may be extraordinarily high, it is recommended to set this to
Expand Down Expand Up @@ -350,7 +347,6 @@ impl Default for CfgEnv {
spec_id: SpecId::LATEST,
perf_analyse_created_bytecodes: AnalysisKind::default(),
limit_contract_code_size: None,
disable_coinbase_tip: false,
#[cfg(feature = "std")]
kzg_settings: crate::kzg::EnvKzgSettings::Default,
#[cfg(feature = "memory_limit")]
Expand Down
6 changes: 5 additions & 1 deletion crates/primitives/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ use bytes::Bytes;
use core::fmt;
use ruint::aliases::U256;

pub type EVMResult<DBError> = core::result::Result<ResultAndState, EVMError<DBError>>;
/// Result of EVM execution.
pub type EVMResult<DBError> = EVMResultGeneric<ResultAndState, DBError>;

/// Generic result of EVM execution. Used to represent error and generic output.
pub type EVMResultGeneric<T, DBError> = core::result::Result<T, EVMError<DBError>>;

#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
Expand Down
Loading