Skip to content

Commit 60ec002

Browse files
authored
fix(cheatcodes): allow deal on precompiles (#6182)
1 parent 799b820 commit 60ec002

File tree

1 file changed

+0
-1
lines changed
  • crates/cheatcodes/src/impls

1 file changed

+0
-1
lines changed

crates/cheatcodes/src/impls/evm.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ impl Cheatcode for warpCall {
206206
impl Cheatcode for dealCall {
207207
fn apply_full<DB: DatabaseExt>(&self, ccx: &mut CheatsCtxt<DB>) -> Result {
208208
let Self { account: address, newBalance: new_balance } = *self;
209-
ensure_not_precompile!(&address, ccx);
210209
let account = journaled_account(ccx.data, address)?;
211210
let old_balance = std::mem::replace(&mut account.info.balance, new_balance);
212211
let record = DealRecord { address, old_balance, new_balance };

0 commit comments

Comments
 (0)