Skip to content

Make AllowedCodeHashLogic rule reusable and pass block height#474

Merged
quantumagi merged 2 commits intostratisproject:masterfrom
quantumagi:cleanrefs
Mar 18, 2021
Merged

Make AllowedCodeHashLogic rule reusable and pass block height#474
quantumagi merged 2 commits intostratisproject:masterfrom
quantumagi:cleanrefs

Conversation

@quantumagi
Copy link
Contributor

@quantumagi quantumagi commented Mar 18, 2021

Contract permissions can vary with block height and as such we need to pass the block height to this rule. The PoA whitelist checker should probably be using this information too but that is out-of-scope for this PR.

This is a backwards compatible change required by system contracts.

@quantumagi quantumagi merged commit ddf128c into stratisproject:master Mar 18, 2021
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.

2 participants