-
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
Update scripts and dockerfiles to support gaia at stargate-4 version #279
Conversation
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.
Thanks Andy! To actually test this we need to update the images on Docker Hub, right?
I've tested this with the updated (local) Docker images and I cannot start the relayer. I get an error that I'm not sure is related to the images.
I'm going to test this with the original images to see if I get the same error, if so then something that might have been introduced in the relayer logic that might be breaking. |
After tendermint-rs fix #622, the error above
If I query the block
So not sure why the relayer is spitting out a hash mismatch. |
Test it again using the go relayer dev-env script after master changes (#299). Now I'm getting another error
|
This error means that we are setting both the primary's and witness' peer id to the same value. It stems from the fact that we don't have peer ids in the relayer config and we currently have to make one up. The issue is that we re-use it for both the primary and the witness, whereas we should at least make up two different ones until we decide on whether we want to add peer ids to the config, or get rid of them altogether. |
With latest updates on this branch by @romac I could start the relayer now 😄
|
Since this is not closed, could we actually move to stargate-4. Our code base is currently compatible with 4 and we could use these scripts to run queries and Tx-es hopefully soon :) |
* Upgrade to stargate-4 * Bug fix to return node ID
Codecov Report
@@ Coverage Diff @@
## master #279 +/- ##
=========================================
+ Coverage 13.6% 37.5% +23.8%
=========================================
Files 69 124 +55
Lines 3752 7994 +4242
Branches 1374 2771 +1397
=========================================
+ Hits 513 3001 +2488
- Misses 2618 4754 +2136
+ Partials 621 239 -382
Continue to review full report at Codecov.
|
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.
Wohooo! Thanks Andy!
Tested docker images with gaia stargate-4 and it's working now after latest fix. Good to merge. Ran the commands (from README) to initialize light clients and start the relayer and it's working. |
…nformalsystems#279) * Update scripts and dockerfiles to support gaia at stargate-3 version * Fixing wrong chain id informalsystems#279 * Make up two different peer ids for primary and witness * Formatting * Minor changes (informalsystems#279): * Upgrade to stargate-4 * Bug fix to return node ID * Changed folder to 'gaia' since that's the default in stargate-4 (informalsystems#279) Co-authored-by: Romain Ruetschi <romain@informal.systems>
Closes: #278
Description
Upgrade the docker images and chains to the latest stargate-4 version.
For contributor use:
docs/
) and code commentsFiles changed
in the Github PR explorer