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

refactor: move GetLogsArgs and LogEntry to the evm_rpc_types crate #261

Merged
merged 10 commits into from
Aug 28, 2024

Conversation

gregorydemay
Copy link
Member

@gregorydemay gregorydemay commented Aug 26, 2024

Follow-up on #257 to move the types GetLogsArgs and LogEntry to the evm_rpc_types crate, so that the public API of eth_get_logs only uses types from that crate.

Additionally, add the types Hex, Hex20, and Hex32 as a transparent wrapper around a Candid type text to represent Ethereum hex strings (prefixed by 0x) containing an unbounded, 20 or 32 bytes, respectively.

@gregorydemay gregorydemay marked this pull request as ready for review August 27, 2024 11:30
@gregorydemay gregorydemay requested review from rvanasa and THLO August 27, 2024 11:30
@gregorydemay gregorydemay linked an issue Aug 27, 2024 that may be closed by this pull request
evm_rpc_types/CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Thomas Locher <thomas.locher@dfinity.org>
Copy link
Collaborator

@rvanasa rvanasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@gregorydemay gregorydemay merged commit 0a39ab5 into main Aug 28, 2024
3 checks passed
@gregorydemay gregorydemay deleted the gdemay/243-logs-to-evm-rpc-types branch August 28, 2024 06:57
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.

Refactor to remove cketh-minter dependency
3 participants