Skip to content

Commit

Permalink
Merge pull request #160 from Layr-Labs/jb/fix-cli-slashing
Browse files Browse the repository at this point in the history
[1.0.0] Slashing Magnitudes
  • Loading branch information
jbrower95 authored Dec 17, 2024
2 parents f6492b1 + d692923 commit 736ba36
Show file tree
Hide file tree
Showing 17 changed files with 403 additions and 6,318 deletions.
4 changes: 2 additions & 2 deletions cli/commands/assignSubmitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"fmt"

"github.com/Layr-Labs/eigenlayer-contracts/pkg/bindings/EigenPod"
"github.com/Layr-Labs/eigenpod-proofs-generation/cli/core"
"github.com/Layr-Labs/eigenpod-proofs-generation/cli/core/onchain"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/fatih/color"
Expand Down Expand Up @@ -44,7 +44,7 @@ func AssignSubmitterCommand(args TAssignSubmitterArgs) error {
return fmt.Errorf("failed to parse --sender: %w", err)
}

pod, err := onchain.NewEigenPod(common.HexToAddress(args.EigenpodAddress), eth)
pod, err := EigenPod.NewEigenPod(common.HexToAddress(args.EigenpodAddress), eth)
if err != nil {
return fmt.Errorf("error contacting eigenpod: %w", err)
}
Expand Down
4 changes: 2 additions & 2 deletions cli/commands/checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package commands
import (
"context"

"github.com/Layr-Labs/eigenlayer-contracts/pkg/bindings/EigenPod"
"github.com/Layr-Labs/eigenpod-proofs-generation/cli/core"
"github.com/Layr-Labs/eigenpod-proofs-generation/cli/core/onchain"
"github.com/Layr-Labs/eigenpod-proofs-generation/cli/utils"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
Expand Down Expand Up @@ -42,7 +42,7 @@ func CheckpointCommand(args TCheckpointCommandArgs) error {
currentCheckpoint, err := core.GetCurrentCheckpoint(args.EigenpodAddress, eth)
core.PanicOnError("failed to load checkpoint", err)

eigenpod, err := onchain.NewEigenPod(common.HexToAddress(args.EigenpodAddress), eth)
eigenpod, err := EigenPod.NewEigenPod(common.HexToAddress(args.EigenpodAddress), eth)
core.PanicOnError("failed to connect to eigenpod", err)

if currentCheckpoint == 0 {
Expand Down
338 changes: 0 additions & 338 deletions cli/commands/computeCheckpointableValue.go

This file was deleted.

Loading

0 comments on commit 736ba36

Please sign in to comment.