SIGN IN SIGN UP
unionlabs / union UNCLAIMED

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

0 0 174 Rust

fix(voyager): generate cometbls proofs correctly (#2180)

we were fetching the wrong validators in voyager, where we should have
been fetching H+1 we were fetching H; thus verifying against the
next_validators_hash of the trusted state wasn't working (obviously!)

the fix is adding an increment to the height here:
https://github.com/unionlabs/union/blob/bd86881f9a2768aad1a1a504841e5dc6dd589bd2/lib/relay-message/src/chain/union.rs#L269

which mirrors the traditional tendermint logic as seen here:
https://github.com/unionlabs/union/blob/bd86881f9a2768aad1a1a504841e5dc6dd589bd2/lib/relay-message/src/chain/cosmos.rs#L129
A
Abdullah Eryuzlu committed
adff570c97237591c81b7f657d22f6e95049b85c
Committed by GitHub <noreply@github.com> on 6/19/2024, 6:54:51 AM