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

Track contract elements #1703

Merged
merged 9 commits into from
Dec 2, 2024
Merged

Track contract elements #1703

merged 9 commits into from
Dec 2, 2024

Conversation

ChrisSchinnerl
Copy link
Member

@ChrisSchinnerl ChrisSchinnerl commented Nov 27, 2024

This PR adds a contract_elements table which contains elements for all contracts in our database and updates their accumulator proofs. This a requirement for broadcasting file contract related txns such as broadcasting revisions.

@ChrisSchinnerl ChrisSchinnerl self-assigned this Nov 27, 2024
@ChrisSchinnerl ChrisSchinnerl force-pushed the chris/track-contract-elements branch from 5f9fa7a to 40fe64a Compare November 27, 2024 10:18
@ChrisSchinnerl ChrisSchinnerl force-pushed the chris/track-contract-elements branch from b0e3add to d578e86 Compare November 27, 2024 11:09
@ChrisSchinnerl ChrisSchinnerl marked this pull request as ready for review November 27, 2024 12:45
Copy link
Member

@peterjan peterjan left a comment

Choose a reason for hiding this comment

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

left some remarks but overall looks good to go 👍

internal/bus/chainsubscriber.go Outdated Show resolved Hide resolved
internal/sql/migrations.go Show resolved Hide resolved
stores/chain_test.go Outdated Show resolved Hide resolved
stores/sql/chain.go Outdated Show resolved Hide resolved
stores/sql/chain.go Outdated Show resolved Hide resolved
stores/sql/chain.go Outdated Show resolved Hide resolved
stores/sql/chain.go Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl merged commit 6536815 into dev Dec 2, 2024
14 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/track-contract-elements branch December 2, 2024 10:28
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.

2 participants