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(@wallet/desktop): implement generalized collectibles api #12679

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

dlipicar
Copy link
Contributor

What does the PR do

Part of #12578

Adjust client to the changes implemented in status-im/status-go#4290

Models are all the same, we're just adapting to the new functions / structs used in the backend.

@status-im-auto
Copy link
Member

status-im-auto commented Nov 10, 2023

Jenkins Builds

Click to see older builds (10)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ d9eba80 #1 2023-11-10 01:14:23 ~5 min tests/nim 📄log
✔️ d9eba80 #1 2023-11-10 01:16:37 ~7 min macos/aarch64 🍎dmg
✔️ d9eba80 #1 2023-11-10 01:20:26 ~11 min tests/ui 📄log
✔️ 6c13cfa #2 2023-11-10 01:26:04 ~5 min macos/aarch64 🍎dmg
✔️ 6c13cfa #2 2023-11-10 01:26:22 ~5 min tests/nim 📄log
✔️ 6c13cfa #2 2023-11-10 01:30:50 ~9 min macos/x86_64 🍎dmg
✔️ 6c13cfa #2 2023-11-10 01:31:08 ~10 min tests/ui 📄log
✔️ 6c13cfa #2 2023-11-10 01:37:41 ~16 min linux/x86_64 📦tgz
✔️ 6c13cfa #2 2023-11-10 01:56:28 ~35 min tests/e2e 📄log
✔️ 6c13cfa #2 2023-11-10 01:57:59 ~36 min windows/x86_64 💿exe
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6e644dd #3 2023-11-17 14:19:54 ~6 min tests/nim 📄log
✔️ 6e644dd #3 2023-11-17 14:21:55 ~8 min macos/x86_64 🍎dmg
✔️ 6e644dd #3 2023-11-17 14:21:55 ~8 min macos/aarch64 🍎dmg
✔️ 6e644dd #3 2023-11-17 14:26:34 ~13 min tests/ui 📄log
✔️ 6e644dd #3 2023-11-17 14:26:58 ~14 min linux/x86_64 📦tgz
✔️ 6e644dd #3 2023-11-17 14:36:52 ~23 min windows/x86_64 💿exe
✔️ 6e644dd #3 2023-11-17 14:44:40 ~31 min tests/e2e 📄log
✔️ 3df3b10 #5 2023-11-17 19:30:00 ~6 min tests/nim 📄log
✔️ 3df3b10 #5 2023-11-17 19:31:55 ~8 min macos/aarch64 🍎dmg
✔️ 3df3b10 #5 2023-11-17 19:32:05 ~8 min macos/x86_64 🍎dmg
✔️ 3df3b10 #5 2023-11-17 19:34:43 ~11 min tests/ui 📄log
✔️ 3df3b10 #5 2023-11-17 19:38:47 ~15 min linux/x86_64 📦tgz
✔️ 3df3b10 #5 2023-11-17 19:54:48 ~31 min windows/x86_64 💿exe
✔️ 3df3b10 #5 2023-11-17 19:56:32 ~33 min tests/e2e 📄log

else:
result.description = none(string)
let imageUrlNode = t{"image_url"}
if imageUrlNode != nil and imageUrlNode.kind != JNull:
Copy link
Contributor Author

@dlipicar dlipicar Nov 10, 2023

Choose a reason for hiding this comment

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

I spent stupid amounts of time trying to make a generic Option unmarshaller like we have in Activity, but apparently for whatever reason Nim didn't handle recursively calling generic procs with different types, I ended up getting a runtime crash...
I can resume investigating it later, for now I just got tired...

@dlipicar dlipicar force-pushed the feat/collectibles-api-generalization branch from d9eba80 to 6c13cfa Compare November 10, 2023 01:20
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.

👌🏼

@dlipicar dlipicar force-pushed the feat/collectibles-api-generalization branch 2 times, most recently from 6e644dd to 7c51434 Compare November 17, 2023 19:18
@dlipicar dlipicar force-pushed the feat/collectibles-api-generalization branch from 7c51434 to 3df3b10 Compare November 17, 2023 19:23
@dlipicar dlipicar merged commit c04bf2e into master Nov 17, 2023
8 of 9 checks passed
@dlipicar dlipicar deleted the feat/collectibles-api-generalization branch November 17, 2023 20:23
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.

4 participants