HydraDX-node icon indicating copy to clipboard operation
HydraDX-node copied to clipboard

Improve block number related logic in integration tests

Open apopiak opened this issue 1 year ago • 0 comments

There were a bunch of issues with block numbers in integration tests recently.

I think we should rewrite e.g. https://github.com/galacticcouncil/HydraDX-node/blob/1e9b8f23c3abfdc2684c67652697165f6a47da5b/integration-tests/src/polkadot_test_net.rs#L356 and https://github.com/galacticcouncil/HydraDX-node/blob/1e9b8f23c3abfdc2684c67652697165f6a47da5b/integration-tests/src/oracle.rs#L20 (and the others)

into something that bumps both the relay chain number and the HydraDX number, with both of them being different (relay should be higher).

apopiak avatar Apr 03 '23 10:04 apopiak