- {test name} - {test description
- getAddress - Transaction to account with code which calls
getAddress
and stores the result to storage
- getBlockHash - Transaction to account with code which calls
getBlockHash
with a value of 0 and stores the result to storage
- getCaller - Transaction to account with code which calls
getBlockHash
with a value of 0 and stores the result to storage. Expect the result to be Genesis block hash
- getCodeSize - Transaction to account with code which calls
getCodeSize
and stores the result to storage. Expect the result to be the length of the account's code
- getBlockDifficulty - Transaction to account with code which calls
getBlockDifficulty
and stores the result to storage. Expect the result to be predefined difficulty
- getGasLeft - Transaction to account with code which calls
useGas(1000000)
, thengetGasLeft
and stores the result to storage. Expectresulting_gas = gasLimit - 1000000 - base_tx_cost
- getBlockNumber - Transaction to account with code which calls
getBlockNumber
, and stores the result to storage. Expect predefined block number1
to be stored in storage.
- selfDestruct - Transaction to account which
selfDestruct
s to the transaction originator. Expect that the transaction originator receives the funds from the self-destructed account and the self-destructed account doesn't exist after the transaction is complete.
- useGas - Transaction to account which calls
useGas(1000)
. Expect that the account which received the transaction hasbalance=balance-(1000+metered_code_cost)
- getCallDataSize - Transaction (containing large amount of data) to an account with code that calls
getCallDataSize
and stores the result to storage. Expect that the value stored is equal to the size of the call data passed with the transaction.
- getBalanceExt - Transaction to an account with code which calls
getBalance
on an account other than itself - getBalance - Transaction to an account with code which calls
getBalance
on itself
- call - Transaction to an account which calls another account which stores a value to storage
- storageLoad - Transaction to an account with code that loads a value already stored in storage and stores it in another storage location.
- codeCopy - Transaction to an account with code which copies 10 bytes from the account's code and stores them in storage.
- extCodeCopy - Transaction to an account with code which copies 10 bytes from the code of another account and stores them in storage.
- getBlockGasLimit - Transaction to an account with code which calls
getBlockGasLimit
and stores the result to storage.
- getTxGasPrice - Transaction to an account with code which calls
getTxGasPrice
and stores the result to storage.
- getTxOrigin - Transaction to an account with code which calls
getTxOrigin
and stores the result to storage.
- getBlockTimestamp - Transaction to an account with code which calls
getTxOrigin
and stores the result to storage.
- callDataCopy - Transaction with data to an account with code which calls
callDataCopy
and stores the result to storage.
- callCode - Transaction with data to an account with code which calls
callCode
with the code of another account. The code stores a value to storage. The contract which invoked thecallCode
also stores the return value fromcallCode
in storage to ensure the call is successful.
- getCallValue - Transaction with value to an account which calls
getCallValue
and stores the value passed to storage.
- getBlockCoinbase - Transaction with value to an account which calls
getBlockCoinbase
and stores the value passed to storage.
- getBlockCoinbase - Transaction to account which calls
getExternalCodeSize
with its own address, stores the result to storage, then callsgetExternalCodeSize
with another account's address and stores the result to another storage location.