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
ERROR in /home/runner/work/web3.js/web3.js/dex-react/src/api/wallet/WalletApiMock.ts
ERROR in /home/runner/work/web3.js/web3.js/dex-react/src/api/wallet/WalletApiMock.ts(33,27):
TS2769: No overload matches this call.
Overload 1 of 2, '(val: BN, unit?: "noether" | "wei" | "kwei" | "Kwei" | "babbage" | "femtoether" | "mwei" | "Mwei" | "lovelace" | "picoether" | "gwei" | "Gwei" | "shannon" | "nanoether" | "nano" | "szabo" | ... 11 more ... | undefined): BN', gave the following error.
Argument of type'import("/home/runner/work/web3.js/web3.js/dex-react/node_modules/@types/bn.js/index")' is not assignable to parameter of type'import("/home/runner/work/web3.js/web3.js/dex-react/node_modules/web3-utils/node_modules/@types/bn.js/index")'.
Property 'modrn' is missing intype'import("/home/runner/work/web3.js/web3.js/dex-react/node_modules/@types/bn.js/index")' but required intype'import("/home/runner/work/web3.js/web3.js/dex-react/node_modules/web3-utils/node_modules/@types/bn.js/index")'.
Overload 2 of 2, '(val: string, unit?: "noether" | "wei" | "kwei" | "Kwei" | "babbage" | "femtoether" | "mwei" | "Mwei" | "lovelace" | "picoether" | "gwei" | "Gwei" | "shannon" | "nanoether" | "nano" | "szabo" | ... 11 more ... | undefined): string', gave the following error.
Argument of type'BN' is not assignable to parameter of type'string'.
Expected Behavior
Test was passing previous to 1.6.0 release. Don't think it's directly related to 1.6.0 changes, but not sure what caused it to be an issue now. My best guess as to what's going wrong after doing some debugging
Steps to Reproduce
Run the test suite on 1.x
Web3.js Version
1.6.0
Environment
Operating System:
Browser:
Node.js Version:
NPM Version:
Anything Else?
No response
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.
Is there an existing issue for this?
Current Behavior
Testing is failing with:
Expected Behavior
Test was passing previous to
1.6.0
release. Don't think it's directly related to1.6.0
changes, but not sure what caused it to be an issue now. My best guess as to what's going wrong after doing some debuggingSteps to Reproduce
Run the test suite on
1.x
Web3.js Version
1.6.0
Environment
Anything Else?
No response
The text was updated successfully, but these errors were encountered: