Near-One / rainbow-token-connector

ERC-20/NEP-141 Token Connector for Rainbow Bridge
62 stars 18 forks source link

Change inheritance order of the `ProofConsumer` #243

Closed karim-en closed 6 months ago

karim-en commented 6 months ago

In the new contracts the ProofConsumer is inherited last which makes determining the slot position of usedProofs a bit tricky with C3 linearization. We use the slot position to binary search the transaction which finalizes a transfer.