You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the relayer currently only puts the signatures it finds if they're above the required threshold. Therefore, if the relayer found a majority of signatures, while the rest are missing, it will relay them and the contract will revert, while it shouldn't.
Thus, the implementation of the relayer should be updated to support this.
Summary of Bug
Currently, in the QGB smart contract, we're checking whether the provided list of signatures has the same number of validators in the current valset:
https://github.com/celestiaorg/quantum-gravity-bridge/blob/37b613843c7a0681fe2a8ae82d3422e1f1cfb311/src/QuantumGravityBridge.sol#L272
However, the relayer currently only puts the signatures it finds if they're above the required threshold. Therefore, if the relayer found a majority of signatures, while the rest are missing, it will relay them and the contract will revert, while it shouldn't.
Thus, the implementation of the relayer should be updated to support this.
Version
79b83d8
Steps to Reproduce
For Admin Use
The text was updated successfully, but these errors were encountered: