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

fix: just in time update #270

Merged
merged 19 commits into from
Sep 27, 2023
Merged

fix: just in time update #270

merged 19 commits into from
Sep 27, 2023

Conversation

QuantumExplorer
Copy link
Member

Issue being fixed or feature implemented

There was an issue with just in time updating, this should fix those issues.
Another issue discovered was that the costs of an intermediate node update in merk was not using the layered calculation causing us to say that we were replacing an incorrect amount of bytes.

What was done?

We now have a callback for costs from merk to grovedb for value defined costs. This allows grovedb to have fine tuned control over merk costs.

How Has This Been Tested?

Breaking Changes

This is a breaking change that will affect Drive.

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 made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@QuantumExplorer QuantumExplorer changed the base branch from master to develop September 27, 2023 04:26
@QuantumExplorer QuantumExplorer merged commit 5bed4f5 into develop Sep 27, 2023
7 checks passed
@QuantumExplorer QuantumExplorer deleted the fix/just_in_time_update branch September 27, 2023 18: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