fix: fix the client test issues

This commit is contained in:
Sai Kumar 2022-06-02 13:23:03 +05:30
parent 007e27dcbc
commit e5cad8c48b
3 changed files with 8 additions and 2 deletions

View File

@ -24,7 +24,7 @@ const ExpiryTimeAttributeName = "expiryTime"
func getGQLCoin(coin sdk.Coin) *Coin {
gqlCoin := Coin{
Type: coin.Denom,
Quantity: coin.Amount.String(),
Quantity: coin.Amount.BigInt().String(),
}
return &gqlCoin

View File

@ -111,4 +111,4 @@ if [[ $1 == "pending" ]]; then
fi
# Start the node (remove the --pruning=nothing flag if historical queries are not needed)
chibaclonkd start --pruning=nothing --evm.tracer=json $TRACE --log_level $LOGLEVEL --minimum-gas-prices=0.0001aphoton --json-rpc.api eth,txpool,personal,net,debug,web3,miner --api.enable --gql-server --gql-playground
chibaclonkd start --mode validator --pruning=nothing --evm.tracer=json $TRACE --log_level $LOGLEVEL --minimum-gas-prices=0.0001aphoton --json-rpc.api eth,txpool,personal,net,debug,web3,miner --api.enable --gql-server --gql-playground

View File

@ -2,6 +2,7 @@ package types
import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/types/tx"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
)
@ -23,4 +24,9 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
(*ExtensionOptionsWeb3TxI)(nil),
&ExtensionOptionsWeb3Tx{},
)
registry.RegisterInterface(
"ethermint.types.v1.ExtensionOptionsWeb3Tx",
(*tx.TxExtensionOptionI)(nil),
&ExtensionOptionsWeb3Tx{},
)
}