-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
Data
from JSON-RPC Transactions (#6036)
* Handle `AccessList` differently depending on `TxType` - Legacy does not have an `AccessList` field - Others have an `AccessList` field and should be at least an empty array * Remove all fields except serializer - Can create issues if we don't properly reset the field * Use raw strings everywhere * Use file-scoped namespace * Replace string comparisons with JSON equivalence * Formatting * Fix whitespace * Remove 'Data' field from 'TransactionForRpc' - It's a duplicate of 'Input' - Spec does not define it for any type of Tx * Update tests - Removed 'Data' form 'TransactionForRpc' - Replaced string comparison with JSON equivalence
- Loading branch information
1 parent
3c42dd2
commit bc70161
Showing
5 changed files
with
52 additions
and
40 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
Oops, something went wrong.