laconicd-deprecated/cmd/ethermintd/config/config_test.go

15 lines
283 B
Go
Raw Normal View History

2021-04-18 16:39:15 +00:00
package config
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestDefaultConfig(t *testing.T) {
cfg := DefaultEVMConfig()
require.True(t, cfg.Enable)
require.Equal(t, cfg.RPCAddress, DefaultEVMAddress)
require.Equal(t, cfg.WsAddress, DefaultEVMWSAddress)
2021-04-18 16:39:15 +00:00
}