Skip to content
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: fix op e2e tests for the updates of finality gadget #41

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

lesterli
Copy link
Collaborator

@lesterli lesterli commented Aug 21, 2024

Summary

This PR fixed the op e2e tests. This fix sets the BitcoinRPCHost with a special string "mock-btc-client", and then, in finality gadget, we check BitcoinRPCHost and use the mock btc client for "mock-btc-client".

Context: the finality gadget's original codes checked the BBNChainID, but when the value is "chain-test", it would have the issue b/c for the integration deployment scripts, we spin up a bitcoind rather than the mock btc client.

Test Plan

make lint
make op-e2e-devnet
make test-e2e-op 

@lesterli lesterli merged commit 464946b into base/consumer-chain-support Aug 21, 2024
3 of 8 checks passed
@lesterli lesterli deleted the fix/op-e2e-test branch August 21, 2024 10:04
@bap2pecs
Copy link
Collaborator

lgtm as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants