[Bug]: STX fails when upgrading / downgrading smart account
Describe the bug
When upgrading or downgrading account, there is a 500 error that leads into a normal tx fallback mechanism
It also triggers a 500 error in getFees
Nonetheless, it seems that the upgrade is completed.
https://www.loom.com/share/27b004e2323b4681ba87077ca154bf06
https://www.loom.com/share/3dc8d8155c314519a25221c3004667d5
Expected behavior
No error should happen. STX should work
Screenshots/Recordings
In description
Steps to reproduce
- Open dev tools
- select account details
- try to upgrade / downgrade the account
- continue with the confirmation
- see the console logs and the network details
Error messages or log output
In console and network tabs:
{"statusCode":500,"message":"\"Authorization list temporarily disabled\""}
Detection stage
In production (default)
Version
12.17.2
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
It happens in all browsers. Identified during RC 12.18 testing
Severity
sev2
Still happening
This issue was fixed with this PR: https://github.com/MetaMask/metamask-extension/pull/34321
Once it's rolled out to 100% in the extension and mobile, we have to enable type 4 transactions on backend and it will all work.