-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: No Std support in zeth-lib & primitives #83
Conversation
9a99861
to
92fa6be
Compare
Hi @Wollac 😊 would appreciate if you take a look and consider merging it. |
I think you are right that
I am not sure I understand what you are saying. In general, I have to admit that I am very skeptical about going |
This PR stipped off
std
from Zeth's lib and primitives packages which builds a block. The purpose is to allow Zeth to run on other ZkVMs which mostly requiresno_std
.#![cfg_attr(not(feature = "std"), no_std)]
in lib & primitives with default feature containingstd
lib/host
module tohost/src/util
which means all RPC and file-caching utilities are with the hostno_std
isthiserror
, hence replaced withthiserror-no-std
, which requires some work arounds since we lost the blanket impl fromstd::error::Error
The core component
revm
now is alsono_std
with bluealloy/revm#987