github.com/jonkofee/go-ethereum@v1.11.1/eth/backend_arbitrum.go (about) 1 package eth 2 3 import ( 4 "github.com/jonkofee/go-ethereum/core" 5 "github.com/jonkofee/go-ethereum/core/state" 6 "github.com/jonkofee/go-ethereum/core/types" 7 "github.com/jonkofee/go-ethereum/core/vm" 8 "github.com/jonkofee/go-ethereum/ethdb" 9 ) 10 11 func NewArbEthereum( 12 blockchain *core.BlockChain, 13 chainDb ethdb.Database, 14 ) *Ethereum { 15 return &Ethereum{ 16 blockchain: blockchain, 17 chainDb: chainDb, 18 } 19 } 20 21 func (eth *Ethereum) StateAtTransaction(block *types.Block, txIndex int, reexec uint64) (core.Message, vm.BlockContext, *state.StateDB, error) { 22 return eth.stateAtTransaction(block, txIndex, reexec) 23 }