Skip to content

Commit

Permalink
fix: patch (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpsanant authored and ypatil12 committed Jan 3, 2025
1 parent c589725 commit 3437acd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions script/releases/v1.0.0-slashing/cleanup/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ func panicOnError(msg string, err error) {
func runScript(args TArgs) error {
ctx := context.Background()

if args.Sender[:2] == "0x" {
args.Sender = args.Sender[2:]
}
fmt.Printf("Sender: %s\n", args.Sender)

eigenpodAbi, err := abi.JSON(strings.NewReader(EigenPodAbi))
panicOnError("failed to load eigenpod abi", err)

Expand Down
3 changes: 2 additions & 1 deletion script/releases/v1.0.0-slashing/cleanup/start.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env bash
go run script.go
cd script/releases/v1.0.0-slashing/cleanup
go run script.go

0 comments on commit 3437acd

Please sign in to comment.