After this change https://github.com/crypto-org-chain/gravity-bridge/pull/169/files , it is possible to configure the relayer to relay only batch related to specific contract.
However this is not tested in integration tests.
The difficulty is to refactor the integration test, and instead of starting all components at the same time :
- start the ethereum network with predefined erc20 contract
- start the relayer with the correct config (list of erc20 contracts in the relayer config
ethereum_contracts
- run the tests
After this change https://github.com/crypto-org-chain/gravity-bridge/pull/169/files , it is possible to configure the relayer to relay only batch related to specific contract.
However this is not tested in integration tests.
The difficulty is to refactor the integration test, and instead of starting all components at the same time :
ethereum_contracts