web3.js
web3.js copied to clipboard
Improve the types interfaces for `web3-types` packages
This is not a Bug Report, Feature Request, or related to Documentation
- [X] I have searched the existing issues
Is there an existing issue for this?
- [X] I have searched the existing issues
What's up?
We created a package web3-types
package which consists of all reuseable and shared types from different packages. Some of the types defined in that package are redundant. More specifically the *API
types are redundant and been defined this way to have exact match with the Eth Specification
.
e.g. There is a type TransactionReceipt
and TransactionReceiptAPI
. The difference between both is the use of fixed versus union types. Means use of Unit
versus Numbers
.
We can look closely in each type and can optimize the declarations further.
Examples/References
No response
Hey team! Please add your planning poker estimate with ZenHub @avkos @jdevcs @Muhammad-Altabba @nazarhussain
Per the 8/11/22 meeting, we will add sub-tasks to this for the list of types to test.