Comments (15)
same for me with gaiad v2.0.1 (SDK version v0.37.1)
from gaia.
The installation guide you've posted is correct in that it describes how to install Gaia. However, you're most likely running into your own errors from a previous testnet. I would recommend either starting a fresh new node or attempting a gaiad unsafe-reset-all
.
I was able to successfully launch a fresh new node using the testnet genesis with gaia v1.0.0
from gaia.
The installation guide you've posted is correct in that it describes how to install Gaia. However, you're most likely running into your own errors from a previous testnet. I would recommend either starting a fresh new node or attempting a
gaiad unsafe-reset-all
.I was able to successfully launch a fresh new node using the testnet genesis with gaia v1.0.0
Now i switched back to use cosmos SDK v0.34.7, ant it works. But for Gaia, with mainnet, i never succeed.
from gaia.
You're using this for mainnet?? If so, you're using the wrong version. Please read the launch info
from gaia.
Hi @jtomtan did you manage to run the mainnet?
from gaia.
I have the same problem.
"panic: stored supply should not have been nil".
unsafe-reset-all does not do the trick. I will try cosmos SDK v0.34.7 as jtomtan mentioned.
from gaia.
The README states that the mainnet runs on version v0.34.7 of the SDK. The upcoming major upgrade will support v2.0.0
from gaia.
I'm getting the same issue with v0.37.3 for sdk-application-tutorial
Any ideas?
from gaia.
@tuckermint I recall there were issues with the tutorial not initializing/using the supply module correctly. I think it's since been solved. Correct me if I'm wrong @marbar3778.
from gaia.
Getting the same with gaiad v2.0.2. Is this still not supposed to work with mainnet?
Summary of Bug
~/.opt/gaia tags/v2.0.2
❯ gaiad start
I[2019-10-23|09:03:24.269] starting ABCI with Tendermint module=main
panic: stored supply should not have been nil
goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/x/supply/internal/keeper.Keeper.GetSupply(0xc00013c2a0, 0x15712c0, 0xc00094d100, 0x1581300, 0xc00013cfc0, 0x7f483cd9f3e8, 0xc00139c0e0, 0xc0008758c0, 0x1580400, 0xc0000be030, ...)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/x/supply/internal/keeper/keeper.go:50 +0x18f
github.com/cosmos/cosmos-sdk/x/supply/internal/keeper.TotalSupply.func1(0x1580400, 0xc0000be030, 0x1590f40, 0xc0009c5480, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/x/supply/internal/keeper/invariants.go:27 +0xe7
github.com/cosmos/cosmos-sdk/x/crisis/internal/keeper.Keeper.AssertInvariants(0xc00013bb80, 0xb, 0x10, 0xc00013c2a0, 0x15712c0, 0xc00094d150, 0x1571300, 0xc00094d170, 0xc0009516c0, 0x6, ...)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/x/crisis/internal/keeper/keeper.go:74 +0x36d
github.com/cosmos/cosmos-sdk/x/crisis.AppModule.InitGenesis(0xc000139328, 0x1580400, 0xc0000be030, 0x1590f40, 0xc0009c5480, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/x/crisis/module.go:113 +0x2dd
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(0xc00013d3b0, 0x1580400, 0xc0000be030, 0x1590f40, 0xc0009c5480, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/types/module/module.go:258 +0x278
github.com/cosmos/gaia/app.(*GaiaApp).InitChainer(0xc000138f00, 0x1580400, 0xc0000be030, 0x1590f40, 0xc0009c5480, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/user/.opt/gaia/app/app.go:247 +0x11d
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc0001625a0, 0x0, 0xed44fea10, 0x0, 0xc00094e2b0, 0xb, 0xc0009c53c0, 0xc000a9f000, 0x63, 0x63, ...)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/baseapp/baseapp.go:400 +0x2c7
github.com/tendermint/tendermint/abci/client.(*localClient).InitChainSync(0xc000083e00, 0x0, 0xed44fea10, 0x0, 0xc00094e2b0, 0xb, 0xc0009c53c0, 0xc000a9f000, 0x63, 0x63, ...)
/home/user/go/pkg/mod/github.com/tendermint/[email protected]/abci/client/local_client.go:223 +0x101
github.com/tendermint/tendermint/proxy.(*appConnConsensus).InitChainSync(0xc00094d920, 0x0, 0xed44fea10, 0x0, 0xc00094e2b0, 0xb, 0xc0009c53c0, 0xc000a9f000, 0x63, 0x63, ...)
/home/user/go/pkg/mod/github.com/tendermint/[email protected]/proxy/app_conn.go:65 +0x6b
github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(0xc001d990c0, 0xa, 0x0, 0xc00094fec0, 0x6, 0xc00094fef0, 0xb, 0x0, 0x0, 0x0, ...)
/home/user/go/pkg/mod/github.com/tendermint/[email protected]/consensus/replay.go:311 +0x666
github.com/tendermint/tendermint/consensus.(*Handshaker).Handshake(0xc001d990c0, 0x15937c0, 0xc00013dce0, 0x80, 0x1021e20)
/home/user/go/pkg/mod/github.com/tendermint/[email protected]/consensus/replay.go:269 +0x485
github.com/tendermint/tendermint/node.doHandshake(0x1592d40, 0xc00006a208, 0xa, 0x0, 0xc00094fec0, 0x6, 0xc00094fef0, 0xb, 0x0, 0x0, ...)
/home/user/go/pkg/mod/github.com/tendermint/[email protected]/node/node.go:275 +0x199
github.com/tendermint/tendermint/node.NewNode(0xc00015a780, 0x157b100, 0xc000879360, 0xc00094d4c0, 0x1561860, 0xc0009536c0, 0xc00094d730, 0x13aa960, 0xc00094d740, 0x1580dc0, ...)
/home/user/go/pkg/mod/github.com/tendermint/[email protected]/node/node.go:582 +0x334
github.com/cosmos/cosmos-sdk/server.startInProcess(0xc00049cf40, 0x13ab180, 0x1d, 0x0, 0x0)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/server/start.go:152 +0x4c1
github.com/cosmos/cosmos-sdk/server.StartCmd.func1(0xc0009bf680, 0x1dda908, 0x0, 0x0, 0x0, 0x0)
/home/user/go/pkg/mod/github.com/cosmos/[email protected]/server/start.go:65 +0xb4
github.com/spf13/cobra.(*Command).execute(0xc0009bf680, 0x1dda908, 0x0, 0x0, 0xc0009bf680, 0x1dda908)
/home/user/go/pkg/mod/github.com/spf13/[email protected]/command.go:826 +0x460
github.com/spf13/cobra.(*Command).ExecuteC(0xc00013a000, 0x11d3040, 0xc000af9ea0, 0x59e172)
/home/user/go/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
/home/user/go/pkg/mod/github.com/spf13/[email protected]/command.go:864
github.com/tendermint/tendermint/libs/cli.Executor.Execute(0xc00013a000, 0x13ab5a0, 0x11b871b, 0x10)
/home/user/go/pkg/mod/github.com/tendermint/[email protected]/libs/cli/setup.go:89 +0x3c
main.main()
/home/user/.opt/gaia/cmd/gaiad/main.go:68 +0x875
Version
~/.opt/gaia tags/v2.0.2
❯ gaiad version --long
name: gaia
server_name: gaiad
client_name: gaiacli
version: 2.0.2
commit: aa91fa08505ea072acd81fbe36845adad7f6177f
build_tags: netgo,ledger
go: go version go1.13.1 linux/amd64
from gaia.
Again, no. There has not been a successful upgrade yet. You'll know when the network upgrades. Any block explorer will show you. Also, the launch
repo will state the current version as well.
from gaia.
Thanks. I'm new to cosmos and the migration seems to send users through loops in the documentation. I managed to compile 0.34.9 and it works with mainnet.
from gaia.
Also stumbled onto the same error, you have to use the latest version of cosmos sdk 0.34.x in order to get a running node connected to the mainnet. Would be nice if this would be stated more clearly in the documentation
from gaia.
Also stumbled onto the same error, you have to use the latest version of cosmos sdk 0.34.x in order to get a running node connected to the mainnet. Would be nice if this would be stated more clearly in the documentation
It's stated in multiple places:
- This repo's README
- Launch repo
from gaia.
same for me, Gaia. v2.0.3. github.com/cosmos/cosmos-sdk v0.37.4
how to fix it ?
from gaia.
Related Issues (20)
- I need to do a hot change of feemarket... HOT 3
- [question]: Unable to get the latest list of proposals through the restful interface HOT 2
- [Docs]: update build and run docs for CosmWasm HOT 1
- upgrade PSS to SDK v0.50.0 (ICS v5.1.0) HOT 1
- Jailed validator HOT 4
- [feature request]: gaia container image is outdated since 2 years HOT 6
- [Docs]: Security Audit HOT 1
- [Bug]: Node binary should quit with status code 1 when a fatal error occurs. It currently does not. HOT 7
- [Question]: Atom Node Not Syncing with Gaia 17.1.0 HOT 3
- [Docs]: update repo readme file
- [Bug]: "grpc: received message larger than max" when get specified tx info HOT 3
- cosmos-sdk v50.x with LSM HOT 1
- [Epic]: Gaia v19.0.0
- [Epic]: Gaia v20.0.0
- docs: governance/parameters docs do not reflect actual on chain parameters HOT 1
- Error when testing sending transactions on v18.1.0 HOT 4
- UX: IBC forwarding for transactions HOT 5
- Testing: add interchaintest powered e2e tests and reproducible docker builds
- ATOM Node not working after upgrade to 18.1.0 HOT 8
- [Question] The transaction failed to be uploaded to the chain. Unable to update fee market state: block utilization of 30035129 cannot exceed max block utilization of 30000000 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaia.