Skip to content

Commit

Permalink
fix slash signature
Browse files Browse the repository at this point in the history
  • Loading branch information
grkamil authored and ypatil12 committed Feb 13, 2025
1 parent 3ad7a0a commit b9e2971
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit b9e2971

Please sign in to comment.