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

fix: slash signature for slashing script #1026

Open
wants to merge 1 commit into
base: slashing-magnitudes-fixes
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions script/tasks/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ forge script ../tasks/allocate_operatorSet.s.sol \
# Slash the OperatorSet (50%)
forge script ../tasks/slash_operatorSet.s.sol \
--rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast \
--sig "run(string memory configFile,address operator,uint32 operatorSetId,uint256 wadToSlash)" \
--sig "run(string memory configFile,address operator,uint32 operatorSetId,address[] memory strategies,uint256[] memory wadsToSlash)" \
-- local/slashing_output.json $SENDER 00000001 0500000000000000000

# Deposit more shares into strategy
Expand Down Expand Up @@ -96,7 +96,7 @@ cast rpc anvil_mine 5 --rpc-url $RPC_URL
# Slash the OperatorSet (50%)
forge script ../tasks/slash_operatorSet.s.sol \
--rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast \
--sig "run(string memory configFile,address operator,uint32 operatorSetId,uint256 wadToSlash)" \
--sig "run(string memory configFile,address operator,uint32 operatorSetId,address[] memory strategies,uint256[] memory wadsToSlash)" \
-- local/slashing_output.json $SENDER 00000001 0500000000000000000

# Complete the withdrawal process
Expand Down