Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
iansuvak committed Dec 18, 2024
1 parent 7bc6a49 commit 7ef30a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.22.10
require (
github.com/alexliesenfeld/health v0.8.0
github.com/ava-labs/avalanchego v1.12.1-0.20241210172525-c7ebd8fbae88
github.com/ava-labs/coreth v0.13.9-rc.1
github.com/ava-labs/icm-contracts v1.0.9-0.20241218145356-cd512247d9e2
github.com/ava-labs/subnet-evm v0.6.13-0.20241205165027-6c98da796f35
github.com/aws/aws-sdk-go-v2 v1.32.6
Expand Down Expand Up @@ -34,6 +33,7 @@ require (
github.com/DataDog/zstd v1.5.2 // indirect
github.com/NYTimes/gziphandler v1.1.1 // indirect
github.com/VictoriaMetrics/fastcache v1.12.1 // indirect
github.com/ava-labs/coreth v0.13.9-rc.1 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.47 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.21 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.25 // indirect
Expand Down
7 changes: 1 addition & 6 deletions signature-aggregator/aggregator/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ import (
"github.com/ava-labs/avalanchego/utils/logging"
"github.com/ava-labs/avalanchego/utils/set"
avalancheWarp "github.com/ava-labs/avalanchego/vms/platformvm/warp"
corethMsg "github.com/ava-labs/coreth/plugin/evm/message"
"github.com/ava-labs/icm-services/peers"
"github.com/ava-labs/icm-services/signature-aggregator/aggregator/cache"
"github.com/ava-labs/icm-services/signature-aggregator/metrics"
"github.com/ava-labs/icm-services/utils"
msg "github.com/ava-labs/subnet-evm/plugin/evm/message"
"go.uber.org/zap"
"google.golang.org/protobuf/proto"
)
Expand All @@ -45,9 +43,6 @@ const (
)

var (
codec = msg.Codec
corethCodec = corethMsg.Codec

// Errors
errNotEnoughSignatures = errors.New("failed to collect a threshold of signatures")
errNotEnoughConnectedStake = errors.New("failed to connect to a threshold of stake")
Expand All @@ -67,7 +62,7 @@ type SignatureAggregator struct {

func NewSignatureAggregator(
network peers.AppRequestNetwork,
logger logging.Logger,
logg logging.Logger,
messageCreator message.Creator,
signatureCacheSize uint64,
metrics *metrics.SignatureAggregatorMetrics,
Expand Down

0 comments on commit 7ef30a1

Please # to comment.