Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestGasUsage ¶
func TestGasUsage(t *testing.T, config *params.ChainConfig, engine consensus.Engine, bytecode []byte, initialStorage map[common.Hash]common.Hash, initialGas, expectedGasUsed uint64)
Test the gas used by running a transaction sent to a smart contract with given bytecode and storage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.