Smoke tests for a running E2E environment
-
First make sure the E2E Stack is running. See web/packages/test/README.md.
-
Generate Rust bindings for both sides of the bridge
./make-bindings.sh
Send an ethereum transaction to the Gateway to register a new wrapped token on the AssetHub parachain.
cargo test --test register_token -- --nocapture
Send an ethereum transaction to the Gateway to send tokens to the AssetHub parachain. Must have registered the token previously.
cargo test --test send_token -- --nocapture
Send an upgrade transaction via the relaychain. This operation will brick the bridge as it upgrades the gateway to mock implementation. Please restart the testnet after running the test.
cargo test --test upgrade_gateway -- --nocapture
Polkadot-JS explorers for local parachains:
- BridgeHub
- AssetHub