Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
chore: remove unused feature
  • Loading branch information
rakita committed Mar 3, 2025
commit 4b02c201c41f3f83969f9522f83c64771bd7949d
2 changes: 0 additions & 2 deletions crates/context/interface/src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ pub trait Cfg {

fn is_balance_check_disabled(&self) -> bool;

fn is_gas_refund_disabled(&self) -> bool;

fn is_block_gas_limit_disabled(&self) -> bool;

fn is_nonce_check_disabled(&self) -> bool;
Expand Down
10 changes: 0 additions & 10 deletions crates/context/src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,16 +168,6 @@ impl<SPEC: Into<SpecId> + Copy> Cfg for CfgEnv<SPEC> {
}
}

fn is_gas_refund_disabled(&self) -> bool {
cfg_if::cfg_if! {
if #[cfg(feature = "optional_gas_refund")] {
self.disable_gas_refund
} else {
false
}
}
}

fn is_block_gas_limit_disabled(&self) -> bool {
cfg_if::cfg_if! {
if #[cfg(feature = "optional_block_gas_limit")] {
Expand Down