-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): de/serialization for Transaction (#1069)
**Motivation** The `Transaction` enum had the `Deserialize` trait derived, but it wasn't working. A custom `Deserialize` trait needs to be derived and `match` by transaction. **Description** - A custom `Deserialize` impl is defined for the `Transaction` enum. - A test that Serializes a Transaction and then Deserialized it is provided, taking an `EIP1559` as example.
- Loading branch information
1 parent
b1f3183
commit 0246227
Showing
2 changed files
with
125 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters