Internal JSON-RPC error when using brave wallet to deploy contracts

Description of the issue:

I’m trying to deploy a contract to ETH mainnet or testnets. Neither works
I tried REMIX ide and MyEtherWallet, both produce the same error.

Error info i got from MyEtherWallet:

Internal JSON-RPC error

{
  "exception": {
    "values": [
      {
        "type": "Error",
        "value": "Promise was rejected with a falsy value",
        "stacktrace": {
          "frames": [
            {
              "filename": "https://www.myetherwallet.com/js/chunk-5060aeef.f06f94f5.js?__WB_REVISION__=68bf0bbf73727321aae2",
              "function": "p",
              "in_app": true,
              "lineno": 340,
              "colno": 2050
            },
            {
              "filename": "https://www.myetherwallet.com/js/chunk-5060aeef.f06f94f5.js?__WB_REVISION__=68bf0bbf73727321aae2",
              "function": "m.run",
              "in_app": true,
              "lineno": 340,
              "colno": 2358
            },
            {
              "filename": "https://www.myetherwallet.com/js/chunk-5060aeef.f06f94f5.js?__WB_REVISION__=68bf0bbf73727321aae2",
              "function": "R",
              "in_app": true,
              "lineno": 338,
              "colno": 11031
            }
          ]
        },
        "mechanism": {
          "type": "onunhandledrejection",
          "handled": false
        }
      }
    ]
  },
  "level": "error",
  "platform": "javascript",
  "event_id": "42aa39bbc5824c90a4c41ed6db954b68",
  "timestamp": 1679458126.246,
  "environment": "web",
  "release": "6.6.16-hotfix.1",
  "sdk": {
    "integrations": [
      "InboundFilters",
      "FunctionToString",
      "TryCatch",
      "Breadcrumbs",
      "GlobalHandlers",
      "LinkedErrors",
      "Dedupe",
      "HttpContext",
      "BrowserTracing"
    ]
  },
  "sdkProcessingMetadata": {},
  "request": {
    "url": "https://www.myetherwallet.com/wallet/deploy",
    "headers": {
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
    }
  },
  "tags": {
    "network": "ETH",
    "service": "myetherwallet.com-ws",
    "walletType": "web3Wallet"
  }
}

Other people are having the same issue, but they think it’s a remix error:
see here

How can this issue be reproduced?
Take any smartcontract and try to deploy it over Remix or MyEtherWallet.

Brave Version (check About Brave):
I’m using Brave v1.49.120 (Mar 9, 2023)

Thanks for reporting this issue. We have fixed this in 1.51.x (Nightly), and are also uplifting it to 1.50.x (Beta) which is scheduled to land on the Release channel around April 4.

You can track it here: https://github.com/brave/brave-browser/issues/29252

I know it may sound dumb, but how much did you paid to deploy to mainnet?
Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.