Skip to content

Commit

Permalink
chore: comments and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
uri-99 committed Jan 14, 2025
1 parent 39b5a42 commit 6eee157
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions core/chainio/avs_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
ethcommon "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
servicemanager "github.com/yetanotherco/aligned_layer/contracts/bindings/AlignedLayerServiceManager"
contractERC20Mock "github.com/yetanotherco/aligned_layer/contracts/bindings/ERC20Mock"
"github.com/yetanotherco/aligned_layer/core/config"
Expand All @@ -28,7 +27,7 @@ type AvsReader struct {
}

func NewAvsReaderFromConfig(baseConfig *config.BaseConfig) (*AvsReader, error) {

buildAllConfig_v0113 := eigenClientsV0113.BuildAllConfig{
EthHttpUrl: baseConfig.EthRpcUrl,
EthWsUrl: baseConfig.EthWsUrl,
Expand All @@ -40,7 +39,7 @@ func NewAvsReaderFromConfig(baseConfig *config.BaseConfig) (*AvsReader, error) {

clients_v0113, err := eigenClientsV0113.BuildReadClients(buildAllConfig_v0113, baseConfig.Logger)
if err != nil {
log.Warn("Failed to build v0.1.13 clients, trying to build v0.2.0-beta.1 clients", "err", err)
baseConfig.Logger.Warn("Failed to build v0.1.13 clients, trying to build v0.2.0-beta.1 clients", "err", err)
// v0.1.13 failed,
// We build the V0.2.0-beta.1 clients
buildAllConfig := eigenClients.BuildAllConfig{
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ go 1.22.2

require (
github.com/Layr-Labs/eigensdk-go v0.2.0-beta.1
github.com/Layr-Labs/eigensdk-go-v0.1.13 v0.1.13
github.com/Layr-Labs/eigensdk-go-v0.1.13 v0.1.13 // We make GO believe this library exists
github.com/ethereum/go-ethereum v1.14.0
github.com/prometheus/client_golang v1.19.1
github.com/urfave/cli/v2 v2.27.1
golang.org/x/crypto v0.22.0
)

// And we make a replace of it to a specific version.
replace github.com/Layr-Labs/eigensdk-go-v0.1.13 => github.com/Layr-Labs/eigensdk-go v0.1.13

require (
Expand Down

0 comments on commit 6eee157

Please sign in to comment.