-
Notifications
You must be signed in to change notification settings - Fork 13
Description
See context in #34
For very large amount, it is worthwhile to wait for full 2 epochs if the source chain is Ethereum or L2 chains, so to completely eliminate the block reorganization risk. Unlike L2 chains which can revert to previous state, the bridge has no recourse when a block reorganization occurs. An attacker, knowing block reorganization is imminent, could bridge a large amount of funds to Harmony, sell as much as he could, before having the state of his wallet (and the bridge) reset by block reorganization. After reset, he can do so again. The economic damage at Harmony side does not automatically get fixed by the reset, and Harmony would have no choice but to roll back in that scenario - a move that would create chaos at centralized exchanges.
This may involve changing LayerZero configurations and require dynamic configuration conditioned on transaction data
This feature can be implemented later when larger bridge amounts become common