rpc: protocol version (#575)

* evm: protocol version

* changelog

* version

* fix

* support latest version only
This commit is contained in:
Federico Kunze
2020-12-08 20:51:26 +01:00
committed by GitHub
parent 3bb76e8533
commit ef1bef16e5
10 changed files with 20 additions and 60 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ import (
ethtypes "github.com/ethereum/go-ethereum/core/types"
rpctypes "github.com/cosmos/ethermint/rpc/types"
"github.com/cosmos/ethermint/version"
ethermint "github.com/cosmos/ethermint/types"
)
const (
@@ -258,7 +258,7 @@ func TestEth_GetTransactionLogs(t *testing.T) {
}
func TestEth_protocolVersion(t *testing.T) {
expectedRes := hexutil.Uint(version.ProtocolVersion)
expectedRes := hexutil.Uint(ethermint.ProtocolVersion)
rpcRes := call(t, "eth_protocolVersion", []string{})