Skip to content

refactor: remove redistribution delay #1485

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

Merged

Conversation

0xClandestine
Copy link
Member

@0xClandestine 0xClandestine commented Jun 24, 2025

Motivation:

We've decided we do not want delays on redistributions.

Modifications:

  • Removed SlashEscrowFactory + SlashEscrow and all relevant changes.

Result:

Tokens are immediately redistributed upon calling clearBurnOrRedistributableShares.

@0xClandestine 0xClandestine changed the title refactor: remove SlashEscrowFactory refactor: remove redistribution delay Jun 26, 2025
Copy link
Collaborator

@ypatil12 ypatil12 left a comment

Choose a reason for hiding this comment

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

Aren't we also preventing the EIGEN strategy from being added to the redistributing operator sets?

@0xClandestine 0xClandestine force-pushed the refactor/remove-slash-escrow branch from f284dbd to 82e552b Compare July 1, 2025 18:04
}

/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[35] private __gap;
uint256[31] private __gap;
Copy link
Member

Choose a reason for hiding this comment

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

Correct gap, we only use 3 more slots

Copy link
Member

@wadealexc wadealexc left a comment

Choose a reason for hiding this comment

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

LGTM after gap correction.

Either squash merge this into release-dev, or rebase this before merging to cut down on the # of commits

@0xClandestine 0xClandestine merged commit 8cff169 into release-dev/redistribution-changes Jul 2, 2025
14 checks passed
@0xClandestine 0xClandestine deleted the refactor/remove-slash-escrow branch July 2, 2025 15:54
0xClandestine added a commit that referenced this pull request Jul 2, 2025
**Motivation:**

We've decided we do not want delays on redistributions.

**Modifications:**

- Removed `SlashEscrowFactory` + `SlashEscrow` and all relevant changes.

**Result:**

Tokens are immediately redistributed upon calling
`clearBurnOrRedistributableShares`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants