Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transactions with fees fail on GoS 5 #3482

Closed
3 of 4 tasks
zmanian opened this issue Feb 2, 2019 · 1 comment
Closed
3 of 4 tasks

Transactions with fees fail on GoS 5 #3482

zmanian opened this issue Feb 2, 2019 · 1 comment
Labels

Comments

@zmanian
Copy link
Member

zmanian commented Feb 2, 2019

Sending a transactions with fees fails on Game of Stakes.

seems to be some interaction between Vesting and fees

recovered: runtime error: index out of range
stack:
goroutine 731 [running]:
runtime/debug.Stack(0xc004c81368, 0xeb0ea0, 0x1a20450)
/snap/go/3129/src/runtime/debug/stack.go:24 +0xa7
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx.func1(0xc004c82d68, 0xc004c82ad8, 0xc004c82b00)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:725 +0xb9
panic(0xeb0ea0, 0x1a20450)
/snap/go/3129/src/runtime/panic.go:513 +0x1b9
github.com/cosmos/cosmos-sdk/x/auth.NewAnteHandler.func1.1(0xc004c82a18, 0xc000ab66f0, 0x1, 0x1, 0xc002d984a0, 0x1, 0x1, 0x30d40, 0xc006dfc660, 0x1, ...)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/x/auth/ante.go:63 +0x26b
panic(0xeb0ea0, 0x1a20450)
/snap/go/3129/src/runtime/panic.go:513 +0x1b9
github.com/cosmos/cosmos-sdk/x/auth.BaseVestingAccount.spendableCoins(0xc003a40370, 0xc002d98bc0, 0x1, 0x1, 0xc002d98ca0, 0x1, 0x1, 0x0, 0x0, 0x0, ...)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/x/auth/account.go:225 +0x41d
github.com/cosmos/cosmos-sdk/x/auth.ContinuousVestingAccount.SpendableCoins(0xc00322be00, 0x5c536a68, 0x0, 0x0, 0x0, 0x2, 0x2, 0xc006dfccc0)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/x/auth/account.go:451 +0xc8
github.com/cosmos/cosmos-sdk/x/auth.DeductFees(0x0, 0x0, 0x0, 0x1258de0, 0xc000ab6760, 0xc002d984a0, 0x1, 0x1, 0x30d40, 0x0, ...)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/x/auth/ante.go:280 +0x192
github.com/cosmos/cosmos-sdk/x/auth.NewAnteHandler.func1(0x124ed00, 0xc006dfc9c0, 0xc0009f5940, 0x11, 0x1248d80, 0xc00322b980, 0x0, 0x124ed00, 0xc006dfcae0, 0xc0009f5940, ...)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/x/auth/ante.go:89 +0xe13
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).runTx(0xc0004d5000, 0x0, 0xc004bd6000, 0xa8, 0xa8, 0x1248d80, 0xc00322b980, 0x0, 0x0, 0x0, ...)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:771 +0x4f2
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).CheckTx(0xc0004d5000, 0xc004bd6000, 0xa8, 0xa8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/baseapp/baseapp.go:537 +0x263
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/abci/client.(*localClient).CheckTxAsync(0xc0000bba40, 0xc004bd6000, 0xa8, 0xa8, 0x0)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/abci/client/local_client.go:99 +0xc5
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/proxy.(*appConnMempool).CheckTxAsync(0xc000ab6a80, 0xc004bd6000, 0xa8, 0xa8, 0x1)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/proxy/app_conn.go:114 +0x51
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/mempool.(*Mempool).CheckTx(0xc0004cd4a0, 0xc004bd6000, 0xa8, 0xa8, 0xc000ab6670, 0x0, 0x0)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/mempool/mempool.go:352 +0x197
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/core.BroadcastTxCommit(0xc004bd6000, 0xa8, 0xa8, 0x0, 0x0, 0x0)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/core/mempool.go:195 +0x3bf
reflect.Value.call(0xe87c80, 0x1154ba0, 0x13, 0xfe0238, 0x4, 0xc002d981e0, 0x1, 0x1, 0x1, 0x0, ...)
/snap/go/3129/src/reflect/value.go:447 +0x454
reflect.Value.Call(0xe87c80, 0x1154ba0, 0x13, 0xc002d981e0, 0x1, 0x1, 0x1, 0x1, 0x0)
/snap/go/3129/src/reflect/value.go:308 +0xa4
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server.makeJSONRPCHandler.func1(0x124d400, 0xc002d98180, 0xc0004d4a00)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server/handlers.go:145 +0x497
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server.handleInvalidJSONRPCPaths.func1(0x124d400, 0xc002d98180, 0xc0004d4a00)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server/handlers.go:165 +0x7e
net/http.HandlerFunc.ServeHTTP(0xc000a9abc0, 0x124d400, 0xc002d98180, 0xc0004d4a00)
/snap/go/3129/src/net/http/server.go:1964 +0x44
net/http.(*ServeMux).ServeHTTP(0xc0011b33e0, 0x124d400, 0xc002d98180, 0xc0004d4a00)
/snap/go/3129/src/net/http/server.go:2361 +0x127
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server.maxBytesHandler.ServeHTTP(0x1243ac0, 0xc0011b33e0, 0xf4240, 0x124d400, 0xc002d98180, 0xc0004d4a00)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server/http_server.go:178 +0xcf
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server.RecoverAndLogHandler.func1(0x124db00, 0xc0001569a0, 0xc0004d4a00)
/home/zaki/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/rpc/lib/server/http_server.go:151 +0x25e
net/http.HandlerFunc.ServeHTTP(0xc001208000, 0x124db00, 0xc0001569a0, 0xc0004d4a00)
/snap/go/3129/src/net/http/server.go:1964 +0x44
net/http.serverHandler.ServeHTTP(0xc000aa0000, 0x124db00, 0xc0001569a0, 0xc0004d4a00)
/snap/go/3129/src/net/http/server.go:2741 +0xab
net/http.(*conn).serve(0xc004aa8280, 0x124ec40, 0xc0033ec0c0)
/snap/go/3129/src/net/http/server.go:1847 +0x646
created by net/http.(*Server).Serve
/snap/go/3129/src/net/http/server.go:2851 +0x2f5

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@alexanderbez
Copy link
Contributor

closed by #3486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants