-
Notifications
You must be signed in to change notification settings - Fork 155
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
feat: primitive utils and improvements #52
Conversation
derive_more = "0.99" | ||
tiny-keccak = { workspace = true, features = ["keccak"] } | ||
bytes.workspace = true | ||
getrandom = "0.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
likely breaks wasm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This? https://docs.rs/getrandom/latest/getrandom/#webassembly-support
This feature should only be enabled for binary, test, or benchmark crates. Library crates should generally not enable this feature, leaving such a decision to users of their library. Also, libraries should not introduce their own js features just to enable getrandom’s js feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay only change I want here is documentation that wasm users must set this feature in either their dev-deps or their main deps
that can be in a separate PR
needs the doc fixed |
} | ||
} | ||
|
||
/// See Section 4.3.1 "Transaction Receipt" of the Ethereum Yellow Paper. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
god i hate the yellow paper
* refactor: improve bloom implementation quality * chore: fmt * fixes: address PR review comments
Cherry-picked from #48, #50 and #51. Necessary for #51.
Supersedes #48