forked from cerc-io/laconicd-deprecated
fix: fix the client test issues
This commit is contained in:
parent
007e27dcbc
commit
e5cad8c48b
@ -24,7 +24,7 @@ const ExpiryTimeAttributeName = "expiryTime"
|
|||||||
func getGQLCoin(coin sdk.Coin) *Coin {
|
func getGQLCoin(coin sdk.Coin) *Coin {
|
||||||
gqlCoin := Coin{
|
gqlCoin := Coin{
|
||||||
Type: coin.Denom,
|
Type: coin.Denom,
|
||||||
Quantity: coin.Amount.String(),
|
Quantity: coin.Amount.BigInt().String(),
|
||||||
}
|
}
|
||||||
|
|
||||||
return &gqlCoin
|
return &gqlCoin
|
||||||
|
2
init.sh
2
init.sh
@ -111,4 +111,4 @@ if [[ $1 == "pending" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Start the node (remove the --pruning=nothing flag if historical queries are not needed)
|
# 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
|
||||||
|
@ -2,6 +2,7 @@ package types
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
||||||
|
"github.com/cosmos/cosmos-sdk/types/tx"
|
||||||
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -23,4 +24,9 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
|
|||||||
(*ExtensionOptionsWeb3TxI)(nil),
|
(*ExtensionOptionsWeb3TxI)(nil),
|
||||||
&ExtensionOptionsWeb3Tx{},
|
&ExtensionOptionsWeb3Tx{},
|
||||||
)
|
)
|
||||||
|
registry.RegisterInterface(
|
||||||
|
"ethermint.types.v1.ExtensionOptionsWeb3Tx",
|
||||||
|
(*tx.TxExtensionOptionI)(nil),
|
||||||
|
&ExtensionOptionsWeb3Tx{},
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user