Skip to content

Commit

Permalink
remove containers from bridge tests (#748)
Browse files Browse the repository at this point in the history
* remove parachains from bridge tests

* downgrade ethers

* lock file

* Revert "downgrade ethers"

This reverts commit 8d13611.

* Revert "lock file"

This reverts commit b9fa195.

* fix providers

* fix test

* fmt
  • Loading branch information
girazoki authored Nov 15, 2024
1 parent ce21610 commit ffa8436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
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

0 comments on commit ffa8436

Please sign in to comment.