Poc smoke tests - #425
Open
Hakob23 wants to merge 8 commits into
Open
Conversation
…test configuration
…-sdk and flyover-sdk
…t-contract deployments
Hakob23
marked this pull request as ready for review
June 10, 2026 14:36
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Adds optional Flyover smoke tests to RIT to validate split-contract deployments against a running Liquidity Provider Service (LPS) on regtest.
This is a POC to exercise end-to-end LPS wiring without extending the existing on-chain Flyover peg-in test suite (
01_04_*).Motivation
After deploying Flyover split contracts (pegin, pegout, discovery, collateral management) and starting LPS locally, there was no lightweight way to confirm:
@rsksmart/flyover-sdkThese tests are opt-in: when required env vars are unset, they skip automatically so default RIT CI is unaffected.
Changes
tests/01_08_00-flyover_split_contracts_smoke.js— LPS HTTP flow (/health→/getProviders→/pegin/getQuote→/pegin/acceptQuote)tests/01_08_01-flyover_sdk_smoke.js— same flow via@rsksmart/flyover-sdklib/flyover-smoke-test-utils.js— shared env checks, contract bytecode validation, quote building, HTTP helpers, and SDK shimconfig/regtest-external-lps-smoke.js— RIT config for external regtest stack (pre-running RSK node, bitcoind, LPS)@rsksmart/bridges-core-sdk@0.6.0,@rsksmart/flyover-sdk@1.9.0(pinned versions)README.mdand.env-exampleJira Ticket
https://rsklabs.atlassian.net/browse/FLY-2272
Testing
Local smoke test run (verified)
Prerequisites:
http://127.0.0.1:4444http://127.0.0.1:8080liquidity-bridge-contract/broadcast/DeployFlyover.s.sol/33/run-latest.json)# .env (example) CONFIG_FILE_PATH=./config/regtest-external-lps-smoke INCLUDE_CASES=01_08_00,01_08_01 FLYOVER_LPS_URL=http://127.0.0.1:8080 PEGIN_CONTRACT_ADDRESS=0x9d4454B023096f34B160D6B654540c56A1F81688 PEGOUT_CONTRACT_ADDRESS=0x36C02dA8a0983159322a80FFE9F24b1acfF8B570 DISCOVERY_ADDRESS=0x0E801D84Fa97b50751Dbf25036d067dCf18858bF COLLATERAL_MANAGEMENT_ADDRESS=0x4826533B4897376654Bb4d4AD88B7faFD0C98528 FLYOVER_RSK_RPC_URL=http://127.0.0.1:4444 FLYOVER_SDK_NETWORK=Regtest