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/tokens block range nil access #4433

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Conversation

IvanBelyakoff
Copy link
Contributor

@IvanBelyakoff IvanBelyakoff commented Dec 7, 2023

On empty acc access to a nil pointer is fixed
Fixed a crash on a nil block number in local notification service on HistoryReady event

@status-im-auto
Copy link
Member

status-im-auto commented Dec 7, 2023

Jenkins Builds

Click to see older builds (8)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6911c11 #1 2023-12-07 07:17:30 ~3 min linux 📦zip
✔️ 6911c11 #1 2023-12-07 07:18:42 ~5 min ios 📦zip
✔️ 6911c11 #1 2023-12-07 07:19:13 ~5 min android 📦aar
✔️ 6911c11 #1 2023-12-07 07:49:07 ~35 min tests 📄log
✔️ e3b2b3a #2 2023-12-07 07:25:04 ~1 min linux 📦zip
✔️ e3b2b3a #2 2023-12-07 07:25:45 ~2 min android 📦aar
✔️ e3b2b3a #2 2023-12-07 07:26:32 ~3 min ios 📦zip
✖️ e3b2b3a #2 2023-12-07 08:22:07 ~32 min tests 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 157a952 #3 2023-12-07 11:18:30 ~1 min tests 📄log
✔️ 157a952 #3 2023-12-07 11:19:17 ~1 min android 📦aar
✔️ 157a952 #3 2023-12-07 11:20:33 ~3 min linux 📦zip
✔️ 157a952 #3 2023-12-07 11:20:38 ~3 min ios 📦zip
✔️ b869cd5 #4 2023-12-07 11:33:37 ~1 min linux 📦zip
✔️ b869cd5 #4 2023-12-07 11:37:03 ~5 min ios 📦zip
✖️ b869cd5 #4 2023-12-07 11:37:12 ~5 min tests 📄log
✔️ b869cd5 #4 2023-12-07 11:38:14 ~6 min android 📦aar
✖️ b869cd5 #5 2023-12-07 11:55:02 ~2 min tests 📄log
✖️ b869cd5 #6 2023-12-07 13:10:05 ~4 min tests 📄log
✔️ b869cd5 #7 2023-12-07 13:45:38 ~32 min tests 📄log

@siddarthkay
Copy link
Contributor

@IvanBelyakoff : do you mind if we verify this fix with a PR in mobile repo?
I can create that PR.

cc @cammellos @churik

@IvanBelyakoff
Copy link
Contributor Author

@IvanBelyakoff : do you mind if we verify this fix with a PR in mobile repo? I can create that PR.

cc @cammellos @churik

sure go ahead

@siddarthkay
Copy link
Contributor

@IvanBelyakoff : Thanks a lot for the swift fix :) we'll run E2E suite here status-im/status-mobile#18110

Fixed a crash in local notification service on a nil block number
in HistoryReady event
@IvanBelyakoff IvanBelyakoff force-pushed the fix/tokens_block_range_nil branch from 157a952 to b869cd5 Compare December 7, 2023 11:31
@IvanBelyakoff
Copy link
Contributor Author

@cammellos I treated NoRows as no error when getting wallet preferences. Is it ok with you? Could you please have a look

@churik
Copy link
Member

churik commented Dec 7, 2023

@IvanBelyakoff can you please take a look to not successful checks before we take PR to test again?
Thanks!

@IvanBelyakoff
Copy link
Contributor Author

@IvanBelyakoff can you please take a look to not successful checks before we take PR to test again? Thanks!

I believe the tests failure is not related to my PR, the tests pass successfully locally on my PC. I will restart them several times until they pass, but if you wan tto test it, I don't think you need to wait for them to pass

@churik
Copy link
Member

churik commented Dec 7, 2023

@siddarthkay can you please update status-go in our status-mobile Pr?

@siddarthkay
Copy link
Contributor

siddarthkay commented Dec 7, 2023

@siddarthkay can you please update status-go in our status-mobile Pr?

updated a while ago, confirmed that current status-go commit hash match our status-go-version.json

Copy link
Contributor

@siddarthkay siddarthkay left a comment

Choose a reason for hiding this comment

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

Lets go! 🚀

@pavloburykh
Copy link

@IvanBelyakoff thank you for the fix. Tested manually and no crash is detected. Failed e2e either known or related to global data delivery issues. Ready for merge.

@IvanBelyakoff IvanBelyakoff merged commit 6e666f7 into develop Dec 7, 2023
6 of 7 checks passed
@IvanBelyakoff IvanBelyakoff deleted the fix/tokens_block_range_nil branch December 7, 2023 20:40
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.

7 participants