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

Add past revisions #98

Merged
merged 3 commits into from
Oct 1, 2024
Merged

Add past revisions #98

merged 3 commits into from
Oct 1, 2024

Conversation

chris124567
Copy link
Member

@chris124567 chris124567 commented Sep 18, 2024

Add endpoint to get past revisions of a contract. Also add logic to delete file contract elements from orphaned blocks - previously we just updated last_contract_revision to point to the latest file_contract_element.

api/server.go Outdated Show resolved Hide resolved
api/server.go Show resolved Hide resolved
api/server.go Outdated Show resolved Hide resolved
persist/sqlite/consensus.go Show resolved Hide resolved
persist/sqlite/contracts.go Outdated Show resolved Hide resolved
persist/sqlite/contracts.go Outdated Show resolved Hide resolved
persist/sqlite/contracts.go Outdated Show resolved Hide resolved
persist/sqlite/init.sql Show resolved Hide resolved
api/server.go Show resolved Hide resolved
persist/sqlite/transactions.go Show resolved Hide resolved
@n8maninger n8maninger merged commit 4dece7a into master Oct 1, 2024
8 checks passed
@n8maninger n8maninger deleted the add-past-revisions branch October 1, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants