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

consensus: Disallow contract revision after proof window opens #188

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

lukechampine
Copy link
Member

Slightly worrisome that I missed this check when porting siad... 👀
This demonstrates why it's insufficient to rely on the fact that core can sync the existing chain: those are all valid blocks. Syncing mainnet tells us nothing about whether core will behave the same as siad with respect to invalid blocks. So we should probably use the fuzzer to pass blocks to both core and siad, checking that either they both accept or both reject.

@n8maninger
Copy link
Member

n8maninger commented Aug 11, 2024

Can you add a regression test with some tests of good and bad blocks?

@lukechampine
Copy link
Member Author

done

@n8maninger n8maninger merged commit 9dffffb into master Aug 12, 2024
8 checks passed
@n8maninger n8maninger deleted the revision-window branch August 12, 2024 17:27
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