@@ -32,12 +32,26 @@ type EVM interface {
3232 DelegateCall (caller vm.ContractRef , addr common.Address , input []byte , gas uint64 ) (ret []byte , leftOverGas uint64 , err error )
3333 StaticCall (caller vm.ContractRef , addr common.Address , input []byte , gas uint64 ) (ret []byte , leftOverGas uint64 , err error )
3434 Create (caller vm.ContractRef , code []byte , gas uint64 , value * big.Int ) (ret []byte , contractAddr common.Address , leftOverGas uint64 , err error )
35- Create2 (caller vm.ContractRef , code []byte , gas uint64 , endowment * big.Int , salt * uint256.Int ) (ret []byte , contractAddr common.Address , leftOverGas uint64 , err error )
35+ Create2 (
36+ caller vm.ContractRef ,
37+ code []byte ,
38+ gas uint64 ,
39+ endowment * big.Int ,
40+ salt * uint256.Int ) (
41+ ret []byte , contractAddr common.Address , leftOverGas uint64 , err error ,
42+ )
3643 ChainConfig () * params.ChainConfig
3744
3845 ActivePrecompiles (rules params.Rules ) []common.Address
3946 Precompile (addr common.Address ) (vm.PrecompiledContract , bool )
40- RunPrecompiledContract (p StatefulPrecompiledContract , addr common.Address , input []byte , suppliedGas uint64 , value * big.Int ) (ret []byte , remainingGas uint64 , err error )
47+ RunPrecompiledContract (
48+ p StatefulPrecompiledContract ,
49+ addr common.Address ,
50+ input []byte ,
51+ suppliedGas uint64 ,
52+ value * big.Int ) (
53+ ret []byte , remainingGas uint64 , err error ,
54+ )
4155}
4256
4357// Constructor defines the function used to instantiate the EVM on
0 commit comments