-
Notifications
You must be signed in to change notification settings - Fork 729
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
WIP: Rho #1436
WIP: Rho #1436
Conversation
from #1410 :
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed the E2E changes -- mainly a few minor remarks.
Looking into the liveness test...
if err != nil { | ||
s.Require().NoError(err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if err != nil { | |
s.Require().NoError(err) | |
} | |
s.Require().NoError(err) |
s.Require().NoError( | ||
addGenesisAccount(val0ConfigDir, "", initBalanceStr, val.keyInfo.GetAddress()), | ||
addGenesisAccount(val0ConfigDir, "", initBalanceStr, address), | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to make this multi-line :)
kb, err := keyring.New("testnet", keyring.BackendMemory, "", nil) | ||
func createMemoryKeyFromMnemonic(mnemonic string) (*keyring.Record, error) { | ||
|
||
cdc := params.MakeTestEncodingConfig().Codec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should already be a private global for the codec -- let's use that instead of creating a new variable here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah that's great! how do i access it?
v.consensusKey = filePV.Key | ||
|
||
return nil | ||
} | ||
|
||
func (v *validator) createKeyFromMnemonic(name, mnemonic string) error { | ||
kb, err := keyring.New(keyringAppName, keyring.BackendTest, v.configDir(), nil) | ||
cdc := params.MakeTestEncodingConfig().Codec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Liveness test fails due to the image failing to build: https://github.com/cosmos/gaia/runs/6182913797?check_suite_focus=true#step:5:176 I can look into this shortly. |
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
Co-authored-by: Aleksandr Bezobchuk <[email protected]>
that's weird, it builds locally with |
ah this is the error:
Looks like it's because https://github.com/CosmWasm/wasmvm has tests that mock Is it possible to disable these somehow? We went a route with forking |
Liveness tests refactored -> #1456 |
hi, is this branch working, it seems have some problem with importing packet-forwarding package, it imports the fork, but the fork still has the module name with |
@yaruwangway working on fixing conflicts now |
closing in favor of #1478 |
replaces #1410