diff --git a/go/enclave/components/batch_executor.go b/go/enclave/components/batch_executor.go index 29dafad719..d549eee85b 100644 --- a/go/enclave/components/batch_executor.go +++ b/go/enclave/components/batch_executor.go @@ -100,7 +100,7 @@ func (executor *batchExecutor) payL1Fees(stateDB *state.StateDB, context *BatchE } stateDB.SubBalance(*sender, cost) stateDB.AddBalance(context.Creator, cost) - //todo - add refund logic. + // todo - add refund logic. transactions = append(transactions, tx) } @@ -288,7 +288,7 @@ func (executor *batchExecutor) CreateGenesisState( Time: timeNow, Coinbase: coinbase, BaseFee: baseFee, - GasLimit: limit, //todo (@siliev) - does the batch header need uint64? + GasLimit: limit, // todo (@siliev) - does the batch header need uint64? }, Transactions: []*common.L2Tx{}, } diff --git a/go/enclave/evm/evm_facade.go b/go/enclave/evm/evm_facade.go index 2875154edb..b4e87e975a 100644 --- a/go/enclave/evm/evm_facade.go +++ b/go/enclave/evm/evm_facade.go @@ -147,7 +147,7 @@ func ExecuteObsCall( chainConfig *params.ChainConfig, logger gethlog.Logger, ) (*gethcore.ExecutionResult, error) { - var noBaseFee = true + noBaseFee := true if header.BaseFee != nil && header.BaseFee.Cmp(gethcommon.Big0) != 0 && msg.GasPrice.Cmp(gethcommon.Big0) != 0 { noBaseFee = false logger.Info("ObsCall - with base fee ", "to", msg.To.Hex()) diff --git a/go/enclave/l2chain/l2_chain.go b/go/enclave/l2chain/l2_chain.go index 1dbb2d5f8f..8804a6b449 100644 --- a/go/enclave/l2chain/l2_chain.go +++ b/go/enclave/l2chain/l2_chain.go @@ -119,7 +119,6 @@ func (oc *obscuroChain) ObsCall(apiArgs *gethapi.TransactionArgs, blockNumber *g } func (oc *obscuroChain) ObsCallAtBlock(apiArgs *gethapi.TransactionArgs, blockNumber *gethrpc.BlockNumber) (*gethcore.ExecutionResult, error) { - // fetch the chain state at given batch blockState, err := oc.Registry.GetBatchStateAtHeight(blockNumber) if err != nil { diff --git a/integration/networktest/tests/helpful/spin_up_local_network_test.go b/integration/networktest/tests/helpful/spin_up_local_network_test.go index 7045d08886..77d308723b 100644 --- a/integration/networktest/tests/helpful/spin_up_local_network_test.go +++ b/integration/networktest/tests/helpful/spin_up_local_network_test.go @@ -30,7 +30,6 @@ const ( ) func TestRunLocalNetwork(t *testing.T) { - networktest.TestOnlyRunsInIDE(t) networktest.EnsureTestLogsSetUp("local-geth-network") networkConnector, cleanUp, err := env.LocalDevNetwork().Prepare() if err != nil {