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: IntoLogData #666

Merged
merged 3 commits into from
Jun 18, 2024
Merged

feat: IntoLogData #666

merged 3 commits into from
Jun 18, 2024

Conversation

prestwich
Copy link
Member

Motivation

Groundwork for alloy-rs/alloy#623
Adding this conversion trait allows us to bound receipt log vectors in more meaningful ways

Solution

Introduce trait for types which can be infallibly converted into LogData

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@prestwich prestwich added the enhancement New feature or request label Jun 15, 2024
@prestwich prestwich self-assigned this Jun 15, 2024
@prestwich prestwich requested a review from DaniPopes June 17, 2024 12:35
@DaniPopes DaniPopes merged commit 4aeccbb into main Jun 18, 2024
30 checks passed
@DaniPopes DaniPopes deleted the prestwich/into-log-data branch June 18, 2024 11:05
klkvr pushed a commit that referenced this pull request Aug 4, 2024
* feat: IntoLogData

* fix: add encode_log_data and encode_log

* test: update to check re-encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants