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

feat(@desktop/Wallet): use new status-go currency formatting API #9547

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

dlipicar
Copy link
Contributor

@dlipicar dlipicar commented Feb 14, 2023

Fixes #9453
Deprecates #9191

What does the PR do

Make use of the new status-go currency formatting API.

Most currency formatting functionality was moved to status-go, so it is removed from the client.

Nim is now only in charge of getting the format table and triggering a refresh.

When the formats are updated, every module which contains a CurrencyAmount object should refresh it. This was done for all modules except for the Activity tab, which requires a bit extra work (see #9548).

@status-im-auto
Copy link
Member

status-im-auto commented Feb 14, 2023

Jenkins Builds

Click to see older builds (7)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3e51d32 #1 2023-02-14 18:55:08 ~4 min tests-nim 📄log
✔️ 3e51d32 #1 2023-02-14 18:55:08 ~5 min imports 📄log
✔️ 3e51d32 #1 2023-02-14 18:55:11 ~5 min linux-cpp 📄log
✔️ 3e51d32 #1 2023-02-14 18:58:56 ~8 min macos 🍎dmg
✔️ 3e51d32 #1 2023-02-14 19:02:13 ~12 min linux 📦tgz
✖️ 3e51d32 #1 2023-02-14 19:05:54 ~15 min linux-e2e 📄log
✔️ 3e51d32 #1 2023-02-14 19:17:54 ~27 min windows 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 18afc96 #2 2023-02-17 12:11:16 ~4 min imports 📄log
✔️ 18afc96 #2 2023-02-17 12:12:08 ~5 min linux-cpp 📄log
✔️ 18afc96 #2 2023-02-17 12:13:39 ~6 min tests-nim 📄log
✔️ 18afc96 #2 2023-02-17 12:13:40 ~6 min macos 🍎dmg
✔️ 18afc96 #2 2023-02-17 12:18:55 ~12 min linux 📦tgz
✖️ 18afc96 #2 2023-02-17 12:23:25 ~16 min linux-e2e 📄log
✔️ 18afc96 #2 2023-02-17 12:30:59 ~24 min windows 💿exe
✔️ 72ff8b3 #4 2023-02-17 14:16:35 ~2 min linux-cpp 📄log
✔️ 72ff8b3 #4 2023-02-17 14:18:16 ~4 min tests-nim 📄log
✔️ 72ff8b3 #4 2023-02-17 14:18:22 ~4 min imports 📄log
✔️ 72ff8b3 #4 2023-02-17 14:22:43 ~8 min macos 🍎dmg
✔️ 72ff8b3 #4 2023-02-17 14:25:19 ~11 min linux 📦tgz
✖️ 72ff8b3 #4 2023-02-17 14:27:31 ~13 min linux-e2e 📄log
✔️ 72ff8b3 #4 2023-02-17 14:41:48 ~27 min windows 💿exe
✖️ 72ff8b3 #5 2023-02-17 14:42:30 ~13 min linux-e2e 📄log
✖️ 72ff8b3 #6 2023-02-17 14:56:04 ~12 min linux-e2e 📄log
✖️ 72ff8b3 #7 2023-02-17 15:10:42 ~12 min linux-e2e 📄log
✖️ 72ff8b3 #8 2023-02-17 15:25:40 ~12 min linux-e2e 📄log
✔️ 72ff8b3 #10 2023-02-17 15:46:37 ~15 min linux-e2e 📄log

Copy link
Contributor

@stefandunca stefandunca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice simplification.

@dlipicar dlipicar force-pushed the feat/9453-move-tcurrency-formatting-to-status-go branch 2 times, most recently from 18afc96 to 1347bb7 Compare February 17, 2023 14:12
@dlipicar dlipicar force-pushed the feat/9453-move-tcurrency-formatting-to-status-go branch from 1347bb7 to 72ff8b3 Compare February 17, 2023 14:13
@dlipicar dlipicar merged commit 27b8180 into master Feb 17, 2023
@dlipicar dlipicar deleted the feat/9453-move-tcurrency-formatting-to-status-go branch February 17, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review token price cache initialization
4 participants