Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

Add slashing lifecycle to the runtime (no slashing)#794

Merged
drewstone merged 5 commits into
mainfrom
service-update
Oct 22, 2024
Merged

Add slashing lifecycle to the runtime (no slashing)#794
drewstone merged 5 commits into
mainfrom
service-update

Conversation

@drewstone

@drewstone drewstone commented Oct 17, 2024

Copy link
Copy Markdown
Contributor

This PR adds base slashing scaffold. The changes included are:

  • A slashing precompile where developers can integrate slash requests / dispute requests into their Blueprints and service instances.
  • A slashing logic that consume these requests and adds/removes them from the queue. Slashes that come from Slash Origin can add to the queue. Disputes that come from Dispute Origin can remove from the queue.

PRs

* feat: Slashing Queue

* feat: Per Service restaking percentage exposure

* test: add more tests for the unapplied slash
* feat: slashing precompile

* feat: Slashing and Dispute precompiles

* Update subxt

* test: add more tests to cover more cases

* doc: Update internal functions docs
@drewstone drewstone marked this pull request as ready for review October 18, 2024 20:03
@drewstone drewstone changed the title feat: Slashing Queue (#793) Add slashing lifecycle to the runtime Oct 19, 2024
@drewstone drewstone changed the title Add slashing lifecycle to the runtime Add slashing lifecycle to the runtime (no slashing) Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants