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

Merge DomainAllowlistUpdates into common storage proof #3327

Closed
wants to merge 3 commits into from

Conversation

teor2345
Copy link
Contributor

@teor2345 teor2345 commented Dec 20, 2024

This PR merges the domain chains allow list storage proof into the common storage proof struct. (I split #3329 into a separate PR.)

It also re-arranges those structs so an old storage proofs struct is empty, and then removes that empty struct.

Part of ticket #3281.

Code contributor checklist:

@teor2345 teor2345 added the execution Subspace execution label Dec 20, 2024
@teor2345 teor2345 self-assigned this Dec 20, 2024
@teor2345 teor2345 added the breaking-runtime This PR introduces breaking changes to the runtime label Dec 20, 2024
Base automatically changed from fraud-proof-data-fee to main December 21, 2024 10:37
timestamp,
consensus_transaction_byte_fee,
};
for domain_id in SuccessfulBundles::<T>::iter_keys() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this the right logic, or should there be another list of domains I’m iterating through?
What happens if there aren’t any domains at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added commit 1be717e to also iterate through the runtime upgrades.

@teor2345 teor2345 changed the title Replace BlockDigest and merge DomainAllowlistUpdates storage proofs Merge DomainAllowlistUpdates into common storage proof Dec 23, 2024
@teor2345 teor2345 changed the base branch from main to fraud-proof-data-digest December 23, 2024 00:50
@teor2345 teor2345 force-pushed the fraud-proof-data-runtime branch from 21a678c to 1be717e Compare December 23, 2024 01:38
@teor2345 teor2345 marked this pull request as draft December 23, 2024 09:09
@teor2345
Copy link
Contributor Author

Turns out PR #3329 doesn't work without these changes as well.

@teor2345 teor2345 closed this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-runtime This PR introduces breaking changes to the runtime execution Subspace execution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant