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(dan_layer/core): track checkpoint number for each checkpoint submitted #4268

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jul 6, 2022

Description

  • tracks the checkpoint number for a contract
  • adds general-purpose metadata table to chain db
  • adds MetadataBackendAdapter that specified interface for databases that support getting and setting metadata

Motivation and Context

This PR adds functionality to persist the checkpoint number each time a checkpoint is submitted so that sequential checkpoints are submitted.

How Has This Been Tested?

Manually - VN submits sequential checkpoints

@sdbondi sdbondi changed the title Dan layer track checkpoints feat(dan_layer/core): track checkpoint number for each checkpoint submitted Jul 6, 2022
@sdbondi sdbondi force-pushed the dan-layer-track-checkpoints branch from 530699e to 1ee920b Compare July 6, 2022 12:48
@sdbondi sdbondi force-pushed the dan-layer-track-checkpoints branch from 1ee920b to d40e2f0 Compare July 7, 2022 07:07
@aviator-app aviator-app bot merged commit 16e07a0 into tari-project:development Jul 7, 2022
@sdbondi sdbondi deleted the dan-layer-track-checkpoints branch July 7, 2022 11:02
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.

2 participants