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

Tests for ICS23 membership proofs in evm (#108)

fixes #103, tests are based on the official tests data available at
https://github.com/cosmos/ics23/tree/master/testdata/tendermint

Gas cost is pretty high but there is a lot of room for improvements
(submitted #109):
```
evm-contracts> Running 7 tests for /nix/store/g065da2ff3680jqg3fpcs461hmciwh19-source/tests/src/ICS23.t.sol:ICS23Test
evm-contracts> [PASS] testDecode() (gas: 24241)
evm-contracts> [PASS] testExistLeft() (gas: 275292)
evm-contracts> [PASS] testExistMiddle() (gas: 252194)
evm-contracts> [PASS] testExistRight() (gas: 155647)
evm-contracts> [PASS] testNonExistLeft() (gas: 289332)
evm-contracts> [PASS] testNonExistMiddle() (gas: 561288)
evm-contracts> [PASS] testNonExistRight() (gas: 224928)
```
H
hussein-aitlahcen committed
019b9b77e7e564e8a49a3bdb03470ebbd8f394de
Committed by GitHub <noreply@github.com> on 6/2/2023, 11:17:29 AM