Skip to content
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: support web3_sha3 provider function #996

Merged
merged 11 commits into from
Jul 1, 2024

Conversation

PanGan21
Copy link
Contributor

@PanGan21 PanGan21 commented Jun 30, 2024

Adds the web3 namespace to the json-rpc methods. Related to #926

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@PanGan21 PanGan21 changed the title feat: Adds web3 client version method for web3 namespace feat: Adds web3 namespace Jun 30, 2024
@PanGan21 PanGan21 marked this pull request as ready for review June 30, 2024 09:43
crates/provider/src/ext/web3.rs Outdated Show resolved Hide resolved
crates/provider/src/ext/web3.rs Outdated Show resolved Hide resolved
crates/provider/src/ext/web3.rs Outdated Show resolved Hide resolved
crates/provider/src/ext/web3.rs Outdated Show resolved Hide resolved
crates/provider/src/ext/web3.rs Outdated Show resolved Hide resolved
crates/provider/src/ext/web3.rs Outdated Show resolved Hide resolved
@mattsse mattsse changed the title feat: Adds web3 namespace feat: support web3_sha3 provider function Jul 1, 2024
@DaniPopes DaniPopes merged commit 490b841 into alloy-rs:main Jul 1, 2024
22 checks passed
ben186 pushed a commit to ben186/alloy that referenced this pull request Jul 27, 2024
* feat: add web3 client version method for web3 namespace

* feat: add web3_sha3 method

* feat: add unit tests

* fix: use anvil instead of geth for tests

* fix: use bytes slice in web3_sha3

* refactor: move sha3 to main trait and remove separate web3 api namespace

* fix: format

* fmt

* fix: remove log

* chore: nits

---------

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants