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

remove containers from bridge tests #748

Merged
merged 9 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions test/configs/zombieDancelightBridge.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,6 @@
}
]
},
"parachains": [
{
"id": 2000,
"chain": "dev",
"add_to_genesis": false,
"register_para": false,
"onboard_as_parachain": false,
"collators": [
{
"name": "FullNode-2000",
"validator": false,
"chain": "dev",
"command": "../target/release/container-chain-simple-node",
"ws_port": 9949,
"p2p_port": 33049
}
]
}
],
"types": {
"Header": {
"number": "u64",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,16 @@ describeSuite({
title: "Dancelight Blocks are being recognized on ethereum",
test: async function () {
const url = "ws://127.0.0.1:8546";
const customHttpProvider = new ethers.providers.WebSocketProvider(url);
const customHttpProvider = new ethers.WebSocketProvider(url);
const beefyContract = new ethers.Contract(
beefyClientDetails.address,
beefyClientDetails.abi,
customHttpProvider
);
const currentBeefyBlock = (await beefyContract.latestBeefyBlock()).toNumber();
const currentBeefyBlock = Number(await beefyContract.latestBeefyBlock());
expect(currentBeefyBlock).to.greaterThan(0);
await waitSessions(context, relayApi, 1, null, "Tanssi-relay");
const nextBeefyBlock = (await beefyContract.latestBeefyBlock()).toNumber();
const nextBeefyBlock = Number(await beefyContract.latestBeefyBlock());
expect(nextBeefyBlock).to.greaterThan(currentBeefyBlock);
},
});
Expand Down
Loading