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

feat: state sync #1862

Draft
wants to merge 247 commits into
base: master
Choose a base branch
from
Draft

feat: state sync #1862

wants to merge 247 commits into from

Conversation

ogabrielides
Copy link
Contributor

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

shotonoff and others added 30 commits July 7, 2023 12:33
…n-block' into statesync-create-snapshot-every-n-block
…n-block' into statesync-create-snapshot-every-n-block
…n-block' into statesync-create-snapshot-every-n-block
@ogabrielides ogabrielides marked this pull request as draft May 27, 2024 16:18
@ogabrielides ogabrielides changed the title Feat: state sync feat: state sync May 30, 2024
packages/rs-drive-abci/.env.local Outdated Show resolved Hide resolved
&self.snapshot_fetching_session
}

fn platform(&self) -> &'p Platform<C> {
Copy link
Member

Choose a reason for hiding this comment

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

platform already defined with PlatformApplication

Copy link
Contributor Author

@ogabrielides ogabrielides Jun 2, 2024

Choose a reason for hiding this comment

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

@shumkov handler apply_snapshot_chunk requires that app must implement SnapshotManagerApplication and SnapshotFetchingApplication and not PlatformApplication. (@fominok can explain why)

packages/rs-drive-abci/src/abci/app/mod.rs Outdated Show resolved Hide resolved
packages/rs-drive-abci/src/platform_types/platform/mod.rs Outdated Show resolved Hide resolved
packages/rs-drive-abci/src/config.rs Outdated Show resolved Hide resolved
packages/rs-drive-abci/src/abci/handler/offer_snapshot.rs Outdated Show resolved Hide resolved
packages/rs-drive-abci/src/abci/handler/offer_snapshot.rs Outdated Show resolved Hide resolved
packages/rs-drive-abci/src/abci/handler/offer_snapshot.rs Outdated Show resolved Hide resolved
@shumkov shumkov changed the base branch from v1.0-dev to master August 25, 2024 06:05
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.

None yet