Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@1kresh
Copy link
Collaborator

@1kresh 1kresh commented Oct 15, 2024

No description provided.


function _burnerOnSlash(bytes32 subnetwork, address operator, uint256 amount, uint48 captureTimestamp) internal {
address burner = IVault(vault).burner();
if (burner != address(0)) {
Copy link
Member

Choose a reason for hiding this comment

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

mb only if hook enabled?

Copy link
Collaborator Author

@1kresh 1kresh Oct 15, 2024

Choose a reason for hiding this comment

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

New base init param for slasher?

Copy link
Member

Choose a reason for hiding this comment

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

yeah, If vault have normal slasher we don't need to call hook

@1kresh 1kresh merged commit 35df819 into stage Oct 15, 2024
1 of 2 checks passed
@1kresh 1kresh deleted the burner-hook branch December 4, 2024 14:07
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