Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

[WEEKLY RELEASE] HotShot 0.5.84 #290

Merged
merged 4 commits into from
Jan 28, 2025
Merged

[WEEKLY RELEASE] HotShot 0.5.84 #290

merged 4 commits into from
Jan 28, 2025

Conversation

jparr721
Copy link
Contributor

No description provided.

Copy link

@mrain mrain left a comment

Choose a reason for hiding this comment

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

VID related parts look good to me.
Only question: now the vid commitment computation is not in parallel, does it impact the performance?

Copy link
Member

@shenkeyao shenkeyao left a comment

Choose a reason for hiding this comment

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

Same question as Chengyu's, and some minor comments.

Copy link
Member

Choose a reason for hiding this comment

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

Looks like we can remove this file. No need to address it in this PR. Made an issue: #291.

Copy link
Member

Choose a reason for hiding this comment

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

Actually we may still need it if we decide to add the VID computation task back.

Comment on lines 926 to 944
// tracing::info!("Waiting for vid commitment for block {id}");

// let timeout_after = Instant::now() + self.max_api_waiting_time;

// tracing::info!("Got vid commitment for block {id}",);

// TODO: Should this still be here?
// // We got VID in time with margin left.
// // Maybe we can handle bigger blocks?
// if timeout_after.duration_since(Instant::now())
// > self.max_api_waiting_time / VID_RESPONSE_TARGET_MARGIN_DIVISOR
// {
// // Increase max block size
// self.global_state
// .write_arc()
// .await
// .block_size_limits
// .try_increment_block_size(truncated);
// }
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Can we delete this commented-out part if no longer needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cc @pls148

Copy link
Contributor

@lukaszrzasik lukaszrzasik left a comment

Choose a reason for hiding this comment

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

It looks good to me overall but I'm far from being a builder expert. I'll let someone more familiar with the builder to approve.

Comment on lines 795 to 796
let vid_commitment =
hotshot_types::traits::block_contents::vid_commitment(&encoded_txns, num_nodes);
Copy link
Contributor

Choose a reason for hiding this comment

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

Forgive my ignorance here. I don't know much about the VID computation. I get from this change that the VID commit computation is quick compared to the VID commit + precompute computation. Is that correct.

Copy link

Choose a reason for hiding this comment

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

No. VID commitment computation is slow.

@pls148 pls148 force-pushed the hotshot/rc-0.5.84 branch 3 times, most recently from 181b994 to 0075478 Compare January 27, 2025 19:54
@coveralls
Copy link

coveralls commented Jan 27, 2025

Coverage Status

coverage: 90.93% (+0.02%) from 90.908%
when pulling a145a4f on hotshot/rc-0.5.84
into 4647c30 on main.

@pls148 pls148 force-pushed the hotshot/rc-0.5.84 branch 5 times, most recently from 8157d2e to ce0acf6 Compare January 28, 2025 19:01
@pls148 pls148 force-pushed the hotshot/rc-0.5.84 branch from ce0acf6 to e2a6475 Compare January 28, 2025 19:51
@pls148 pls148 force-pushed the hotshot/rc-0.5.84 branch from 0ddd9df to a145a4f Compare January 28, 2025 22:50
@pls148 pls148 merged commit 80fb768 into main Jan 28, 2025
8 checks passed
@pls148 pls148 deleted the hotshot/rc-0.5.84 branch January 28, 2025 23:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants