diff --git a/server/config/config.go b/server/config/config.go index 18647420..023e5a62 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -183,9 +183,9 @@ func GetAPINamespaces() []string { // DefaultJSONRPCConfig returns an EVM config with the JSON-RPC API enabled by default func DefaultJSONRPCConfig() *JSONRPCConfig { return &JSONRPCConfig{ - Enable: true, - API: GetDefaultAPINamespaces(), - // Address: DefaultJSONRPCAddress, + Enable: true, + API: GetDefaultAPINamespaces(), + Address: DefaultJSONRPCAddress, WsAddress: DefaultJSONRPCWsAddress, GasCap: DefaultGasCap, EVMTimeout: DefaultEVMTimeout, diff --git a/server/config/config_test.go b/server/config/config_test.go index 557224c1..9a19e3e9 100644 --- a/server/config/config_test.go +++ b/server/config/config_test.go @@ -9,6 +9,6 @@ import ( func TestDefaultConfig(t *testing.T) { cfg := DefaultConfig() require.True(t, cfg.JSONRPC.Enable) - // require.Equal(t, cfg.JSONRPC.Address, DefaultJSONRPCAddress) + require.Equal(t, cfg.JSONRPC.Address, DefaultJSONRPCAddress) require.Equal(t, cfg.JSONRPC.WsAddress, DefaultJSONRPCWsAddress) } diff --git a/x/auction/client/testutil/cli_test.go b/x/auction/client/testutil/cli_test.go index 51ff27df..6b027215 100644 --- a/x/auction/client/testutil/cli_test.go +++ b/x/auction/client/testutil/cli_test.go @@ -10,7 +10,7 @@ import ( func TestIntegrationTestSuite(t *testing.T) { cfg := network.DefaultConfig() - cfg.NumValidators = 2 + cfg.NumValidators = 1 suite.Run(t, NewIntegrationTestSuite(cfg)) } diff --git a/x/bond/client/testutil/cli_test.go b/x/bond/client/testutil/cli_test.go index 7c53f915..26939954 100644 --- a/x/bond/client/testutil/cli_test.go +++ b/x/bond/client/testutil/cli_test.go @@ -9,6 +9,6 @@ import ( func TestIntegrationTestSuite(t *testing.T) { cfg := network.DefaultConfig() - cfg.NumValidators = 2 + cfg.NumValidators = 1 suite.Run(t, NewIntegrationTestSuite(cfg)) } diff --git a/x/nameservice/client/testutil/cli_test.go b/x/nameservice/client/testutil/cli_test.go index 7c53f915..26939954 100644 --- a/x/nameservice/client/testutil/cli_test.go +++ b/x/nameservice/client/testutil/cli_test.go @@ -9,6 +9,6 @@ import ( func TestIntegrationTestSuite(t *testing.T) { cfg := network.DefaultConfig() - cfg.NumValidators = 2 + cfg.NumValidators = 1 suite.Run(t, NewIntegrationTestSuite(cfg)) }