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(rpc-types): add optimism module and refactor types #143

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

Evalir
Copy link
Contributor

@Evalir Evalir commented Jan 22, 2024

Motivation

We should have the op types as a separate module. Closes #113

Solution

Add a separate module for op types and their from impls.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm

@mattsse mattsse merged commit 2ee7b8b into main Jan 22, 2024
14 checks passed
@mattsse mattsse deleted the evalir/op-refactor branch January 22, 2024 19:51

/// Optimism specific transaction fields
#[derive(Debug, Copy, Default, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct OptimismTransactionFields {
Copy link
Member

Choose a reason for hiding this comment

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

@mattsse prob follow-up refactor for op-rpc-types?

Copy link
Member

Choose a reason for hiding this comment

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

yeah maybe we want them separate, but perhaps not actually worth it

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.

[Feature] Move all optimism rpc types into optimism.rs module
3 participants