/cw-eth2-lc

Eth2 light client implementation as a cosmwasm smart contract

Primary LanguageRust

cw-eth2-lc

Tests

Unit tests

cargo test -- --nocapture

E2E tests

# builds the smart contract and adds the artifacts in ./artifacts folder
cargo test --features e2e -- --nocapture --test-threads 1

Build Prerequisites

Cosmwasm-check

Used in ./scripts/build_sc.sh to perform various checks on the wasm file to make sure its valid - such as if the wasm file has floating point operations .etc.

cargo install cosmwasm-check