Struct revm::BlockEnv [−][src]
pub struct BlockEnv {
pub gas_limit: U256,
pub number: U256,
pub coinbase: H160,
pub timestamp: U256,
pub difficulty: U256,
pub basefee: U256,
pub gas_used: U256,
}
Fields
gas_limit: U256
number: U256
somebody call it nonce
coinbase: H160
Coinbase or miner or address that created and signed the block. Address where we are going to send gas spend
timestamp: U256
difficulty: U256
basefee: U256
basefee is added in EIP1559 London upgrade
gas_used: U256
incrementaly added on every transaction. It can be cleared if needed
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlockEnv
impl UnwindSafe for BlockEnv
Blanket Implementations
Mutably borrows from an owned value. Read more