Skip to content

Conversation

@olga24912
Copy link
Contributor

So far, I’ve only modified one test: the BTC <-> NEAR transfer.

  • Waiting for a sufficient number of Bitcoin transaction confirmations.
  • Running for the default contracts and verifying the results via the API.

output:
call_dir / "bridge_finalised"
params:
bridge_api = "https://testnet.api.bridge.nearone.org/api/v2/transfers/transfer",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's also possible to use status endpoint and check that status == Finalised

Copy link
Contributor

@frolvanya frolvanya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, let's use non-reproducible-wasm instead of reproducible builds for e2e. We can either change it here (we need to duplicate current rules in Makefile to do it) or in a new PR

@olga24912 olga24912 requested a review from r-near November 6, 2025 09:56
@r-near
Copy link
Contributor

r-near commented Nov 6, 2025

Nice!

We don't have to do it for this PR, but it might be worth utilizing the JS SDK to perform these e2e tests. It's a good way to test both the actual contract functionality as well as the SDK's functionality. But again, don't worry too much about doing it in this PR 🙏

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.

3 participants