-
Notifications
You must be signed in to change notification settings - Fork 329
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
Handshake impls from relayer loop #421
Conversation
…in local branch after merging (#363)
- Added a new test keyring backend to support adding keys to file system (under home folder) - Refactored logic to add key to be part of the keystore and not the command - Switched the keybase on a chain to use the test keyring - Key seed file is saved in the test keystore default folder (/home/andy/.rrly)
…ed name parameter from keys add cmd (#363)
- Clean up remaining key_seed flag for tx cmds - Refactored keybase to include chain config - Refactoring keyring methods to use chain config - Logic to use configured key to sign tx
…was having before merge. (#363)
Codecov Report
@@ Coverage Diff @@
## master #421 +/- ##
=========================================
+ Coverage 13.6% 36.7% +23.0%
=========================================
Files 69 154 +85
Lines 3752 11090 +7338
Branches 1374 4263 +2889
=========================================
+ Hits 513 4072 +3559
- Misses 2618 6382 +3764
- Partials 621 636 +15
Continue to review full report at Codecov.
|
@ancazamfir Can you please expand a bit on what is the problem here?
|
I don't see this anymore, will remove from the list. |
No errors with light client verification disabled:
|
* Added logic to generate GRPC client from cosmos.auth proto (#337) * Adding logic to use GRPC client (#337) * Grpc client connection retrieves account sequence (#337) * Removed the account sequence flag from the tx raw commands (#337) * Removed instructions to query and specify account sequence from tx raw command (#337) * Logic to fetch GRPC endpoint address from config (#337) * Fixing tests (informalsystems#361) * Logic to use the address from the key seed (#337) * Added boilerplate code for a keys add command to the relayer (informalsystems#363) * Removing key flag from tx cmds * Adding logic to get key specified in the config * Logic to get the key specified in the config (informalsystems#363) * Removed the -k flag from the tx raw commands (informalsystems#363) * More logic to add key command (informalsystems#363) * key add command for memory store working (informalsystems#363) * Added logic to persist key seed in 'home' folder (informalsystems#363) * Changes implemented (informalsystems#363): - Added a new test keyring backend to support adding keys to file system (under home folder) - Refactored logic to add key to be part of the keystore and not the command - Switched the keybase on a chain to use the test keyring - Key seed file is saved in the test keystore default folder (/home/andy/.rrly) * Logic to use the key_name parameter from the config to add key. Removed name parameter from keys add cmd (informalsystems#363) * Changed the logic to get the key from the test keyring file store (informalsystems#363) * Implemented changes: (informalsystems#363) - Clean up remaining key_seed flag for tx cmds - Refactored keybase to include chain config - Refactoring keyring methods to use chain config - Logic to use configured key to sign tx * Updated the README instructions (informalsystems#363) * Disable the 'keys restore' command for now (informalsystems#363) * Added 'keys list' command to show key added on a chain (informalsystems#363) * Added entry for issue informalsystems#363 (PR informalsystems#408) * Refactored the bound variables to use the full name per comment suggestion (informalsystems#408) * Move key retrieval, memo and timeout height inside send_tx * Add the client creation, connection and channel handshake * remove sleeps * More error handling, cleanup * Macro for channel CLIs * Macro for connection CLIs * Where src/dst make no sense rename to a/b, also fix a few bugs after last commits * cleanup * cargo fmt * Use Romain's skip-verif until backwards verification is done * fix CLI bugs Co-authored-by: Andy Nogueira <[email protected]>
Closes: #376
Closes: #377
Closes: #378
Description
rrly -c config.toml v-0
, added a polling loop for client, connection and channel.relayer/src/tx
in the corresponding relayer modules.Testing
Currently works with a known issue from the light client:
Also getting some RPC errors in the monitors once in a while, will debug, but in this case the handshake continues fine
Other mentions
connOpenInit
as this is being heavily reworked in ICS and will be avail in future cosmos-sdk release. Will pick it up again as part of integration withstargate-?
next releases.relayer::config
should hold type Ids, code is currently quite verbose to do the Id checks all the timerelayer::config
andConnectionConfig
,ForeignClientConfig
andChannelConfig
. These should be consolidatedFor contributor use:
docs/
) and code comments.Files changed
in the Github PR explorer.