Skip to content
New issue

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

[Bug]: missing v when sending transaction #22353

Closed
irfanonk opened this issue Dec 20, 2023 · 4 comments
Closed

[Bug]: missing v when sending transaction #22353

irfanonk opened this issue Dec 20, 2023 · 4 comments
Labels
external-contributor regression-prod-11.7.0 Regression bug that was found in production in release 11.7.0 type-bug

Comments

@irfanonk
Copy link

Describe the bug

when calling a function from smart contract using ethers.js and metamask as browser provider, it returns uncatchable error. It prevents to wait the transaction result, yet the transaction is succeeds in the blockchain.

Expected behavior

It should call a smart contract function without error.

Screenshots/Recordings

Screenshot 2023-12-20 at 10 50 09 Screenshot 2023-12-20 at 10 54 34

Steps to reproduce

  1. Call a function from a smart contract that requires fee (like approve from ERC20 Token contract) in your web3 app
  2. Confirm the transaction using metamask
  3. Checkt the logs in the console

Error messages or log output

`
Uncaught (in promise) TypeError: missing v (argument="signature", value={ "accessList": null, "blockHash": null, "blockNumber": null, "from": "(sender address)", "gas": "0xf856", "gasPrice": "0x2540be400", "hash": "(removed)", "input": "(removed)", "maxFeePerGas": "0x2540be400", "maxPriorityFeePerGas": "0x2540be400", "nonce": "0x16", "r": "(removed)", "s": "(removed)", "to": "(removed)", "transactionIndex": null, "type": "0x2", "value": "0x0" }, code=INVALID_ARGUMENT, version=6.9.0)
`

Version

11.7.0

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

This issue experiencing only in google chrome browser, not occurs in microsoft edge or firefox. It may not happen sometimes but most of time it occurs, especially successive function calls from smart contract.

Do not work on:
Google Chrome Version 119.0.6045.199 (Official Build) (arm64) and Version 120.0.6099.109 (Official Build) (arm64)
Mumbai Network
metamask 11.7.0
ethers 6.8.1

Works on:
Firefox 121.0
Mumbai Network
MetaMask 11.4.1
ethers 6.8.1

Microsoft Edge Version 119.0.2151.97 (Official build) (arm64)
Mumbai Network
MetaMask 11.6.2
ethers 6.8.1

Severity

No response

@metamaskbot metamaskbot added external-contributor regression-prod-11.7.0 Regression bug that was found in production in release 11.7.0 labels Dec 20, 2023
@daenamkim
Copy link

daenamkim commented Dec 21, 2023

@irfanonk I got the same issues before and I think 11.7.2 seems fixing the issue according to my test.

v11.7.1...v11.7.2

@daenamkim
Copy link

@irfanonk FYI, related to issue at here as well.

@irfanonk
Copy link
Author

yes. it seems it is solved with new version 11.7.2
thank you. @daenamkim

@anaamolnar
Copy link

Hello, @irfanonk. Thanks for confirming! I will close this issue then. Feel free to open this again if this continues to occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor regression-prod-11.7.0 Regression bug that was found in production in release 11.7.0 type-bug
Projects
None yet
Development

No branches or pull requests

5 participants
@daenamkim @metamaskbot @irfanonk @anaamolnar and others