From d60e9613bce341e1c7f712b91d12159720f2b0be Mon Sep 17 00:00:00 2001 From: Ian Suvak Date: Thu, 9 Jan 2025 12:56:20 -0500 Subject: [PATCH] renamed trackedL1s to trackedSubnets --- scripts/versions.sh | 2 +- tests/utils/signature_aggregator.go | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/versions.sh b/scripts/versions.sh index b033e85cf..294a4d4ad 100755 --- a/scripts/versions.sh +++ b/scripts/versions.sh @@ -31,7 +31,7 @@ function extract_commit() { # ICM_SERVICES_VERSION is needed for the E2E tests but is not a direct dependency since that would create a circular dependency. # ICM_SERVICES_VERSION=${ICM_SERVICES_VERSION:-'signature-aggregator-v1.0.0-rc.0'} -ICM_SERVICES_VERSION=${ICM_SERVICES_VERSION:-'7d1e095dc84913d28c9c82806f240595e8cd4c8b'} +ICM_SERVICES_VERSION=${ICM_SERVICES_VERSION:-'303b307e816364f62ef2905694ac6d0652323248'} # Don't export them as they're used in the context of other calls AVALANCHEGO_VERSION=${AVALANCHEGO_VERSION:-$(extract_commit "$(getDepVersion github.com/ava-labs/avalanchego)")} diff --git a/tests/utils/signature_aggregator.go b/tests/utils/signature_aggregator.go index a42b24e80..80a9c9a17 100644 --- a/tests/utils/signature_aggregator.go +++ b/tests/utils/signature_aggregator.go @@ -35,7 +35,7 @@ type SignatureAggregator struct { type SignatureAggregatorConfig struct { PChainAPI ApiConfig `json:"p-chain-api"` InfoAPI ApiConfig `json:"info-api"` - L1IDs []string `json:"tracked-l1s"` + SubnetIDs []string `json:"tracked-subnet-ids"` ApiPort int `json:"api-port"` AllowPrivateIPs bool `json:"allow-private-ips"` } @@ -62,12 +62,12 @@ func (s *SignatureAggregator) Shutdown() { } // Aggregator utils -func NewSignatureAggregator(apiUri string, l1IDs []ids.ID) *SignatureAggregator { +func NewSignatureAggregator(apiUri string, subnetIDs []ids.ID) *SignatureAggregator { sigAggPath := os.Getenv("SIG_AGG_PATH") Expect(sigAggPath).ShouldNot(BeEmpty()) - l1IdStrings := make([]string, 0, len(l1IDs)) - for _, l1Id := range l1IDs { - l1IdStrings = append(l1IdStrings, l1Id.String()) + subnetIDStrings := make([]string, 0, len(subnetIDs)) + for _, subnetID := range subnetIDs { + subnetIDStrings = append(subnetIDStrings, subnetID.String()) } cfg := SignatureAggregatorConfig{ PChainAPI: ApiConfig{ @@ -76,7 +76,7 @@ func NewSignatureAggregator(apiUri string, l1IDs []ids.ID) *SignatureAggregator InfoAPI: ApiConfig{ BaseURL: apiUri, }, - L1IDs: l1IdStrings, + SubnetIDs: subnetIDStrings, ApiPort: DEFAULT_API_PORT, AllowPrivateIPs: true, }