We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think it was planned for 4.x to use BigInt when decoding values.
However, as in this test case, for example, the value return is a string: https://github.com/ChainSafe/web3.js/blob/7e236d0b3913c08049f4fafd13e1923ee941b2d2/packages/web3-eth-contract/test/integration/contract_methods.test.ts#L49
Change '10' in the following line to 10n and then run the test: https://github.com/ChainSafe/web3.js/blob/7e236d0b3913c08049f4fafd13e1923ee941b2d2/packages/web3-eth-contract/test/integration/contract_methods.test.ts#L49
'10'
10n
4.x
No response
The text was updated successfully, but these errors were encountered:
Muhammad-Altabba
No branches or pull requests
Is there an existing issue for this?
Current Behavior
I think it was planned for 4.x to use BigInt when decoding values.
However, as in this test case, for example, the value return is a string:
https://github.com/ChainSafe/web3.js/blob/7e236d0b3913c08049f4fafd13e1923ee941b2d2/packages/web3-eth-contract/test/integration/contract_methods.test.ts#L49
Steps to Reproduce
Change
'10'
in the following line to10n
and then run the test:https://github.com/ChainSafe/web3.js/blob/7e236d0b3913c08049f4fafd13e1923ee941b2d2/packages/web3-eth-contract/test/integration/contract_methods.test.ts#L49
Web3.js Version
4.x
Environment
No response
Anything Else?
No response
The text was updated successfully, but these errors were encountered: