Skip to content

[DO NOT COMMENT. STILL DRAFT]: Str 1961 checkpoint sync#1849

Draft
bewakes wants to merge 12 commits into
mainfrom
STR-1961-checkpoint-sync
Draft

[DO NOT COMMENT. STILL DRAFT]: Str 1961 checkpoint sync#1849
bewakes wants to merge 12 commits into
mainfrom
STR-1961-checkpoint-sync

Conversation

@bewakes
Copy link
Copy Markdown
Contributor

@bewakes bewakes commented May 22, 2026

Description

This is in draft now so please refrain from commenting. The reason this is in draft is for myself to review it nicely(I like github's view) and to tag codex.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature/Enhancement (non-breaking change which adds functionality or enhances an existing one)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor
  • New or updated tests
  • Dependency Update

Notes to Reviewers

Is this PR addressing any specification, design doc or external reference document?

  • Yes
  • No

If yes, please add relevant links:

Checklist

  • I have performed a self-review of my code.
  • I have commented my code where necessary.
  • I have updated the documentation if needed.
  • My changes do not introduce new warnings.
  • I have added (where necessary) tests that prove my changes are effective or that my feature works.
  • New and existing tests pass with my changes.
  • I have disclosed my use of AI in the body of this PR.

Related Issues

@bewakes
Copy link
Copy Markdown
Contributor Author

bewakes commented May 22, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 169826a580

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +429 to +431
let record = AccountUpdateRecord::new(
None,
*update.seqno().inner(),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve update metadata for checkpoint-indexed rows

Checkpoint sync stores each AccountUpdateRecord with update_meta = None, but OLRpcServer::get_acct_epoch_summary currently treats missing update_meta as an internal error path (“checkpoint-sync row not serveable here”). That means any checkpoint-synced epoch containing snark updates will fail strata_getAccountEpochSummary instead of returning data, breaking the new checkpoint-node parity flow and client RPC behavior for active accounts.

Useful? React with 👍 / 👎.

ServiceType.Strata: sequencer,
ServiceType.StrataSigner: signer,
STRATA_FULLNODE_SERVICE_NAME: fullnode,
ServiceType.StrataCheckpointNode: fullnode,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep fullnode service key stable in sequencer/fullnode env

This environment now registers the fullnode under ServiceType.StrataCheckpointNode, but the same module still exposes STRATA_FULLNODE_SERVICE_NAME = "strata_fullnode" and existing tests fetch the fullnode with that key. Using this env will therefore fail service lookup for those consumers, because the expected strata_fullnode entry is no longer present in the returned services map.

Useful? React with 👍 / 👎.

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.

1 participant