-
Notifications
You must be signed in to change notification settings - Fork 25
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
fix: merge base to main #62
Conversation
* Init * Update babylon-private reference * Revert "CI: Remove redundant SSH key logic (#218)"
* Add create and check FPs by chain support * Add consumer FP registration check * go lint * Improve error handling * Make chainID string * Adjust comment
…inalizedBlock()` (#347)
When error occurs, `block` is `nil` and `block.Height` will cause a nil pointer panic. Uncovered in local deployment
…cessed when e2e tests fails (#405)
Resolves #300 This PR merges the latest `main` to the base branch. - [x] merge babylonlabs-io/babylon#402 - [x] fix linters / unit tests - [x] fix e2e NOTE: CI pipelines using Docker registry do not work for some reason, asking devops atm. All e2e tests pass locally.
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.23' | ||
- name: Run e2e Babylon tests | ||
run: make test-e2e-babylon | ||
|
||
e2e_bcd: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.23' | ||
- name: Run e2e BCD tests | ||
run: make test-e2e-bcd | ||
|
||
e2e_op: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.23' | ||
- name: Run e2e Babylon tests | ||
run: make test-e2e-babylon | ||
|
||
e2e_bcd: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
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.
amazing work, will continue reviewing as there's quite a lot of new code for a single session, some comments
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.
Great work! I didn't look into details about consumer implementations. Comments mostly about some questions and cleanups. No blocker from my side.
clientcontroller/babylon/babylon.go
Outdated
if res == nil { | ||
return &types.TxResponse{}, nil |
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.
how could this case happen?
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.
This was actually introduced at #124 by you 😅 Do you remember any context?
tools/go.mod
Outdated
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.
same here
Is this compatible with phase-2? |
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.
Still not done with the review, half way through
I think so, as the Babylon interfaces used by FP are not changed between Babylon phase-2/3. The e2e test also passes Nevertheless, I'm also concerned that this merge might mess up with the FP for phase-2, and would require another round of security audit. In this case @KonradStaniec Should we release FP for phase-2 like what we do in Babylon node? |
We probably should do this |
Scanned the pr and it seems:
So, I agree that we can't mix integration and v1 effort here. I think the easiest solution is what @SebastianElvis proposed here i.e
There will be some additional over head, but:
Does anybody has any other suggestion / ideas ? :) |
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.
Amazing work! Let's merge other PR's into this
Agree with this plan. Will wait for more review and the v1 release before merging this PR. |
This PR fixes comments to #62 and adds changelog for it
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.23' | ||
- name: Run e2e BCD tests | ||
run: make test-e2e-bcd | ||
|
||
e2e_op: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
This PR fixes some bugs found through local deployment babylonlabs-io/babylon-integration-deployment#32
Resolves #31 This PR provides the setup for phase-3 devnet 6. TODOs - [x] Tag Babylon snapshot - [x] Merge babylonlabs-io/finality-provider#62 - [x] Merge babylonlabs-io/btc-staker#114 - [x] Tag btc-staker snapshot - [x] Tag Babylon contract - [x] Merge babylonlabs-io/babylon-sdk#80 - [x] Tag Babylon SDK snapshot - [x] Fix deployment - [x] Tag Babylon - [x] Tag Babylon SDK - [x] Merge babylonlabs-io/finality-provider#335 - [x] Merge babylonlabs-io/finality-provider#333 - [x] Tag finality-provider
Resolves #300
This PR merges base branch to main
NOTE: all comments in this PR are addressed in #315