efb95a3eba9c6ee568f39c3981e9de2c287aee3f
Resolves brave/brave-browser#51939 This PR moves the code away from storing the encoded extrinsic. The main motivation for this change is because decoding it reliably and well relies on the chain metadata which is asynchronously fetched and currently, all of the code that parses the transaction JSON from the backing data files assumes a world of purely synchronous code. Instead of opting into async data sources, we simply update the code to eschew it by storing a more normalized format of rote data. The code also updates the transaction metadata to store an ss58 prefix if the send address was ss58-encoded. This is done so that we can store the recipient address in its plain hex form and then reconstruct it on the front-end so that what's displayed now matches perfectly with what the user originally typed in.
…
…
…
…
…
…
…
…
…
…
Brave Core
Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser
Follow @brave on Twitter for important announcements.
Resources
Community
You can ask questions and interact with the community in the following locations:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%