Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Commit be3e9d9

Browse files
committed
lint
1 parent 1e9f7b4 commit be3e9d9

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

x/evm/vm/interface.go

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)