Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent mapping multiple denoms to same ERC20 (#1346)
# Related Github tickets - VolumeFi#2641 # Background This change adds a check that prevents binding a `denom` to an ERC20 address that is already bound. > [!important] > This will prevent updating your ERC20 addresses against your own denoms even, but it could theoretically be implemented at a later stage. > [!warning] > The underlaying gravity bridge code was not written with more than one remote chain in mind. Therefore, after this change, it will not be possible to use the same Ethereum address for a denom on more than one remote chain, so deterministic addresses cannot be used anymore. # Testing completed - [x] test coverage exists or has been added/updated - [x] tested in a private testnet # Breaking changes - [x] I have checked my code for breaking changes - [x] If there are breaking changes, there is a supporting migration.
- Loading branch information