Skip to content

Commit b641c58

Browse files
author
HuangYi
committed
fix test
fix config
1 parent 12caed9 commit b641c58

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

server/config/config.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,10 @@ func GetConfig(v *viper.Viper) (Config, error) {
406406
return Config{
407407
Config: cfg,
408408
EVM: EVMConfig{
409-
Tracer: v.GetString("evm.tracer"),
410-
MaxTxGasWanted: v.GetUint64("evm.max-tx-gas-wanted"),
409+
Tracer: v.GetString("evm.tracer"),
410+
MaxTxGasWanted: v.GetUint64("evm.max-tx-gas-wanted"),
411+
BlockExecutor: v.GetString("evm.block-executor"),
412+
BlockSTMWorkers: v.GetInt("evm.block-stm-workers"),
411413
},
412414
JSONRPC: JSONRPCConfig{
413415
Enable: v.GetBool("json-rpc.enable"),

x/evm/keeper/grpc_query_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
ethermint "github.com/evmos/ethermint/types"
2424
"github.com/evmos/ethermint/x/evm/statedb"
2525
"github.com/evmos/ethermint/x/evm/types"
26+
evmtypes "github.com/evmos/ethermint/x/evm/types"
2627
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
2728
"github.com/stretchr/testify/require"
2829
"github.com/stretchr/testify/suite"
@@ -460,7 +461,7 @@ func (suite *GRPCServerTestSuiteSuite) TestQueryTxLogs() {
460461
func(vmdb vm.StateDB) {
461462
expLogs = []*types.Log{
462463
{
463-
Address: suite.Address.String(),
464+
Address: evmtypes.HexAddress(suite.Address.Bytes()),
464465
Topics: []string{common.BytesToHash([]byte("topic")).String()},
465466
Data: []byte("data"),
466467
BlockNumber: 1,

0 commit comments

Comments
 (0)