-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
test in tests/tendermint/main.go fails #2
Comments
Hmmm.... just checked this on the master/develop branch, running
testGov:
and testSequence:
I have the current master branch checked out for governmint. |
This code in the test seems to be invalid:
It is handled here (in basecoin/app/app.go):
It seems like this could never pass, as the type byte must be 0x01 or 0x02... not X. Not sure if this code even matters to be fixed, or just removed? |
@ethanfrey |
Alright, then this issue is closed. Thanks rigel! |
* add governance hooks * Update x/gov/types/hooks.go * fixed * Update x/gov/keeper/keeper.go * remove VoteOption from hooks * fix lint * remove depositAmount and add depositorAddr * fix lint * fix cosmosvisor? * sh -> gh * Apply suggestions from code review Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> Co-authored-by: ahmedaly113 <ahmedaly113@outlook.com> Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
* add governance hooks * Update x/gov/types/hooks.go * fixed * Update x/gov/keeper/keeper.go * remove VoteOption from hooks * fix lint * remove depositAmount and add depositorAddr * fix lint * fix cosmosvisor? * sh -> gh * Apply suggestions from code review Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> Co-authored-by: ahmedaly113 <ahmedaly113@outlook.com> Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
Staking integration for interchain security
docs: add MsgRevokeAll
feat(staking): customized staking design
Hi, running tests/tendermint/main.go does not work correctly.
On line 116 in github.com/tendermint/basecoin/app/app.go you have:
res = sm.ExecTx(app.cacheState, app.plugins, tx, true, nil)
The function is given the argument app.cacheState, but I dont think that cacheState is ever initialized.
Perhaps it should just be app.state?
The text was updated successfully, but these errors were encountered: