Closed the-frey closed 2 years ago
Open question: cannot rule out that the call in the contract itself to send the fee is at fault.
Error is:
Error: Error when broadcasting tx 998694C4D603272F08582B1E7DC0B8697CE624683381FF763B8326166EA9B817 at height 60. Code: 5; Raw log:
github.com/cosmos/cosmos-sdk/x/bank/keeper.BaseSendKeeper.subUnlockedCoins
github.com/cosmos/cosmos-sdk@v0.44.5/x/bank/keeper/send.go:187
github.com/cosmos/cosmos-sdk/x/bank/keeper.BaseSendKeeper.SendCoins
github.com/cosmos/cosmos-sdk@v0.44.5/x/bank/keeper/send.go:134
github.com/cosmos/cosmos-sdk/x/bank/keeper.msgServer.Send
github.com/cosmos/cosmos-sdk@v0.44.5/x/bank/keeper/msg_server.go:46
github.com/cosmos/cosmos-sdk/x/bank/types._Msg_Send_Handler.func1
github.com/cosmos/cosmos-sdk@v0.44.5/x/bank/types/tx.pb.go:321
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2.1
github.com/cosmos/cosmos-sdk@v0.44.5/baseapp/msg_service_router.go:113
github.com/cosmos/cosmos-sdk/x/bank/types._Msg_Send_Handler
github.com/cosmos/cosmos-sdk@v0.44.5/x/bank/types/tx.pb.go:323
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2
github.com/cosmos/cosmos-sdk@v0.44.5/baseapp/msg_service_router.go:117
github.com/CosmWasm/wasmd/x/wasm/keeper.SDKMessageHandler.handleSdkMessage
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/handler_plugin.go:101
github.com/CosmWasm/wasmd/x/wasm/keeper.SDKMessageHandler.DispatchMsg
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/handler_plugin.go:68
github.com/CosmWasm/wasmd/x/wasm/keeper.MessageHandlerChain.DispatchMsg
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/handler_plugin.go:145
github.com/CosmWasm/wasmd/x/wasm/keeper.MessageDispatcher.DispatchSubmessages
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/msg_dispatcher.go:99
github.com/CosmWasm/wasmd/x/wasm/keeper.DefaultWasmVMContractResponseHandler.Handle
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/keeper.go:1026
github.com/CosmWasm/wasmd/x/wasm/keeper.(*Keeper).handleContractResponse
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/keeper.go:844
github.com/CosmWasm/wasmd/x/wasm/keeper.Keeper.execute
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/keeper.go:364
github.com/CosmWasm/wasmd/x/wasm/keeper.PermissionedKeeper.Execute
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/contract_keeper.go:49
github.com/CosmWasm/wasmd/x/wasm/keeper.msgServer.ExecuteContract
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/keeper/msg_server.go:93
github.com/CosmWasm/wasmd/x/wasm/types._Msg_ExecuteContract_Handler.func1
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/types/tx.pb.go:783
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2.1
github.com/cosmos/cosmos-sdk@v0.44.5/baseapp/msg_service_router.go:113
github.com/CosmWasm/wasmd/x/wasm/types._Msg_ExecuteContract_Handler
github.com/CosmWasm/wasmd@v0.20.0/x/wasm/types/tx.pb.go:785
github.com/cosmos/cosmos-sdk/baseapp.(*MsgServiceRouter).RegisterService.func2
github.com/cosmos/cosmos-sdk@v0.44.5/baseapp/msg_service_router.go:117
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runMsgs
github.com/cosmos/cosmos-sdk@v0.44.5/baseapp/baseapp.go:719
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx
github.com/cosmos/cosmos-sdk@v0.44.5/baseapp/baseapp.go:679
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).DeliverTx
github.com/cosmos/cosmos-sdk@v0.44.5/baseapp/abci.go:275
github.com/tendermint/tendermint/abci/client.(*localClient).DeliverTxAsync
github.com/tendermint/tendermint@v0.34.15/abci/client/local_client.go:93
github.com/tendermint/tendermint/proxy.(*appConnConsensus).DeliverTxAsync
github.com/tendermint/tendermint@v0.34.15/proxy/app_conn.go:85
github.com/tendermint/tendermint/state.execBlockOnProxyApp
github.com/tendermint/tendermint@v0.34.15/state/execution.go:320
github.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock
github.com/tendermint/tendermint@v0.34.15/state/execution.go:140
github.com/tendermint/tendermint/consensus.(*State).finalizeCommit
github.com/tendermint/tendermint@v0.34.15/consensus/state.go:1635
github.com/tendermint/tendermint/consensus.(*State).tryFinalizeCommit
github.com/tendermint/tendermint@v0.34.15/consensus/state.go:1546
github.com/tendermint/tendermint/consensus.(*State).enterCommit.func1
github.com/tendermint/tendermint@v0.34.15/consensus/state.go:1481
failed to execute message; message index: 0: dispatch: submessages: 0ujunox is smaller than 500000ujunox: insufficient funds
at SigningCosmWasmClient.execute (signingcosmwasmclient.js?c581:181)
Think it's pretty straightforward: the amount needs sending to pay for the mint.
Now a fee has been introduced for minting, the frontend can't mint. Needs fixing.