icon-bridge
icon-bridge copied to clipboard
test(bmc): Unit test for handleRelayMessage on ICON when neither source nor destination chain is ICON
Feature
When message is to be transferred from SNOW to BSC, the message has to go through ICON bmc
Scenario
When message is to be transferred from SNOW to BSC, ICON bmc routes the required message to BSC
- Given
- SNOW BMC added as link
- BSC BMC added as link
- Required relays registered
- When
- ICON BMC should route the required message to BSC with Message eventlog
- Then
- Correct Message eventlog should be generated