-
Notifications
You must be signed in to change notification settings - Fork 94
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
[r2r] Fix ARRR activation. More info to activation statuses. Check point block #1439
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Also one non-blocker comment :)
@sergeyboyko0791 @ozkanonur Could you please review it too? I assigned P0 to this because it's a hotfix required for ARRR GUI integration release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one note
mm2src/coins/z_coin/z_rpc.rs
Outdated
}) | ||
.is_err() | ||
{ | ||
debug!("No one seems interested in SyncStatus"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not critical. We could add LogOnError::debug_log_with_msg
and use it here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, will do 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great fix. Just one note.
mm2src/coins/z_coin/z_rpc.rs
Outdated
let mut from_block = self | ||
.consensus_params | ||
.sapling_activation_height | ||
.max(current_block_in_db as u32 + 1) as u64; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
current_block_in_db
is already u32
. No need to re-cast to same type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, get_latest_block
now returns u32, missed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ozkanonur Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Light wallet sync process could start from zero block, for which Sapling might be not activated yet. It caused unrecoverable error from lightwalletd with endless activation process on MM2 side.
#1427
KomodoPlatform/komodo-wallet#1775 (comment)