Skip to content

[DO NO MERGE] feat: Upgrade malachite to latest version#550

Open
sanjayprabhu wants to merge 4 commits intomainfrom
malachite_upgrade
Open

[DO NO MERGE] feat: Upgrade malachite to latest version#550
sanjayprabhu wants to merge 4 commits intomainfrom
malachite_upgrade

Conversation

@sanjayprabhu
Copy link
Contributor

Upgrade malachite to latest version so we can use the following features:

This will help fix #513 and #512

Test plan:

  • Stress test locally
  • Ensure validator messages are backwards compatible
  • Ensure compatibility with un-upgraded read nodes
  • Run on test net for a few days with traffic

@sanjayprabhu sanjayprabhu requested a review from aditiharini June 20, 2025 01:27
@vercel
Copy link

vercel bot commented Jun 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
snapchain-docs Ready Preview 💬 Add feedback Aug 11, 2025 10:47pm

));
}

Msg::NewEvent(Event::ConsensusMessage(channel, from, _)) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

What are these messages we're ignoring? Is it possible to enumerate the Channel::... explicitly so it's easier to understand?

sync.cast(read_sync::Msg::Decided(state.validator.last_height))?
let decided_height = state.validator.last_height;
sync.cast(read_sync::Msg::Decided(decided_height))?;
sync.cast(read_sync::Msg::Started(decided_height.increment()))?
Copy link
Contributor

@aditiharini aditiharini Jun 20, 2025

Choose a reason for hiding this comment

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

Is Started new? Why do we need it?

pub enum Msg {
/// Internal tick
Tick { reply_to: Option<RpcReplyPort<()>> },
Tick {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used?

@sanjayprabhu
Copy link
Contributor Author

sanjayprabhu commented Jul 24, 2025

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.

feat: Block sync should fetch in batches

2 participants