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

fix(signals_manager): ensure savedAddresses event has JNull check #7888

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

0x-r4bbit
Copy link
Member

There's something off with the savedAddresses signal data, which causes it to be JNull instead of an empty array (JArray) and breaks signal decoding.

Ultimately this should be fixed in status-go, but this unblocks Desktop.

There's something off with the `savedAddresses` signal data, which
causes it to be `JNull` instead of an empty array (`JArray`) and breaks
signal decoding.

Ultimately this should be fixed in status-go, but this unblocks Desktop.
@status-im-auto
Copy link
Member

status-im-auto commented Oct 13, 2022

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3296a6c #1 2022-10-13 11:23:45 ~7 min linux-cpp 📦pkg
✔️ 3296a6c #1 2022-10-13 11:32:01 ~16 min macos 📦dmg
✔️ 3296a6c #1 2022-10-13 11:33:26 ~17 min linux 📦tgz
⁉️ 3296a6c #1 2022-10-13 11:36:28 ~20 min e2e 📄log
✔️ 3296a6c #1 2022-10-13 11:40:50 ~24 min windows 📦exe

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

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

Tested, works

@caybro caybro added the tested label Oct 13, 2022
0x-r4bbit added a commit to status-im/status-go that referenced this pull request Oct 13, 2022
Otherwise the json response will be `null` instead of an empty array
(which broke desktop): status-im/status-desktop#7888
@0x-r4bbit
Copy link
Member Author

This PR here can be ignored if status-im/status-go#2906 lands first

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.

The status-go is blocked by the tests.

@stefandunca stefandunca merged commit 013e226 into master Oct 13, 2022
@stefandunca stefandunca deleted the fix/savedAddress-null branch October 13, 2022 12:33
0x-r4bbit added a commit to status-im/status-go that referenced this pull request Oct 13, 2022
Otherwise the json response will be `null` instead of an empty array
(which broke desktop): status-im/status-desktop#7888
0x-r4bbit added a commit that referenced this pull request Oct 13, 2022
This includes a fix in message signals that would otherwise break Desktop's
signal encoding.

See: #7888

Hence, it reverts the now unnecessary fix introduced in:

Revert "fix(signals_manager): ensure `savedAddresses` event has `JNull` check"

This reverts commit 013e226.
stefandunca pushed a commit that referenced this pull request Oct 13, 2022
This includes a fix in message signals that would otherwise break Desktop's
signal encoding.

See: #7888

Hence, it reverts the now unnecessary fix introduced in:

Revert "fix(signals_manager): ensure `savedAddresses` event has `JNull` check"

This reverts commit 013e226.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants