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

Feature/transaction fuel #502

Merged
merged 16 commits into from
Jun 12, 2023
Merged

Feature/transaction fuel #502

merged 16 commits into from
Jun 12, 2023

Conversation

zonotope
Copy link
Contributor

This patch adds fuel tracking to transactions using the fuel-tracker infrastructure implemented previously for queries, and removes auto-generation of [* ":rdf/type" ":rdfs/Class"] flakes for new iris immediately used as classes in a transaction for consistency and explicitness.

There is also more cleanup to remove some references to the legacy :block db field that's no longer used, as well as removing the obsolete fluree.db.query.schema namespace.

Closes #242

@zonotope zonotope requested a review from a team June 12, 2023 14:11
@zonotope zonotope self-assigned this Jun 12, 2023
Copy link
Contributor

@dpetran dpetran left a comment

Choose a reason for hiding this comment

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

This looks good, I appreciate the cleanup of the block references and the new api namespace.

My understanding of the major functional changes are threading the fuel tracker through the transact pipeline, the head of which is now in a new namespace. The tracker tracks how many flakes are created.

There was also the addition of the transact! function to the top-level api, which is a nice convenience.

@zonotope
Copy link
Contributor Author

There was also the addition of the transact! function to the top-level api, which is a nice convenience.

You're right! I forgot about that.

@zonotope zonotope merged commit 07a8f33 into main Jun 12, 2023
@zonotope zonotope deleted the feature/transaction-fuel branch June 12, 2023 15:32
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.

Calculate Actual Fuel Costs
2 participants