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

fault_proving(global_roots): scaffold global merkle root storage crate #2553

Conversation

netrome
Copy link
Contributor

@netrome netrome commented Jan 13, 2025

Closes #2552

This PR adds a new crate with column definitions for the global state root service, which we intend to deploy as a standalone binary.

Moreover, this crate also contains a top-level function to populate these columns with data given a new block.

@netrome netrome linked an issue Jan 13, 2025 that may be closed by this pull request
@netrome netrome requested review from rymnc and a team January 13, 2025 14:16
crates/storage/src/column.rs Outdated Show resolved Hide resolved
crates/storage/src/structured_storage/coins.rs Outdated Show resolved Hide resolved
@netrome netrome changed the title feat: feature flag for global state roots + coins table implementation feat: scaffold merkle root storage implementation Jan 16, 2025
@netrome
Copy link
Contributor Author

netrome commented Jan 16, 2025

Redefined the PR and issue after @xgreenx's proposal. I will do some further cleanups and create follow-up issues for the next steps, before marking this PR as ready for review.

@netrome netrome changed the title feat: scaffold merkle root storage implementation fault_proving(global_roots): scaffold merkle root storage crate Jan 16, 2025
@netrome netrome force-pushed the 2552-feature-flag-for-global-state-roots-+-first-onchain-table-implementation branch 2 times, most recently from 20c4ac8 to b3a2b04 Compare January 16, 2025 14:39
@netrome netrome force-pushed the 2552-feature-flag-for-global-state-roots-+-first-onchain-table-implementation branch 2 times, most recently from 99ad6a9 to cf3a62b Compare January 16, 2025 16:17
@netrome netrome marked this pull request as ready for review January 16, 2025 20:50
@netrome netrome requested review from a team, acerone85 and xgreenx January 16, 2025 20:51
@netrome netrome changed the title fault_proving(global_roots): scaffold merkle root storage crate fault_proving(global_roots): scaffold global merkle root storage crate Jan 16, 2025
Copy link
Collaborator

@xgreenx xgreenx left a comment

Choose a reason for hiding this comment

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

It would be nice to verify that new crate us not std compatible by updating our CI and ./ci_check.sh script=)

@netrome
Copy link
Contributor Author

netrome commented Jan 17, 2025

It would be nice to verify that new crate us not std compatible by updating our CI and ./ci_check.sh script=)

Good point, fixed the no-std build and updated the CI checks in e0bd85c and 1c1404d

@netrome netrome requested a review from xgreenx January 17, 2025 09:42
@netrome netrome force-pushed the 2552-feature-flag-for-global-state-roots-+-first-onchain-table-implementation branch from d2cdb38 to 81b6582 Compare January 28, 2025 13:12
@netrome netrome requested review from acerone85 and xgreenx January 28, 2025 13:14
@netrome
Copy link
Contributor Author

netrome commented Jan 28, 2025

one of my commits broke the CI XD but that aside, it looks good to me. Happy to approve and reapprove once the CI passes

Oh I see, I fixed it now. Would love to get some re-approvals.

@netrome netrome dismissed rafal-ch’s stale review January 28, 2025 13:32

Addressed all comments, and he's out sick.

@netrome netrome enabled auto-merge (squash) January 28, 2025 13:34
@netrome netrome merged commit 4aed8f5 into master Jan 28, 2025
33 checks passed
@netrome netrome deleted the 2552-feature-flag-for-global-state-roots-+-first-onchain-table-implementation branch January 28, 2025 16:56
@AurelienFT AurelienFT mentioned this pull request Feb 3, 2025
AurelienFT added a commit that referenced this pull request Feb 3, 2025
## Version 0.41.5

### Changed
- [2387](#2387): Update
description `tx-max-depth` flag.
- [2630](#2630): Removed some
noisy `tracing::info!` logs
- [2643](#2643): Before this
fix when tip is zero, transactions that use 30M have the same priority
as transactions with 1M gas. Now they are correctly ordered.

### Added
- [2617](#2617): Add
integration skeleton of parallel-executor.
- [2553](#2553): Scaffold
global merkle root storage crate.
- [2598](#2598): Add initial
test suite for global merkle root storage updates.
- [2635](#2635): Add metrics
to gas price service

### Fixed
- [2632](#2632): Improved
performance of certain async trait impls in the gas price service.
- [2662](#2662): Fix balances
query endpoint cost without indexation and behavior coins to spend with
one parameter at zero.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fault_proving(global_roots): Scaffold merkle root storage crate
5 participants