ethereumproject / evm-rs

Ethereum Virtual Machine implementation in Rust. Fork of the SputnikVM.
Apache License 2.0
14 stars 5 forks source link

bn128 no-std version #2

Open mersinvald opened 5 years ago

mersinvald commented 5 years ago

From evm-rs created by mersinvald : etclabscore/evm-rs#26

Currently bn128 precompiled contract cannot be compiled for the no-std targets due to the rustc-serialize dependency.

There's a Serde version of bn crate at https://github.com/etclabscore/bn, but it's currently not compatible with the implementation in std/precompiled/bn128.