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

rusk: Remove allowlist #1257

Merged
merged 22 commits into from
Jan 18, 2024
Merged

rusk: Remove allowlist #1257

merged 22 commits into from
Jan 18, 2024

Conversation

herr-seppia
Copy link
Member

@herr-seppia herr-seppia commented Jan 15, 2024

stake-contract:

  • Remove allowlist
  • Add slash call

node-data:

  • Change FailedIterations to include iterator's generator too

consensus:

  • Change FailedIterations to include only nil quorum certificates

node:

  • Add failed generator check during header validation

rusk:

  • Change rusk::provisioners to filter out slashed stakes
  • Change block processing to slash failed iterations provisioner

@herr-seppia herr-seppia force-pushed the slash branch 13 times, most recently from efa9d45 to 7f55ff1 Compare January 17, 2024 09:02
@herr-seppia herr-seppia changed the title Remove allowlist rusk: Remove allowlist Jan 17, 2024
@herr-seppia herr-seppia marked this pull request as ready for review January 17, 2024 10:10
Copy link
Contributor

@fed-franz fed-franz left a comment

Choose a reason for hiding this comment

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

LGTM overall.
Few nits and comments

rusk/CHANGELOG.md Outdated Show resolved Hide resolved
rusk/CHANGELOG.md Outdated Show resolved Hide resolved
rusk/src/lib/lib.rs Outdated Show resolved Hide resolved
rusk/src/lib/lib.rs Show resolved Hide resolved
rusk/src/lib/vm.rs Show resolved Hide resolved
rusk/src/lib/vm.rs Outdated Show resolved Hide resolved
node-data/src/ledger.rs Show resolved Hide resolved
contracts/stake/src/state.rs Outdated Show resolved Hide resolved
consensus/src/ratification/handler.rs Outdated Show resolved Hide resolved
consensus/src/ratification/handler.rs Outdated Show resolved Hide resolved
@herr-seppia herr-seppia force-pushed the slash branch 2 times, most recently from ea4a43c to 9a5a39d Compare January 17, 2024 14:49
@herr-seppia herr-seppia requested a review from fed-franz January 17, 2024 14:59
rusk/src/lib/vm.rs Outdated Show resolved Hide resolved
rusk/src/lib/lib.rs Show resolved Hide resolved
Copy link
Contributor

@fed-franz fed-franz left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ureeves ureeves left a comment

Choose a reason for hiding this comment

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

Nice! LGTM

@herr-seppia herr-seppia merged commit 7fd05b9 into master Jan 18, 2024
3 checks passed
@herr-seppia herr-seppia deleted the slash branch January 18, 2024 14:01
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.

4 participants