Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Electron-Labs/cw-eth2-lc

Eth2 light client implementation as a cosmwasm smart contract
https://github.com/Electron-Labs/cw-eth2-lc

Last synced: about 1 month ago
JSON representation

Eth2 light client implementation as a cosmwasm smart contract

Awesome Lists containing this project

README

        

# cw-eth2-lc

### Tests

#### Unit tests

```sh
cargo test -- --nocapture
```

#### E2E tests

```sh
# 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.
```sh
cargo install cosmwasm-check
```