You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement testes for some or all of the Solidity functions/properties below:
blockhash(uint blockNumber) returns (bytes32): hash of the given block - only works for 256 most recent blocks
block.basefee (uint): current block’s base fee (EIP-3198 and EIP-1559)
block.chainid (uint): current chain id
block.coinbase (address payable): current block miner’s address
block.difficulty (uint): current block difficulty (EVM < Paris). For other EVM versions it behaves as a deprecated alias for block.prevrandao that will be removed in the next breaking release
block.gaslimit (uint): current block gaslimit
block.number (uint): current block number
block.timestamp (uint): current block timestamp in seconds since Unix epoch
gasleft() returns (uint256): remaining gas
msg.data (bytes): complete calldata
msg.sender (address): sender of the message (current call)
msg.sig (bytes4): first four bytes of the calldata (i.e. function identifier)
msg.value (uint): number of wei sent with the message
tx.gasprice (uint): gas price of the transaction
tx.origin (address): sender of the transaction (full call chain)
Eventually some of them might be missing implementation, which needs to be addresses as a new enhacement issue
The text was updated successfully, but these errors were encountered:
Implement testes for some or all of the Solidity functions/properties below:
blockhash(uint blockNumber) returns (bytes32)
: hash of the given block - only works for 256 most recent blocksblock.basefee (uint)
: current block’s base fee (EIP-3198 and EIP-1559)block.chainid (uint)
: current chain idblock.coinbase (address payable)
: current block miner’s addressblock.difficulty (uint)
: current block difficulty (EVM < Paris). For other EVM versions it behaves as a deprecated alias for block.prevrandao that will be removed in the next breaking releaseblock.gaslimit (uint)
: current block gaslimitblock.number (uint)
: current block numberblock.timestamp (uint)
: current block timestamp in seconds since Unix epochgasleft() returns (uint256)
: remaining gasmsg.data (bytes)
: complete calldatamsg.sender (address)
: sender of the message (current call)msg.sig (bytes4)
: first four bytes of the calldata (i.e. function identifier)msg.value (uint)
: number of wei sent with the messagetx.gasprice (uint)
: gas price of the transactiontx.origin (address)
: sender of the transaction (full call chain)Eventually some of them might be missing implementation, which needs to be addresses as a new enhacement issue
The text was updated successfully, but these errors were encountered: