Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(Profile): Fix crashing when showcase collectible having disabled chainIds #14252

Conversation

MishkaRogachev
Copy link
Contributor

Close #14243

What does the PR do

Fix crash when a profile collectible had a chainId from disabled network e.g main net chain id when test net is enabled

Affected areas

Profile

Screenshot of functionality (including design for comparison)

Screenshot 2024-04-02 at 16 36 56

@status-im-auto
Copy link
Member

status-im-auto commented Apr 2, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1dff8a1 #1 2024-04-02 14:46:38 ~6 min tests/nim 📄log
✔️ 1dff8a1 #1 2024-04-02 14:47:46 ~7 min macos/aarch64 🍎dmg
1dff8a1 #1 2024-04-02 14:52:16 ~11 min tests/ui 📄log
✔️ 1dff8a1 #1 2024-04-02 14:52:25 ~11 min macos/x86_64 🍎dmg
✔️ 1dff8a1 #1 2024-04-02 14:55:48 ~15 min linux/x86_64 📦tgz
✔️ 1dff8a1 #1 2024-04-02 15:16:48 ~36 min windows/x86_64 💿exe
✔️ 1dff8a1 #3 2024-04-02 16:04:23 ~11 min tests/ui 📄log

Copy link
Contributor

@alexjba alexjba left a comment

Choose a reason for hiding this comment

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

LGTM! Tested

@MishkaRogachev MishkaRogachev merged commit d86be3a into master Apr 3, 2024
8 checks passed
@MishkaRogachev MishkaRogachev deleted the fix/issue-14243-profile-showcase-app-is-crashing-when-viewing-profile-showcase-while-testnet-is-active branch April 3, 2024 09:51
alexjba pushed a commit that referenced this pull request Apr 3, 2024
@@ -87,3 +87,10 @@ proc isPathOutOfTheDefaultStatusDerivationTree*(path: string): bool =

proc contractUniqueKey*(chainId: int, contractAddress: string): string =
return $chainId & "_" & contractAddress

proc intersectSeqs*[T](seq1, seq2: seq[T]): seq[T] =
Copy link
Contributor

Choose a reason for hiding this comment

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

@MishkaRogachev you provided a new compilation warning in this function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

alexjba pushed a commit that referenced this pull request Apr 12, 2024
alexjba pushed a commit that referenced this pull request Apr 14, 2024
jrainville pushed a commit that referenced this pull request Apr 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Profile Showcase] App is crashing when viewing profile showcase while testnet is active
6 participants