Following is the test scenario:
Account A tries deposit token (outboxNonce is x) on the origin chain.
The facilitator is down. The confirm deposit is not done on the metachain.
The facilitator is up and running now.
Account A does the deposit again (outboxNonce is x+1) on the origin chain.
The facilitator get the depositIntentDeclare entity, and with all the flow it tries to confirm the deposit.
In this case, the transaction will fail, because the inboxNonce on ERC20Cogateway is still x
This will happen for withdraw flow too.
Following is the test scenario:
Account
Atries deposit token (outboxNonceis x) on the origin chain.The facilitator is down. The confirm deposit is not done on the metachain.
The facilitator is up and running now.
Account
Adoes the deposit again (outboxNonceis x+1) on the origin chain.The facilitator get the depositIntentDeclare entity, and with all the flow it tries to confirm the deposit.
In this case, the transaction will fail, because the
inboxNonceonERC20Cogatewayis still xThis will happen for
withdrawflow too.