You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Format transaction.type to hex. Add empty accessList is tx.type === '0x1' (#5979)
* Add type to numberToHex formatting for _txInputFormatter
* Add test for type formatting
* Add logic to add empty accesslist if type === '0x1' when sending transaction. Add test for same
* Add input tx formatter test case
* Add input tx formatter test case
* Update CHANGELOG
* Fix failing test cases
* Update packages/web3-core-method/src/index.js
Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
* Update CHANGELOG.md
---------
Co-authored-by: Junaid <86780488+jdevcs@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -666,3 +666,8 @@ Released with 1.0.0-beta.37 code base.
666
666
### Fixed
667
667
668
668
- Improved the error propagation in `web3-providers-http` package to effectively propagate useful error infomation about failed HTTP connections (#5955)
669
+
670
+
### Changed
671
+
672
+
-`transaction.type` is now formatted to a hex string before being send to provider (#5979)
673
+
- When sending a transaction, if `transaction.type === '0x1' && transaction.accessList === undefined`, then `transaction.accessList` is set to `[]` (#5979)
0 commit comments