Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feature: impl Default for eip2718::TypedTransaction #646

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

prestwich
Copy link
Collaborator

Adds an implementation of Default for the eip2718::TypedTransaction struct. This implementation respects the legacy feature, and allows blank transactions to more easily be created. Using this bound in my provider work to allow generic instantiation and modification of txns implementing a Transaction trait

@prestwich prestwich added the enhancement New feature or request label Dec 3, 2021
@prestwich prestwich requested a review from gakonst December 3, 2021 20:02
@gakonst gakonst merged commit 0f6d368 into master Dec 3, 2021
@gakonst gakonst deleted the prestwich/tx-default branch December 3, 2021 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants