metacraft-labs / DendrETH

A smart contract implementation of the Ethereum light client sync protocol
GNU General Public License v3.0
45 stars 9 forks source link

Nim-wasm light-client tests fail after upgrading Nim to 1.6.14 #245

Closed PetarKirov closed 1 year ago

PetarKirov commented 1 year ago

When upgrading the Nix dependencies of the Dendreth Nix devshell, bumping the Nixpkgs version leads to Nim being upgraded to 1.6.14. This causes our wasm tests to fail with the following error:

Error: system module needs: raiseIndexError4

https://github.com/metacraft-labs/DendrETH/actions/runs/6486615372

The proper solution is to rebase our patches against the Nim's runtime library to add support for targetting WebAssembly: https://github.com/metacraft-labs/nim/tree/dendreth-patch/v1.6.8