-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cheatcode to set block.blobbasefee
#7002
Labels
Comments
i'm unable to found the blobbasefee field, is it normal ? i'm blocked here impl Cheatcode for blobBaseFeeCall {
fn apply_full<DB: DatabaseExt>(&self, ccx: &mut CheatsCtxt<DB>) -> Result {
let Self { newBlobBaseFee } = self;
ensure!(
ccx.data.env.cfg.spec_id >= SpecId::CANCUN,
"`blobBaseFee` is not supported before the Cancun hard fork; \
see relevant EIP for blob base fee"
);
// there isn't any blobbasefee field here, where can i found it ?
//ccx.data.env.block. = *newBlobBaseFee;
Ok(Default::default())
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Component
Forge
Describe the feature you would like
Add a cheatcode to set
block. blobbasefee
, similar to how we can set other block fields.This is a new field on
block
in Solidity 0.8.24, only available in Cancun.Additional context
No response
The text was updated successfully, but these errors were encountered: