@@ -289,10 +289,10 @@ func TestConfigureChainsForLanesFromTopology_HappyPathAndCrossFamily(t *testing.
289289 CommitteeVerifiers : []changesets.CommitteeVerifierInputConfig {
290290 {
291291 CommitteeQualifier : "default" ,
292- RemoteChains : map [uint64 ]changesets.CommitteeVerifierRemoteChainConfig {
293- remoteEVM : {FeeUSDCents : ptrTo [uint16 ](10 ), GasForVerification : ptrTo [uint32 ](20 ), PayloadSizeBytes : ptrTo [uint16 ](30 )},
294- remoteSolana : {FeeUSDCents : ptrTo [uint16 ](40 ), GasForVerification : ptrTo [uint32 ](50 ), PayloadSizeBytes : ptrTo [uint16 ](60 )},
295- },
292+ RemoteChains : map [uint64 ]changesets.CommitteeVerifierRemoteChainConfig {
293+ remoteEVM : {FeeUSDCents : ptrTo [uint16 ](10 ), GasForVerification : ptrTo [uint32 ](20 ), PayloadSizeBytes : ptrTo [uint16 ](30 )},
294+ remoteSolana : {FeeUSDCents : ptrTo [uint16 ](40 ), GasForVerification : ptrTo [uint32 ](50 ), PayloadSizeBytes : ptrTo [uint16 ](60 )},
295+ },
296296 },
297297 },
298298 RemoteChains : map [uint64 ]changesets.PartialRemoteChainConfig {
@@ -919,12 +919,19 @@ func TestConfigureChainsForLanesFromTopology_VerifyPreconditions(t *testing.T) {
919919 )
920920 err := cs .VerifyPreconditions (env , changesets.ConfigureChainsForLanesFromTopologyConfig {
921921 Topology : & offchain.EnvironmentTopology {
922+ IndexerAddress : []string {"http://indexer:8080" },
922923 NOPTopology : & offchain.NOPTopology {
923- NOPs : []offchain.NOPConfig {{Alias : "nop-1" }},
924+ NOPs : []offchain.NOPConfig {{Alias : "nop-1" , Name : "nop-1-name" }},
924925 Committees : map [string ]offchain.CommitteeConfig {
925- "default" : {Qualifier : "default" , ChainConfigs : map [string ]offchain.ChainCommitteeConfig {
926- fmt .Sprintf ("%d" , remoteSelector ): {NOPAliases : []string {"nop-1" }, Threshold : 1 },
927- }},
926+ "default" : {
927+ Qualifier : "default" ,
928+ Aggregators : []offchain.AggregatorConfig {
929+ {Name : "agg-1" , Address : "http://aggregator:8080" },
930+ },
931+ ChainConfigs : map [string ]offchain.ChainCommitteeConfig {
932+ fmt .Sprintf ("%d" , remoteSelector ): {NOPAliases : []string {"nop-1" }, Threshold : 1 },
933+ },
934+ },
928935 },
929936 },
930937 },
@@ -949,12 +956,19 @@ func TestConfigureChainsForLanesFromTopology_VerifyPreconditions(t *testing.T) {
949956 )
950957 err := cs .VerifyPreconditions (env , changesets.ConfigureChainsForLanesFromTopologyConfig {
951958 Topology : & offchain.EnvironmentTopology {
959+ IndexerAddress : []string {"http://indexer:8080" },
952960 NOPTopology : & offchain.NOPTopology {
953- NOPs : []offchain.NOPConfig {{Alias : "nop-1" }},
961+ NOPs : []offchain.NOPConfig {{Alias : "nop-1" , Name : "nop-1-name" }},
954962 Committees : map [string ]offchain.CommitteeConfig {
955- "default" : {Qualifier : "default" , ChainConfigs : map [string ]offchain.ChainCommitteeConfig {
956- fmt .Sprintf ("%d" , remoteSelector ): {NOPAliases : []string {"nop-1" }, Threshold : 1 },
957- }},
963+ "default" : {
964+ Qualifier : "default" ,
965+ Aggregators : []offchain.AggregatorConfig {
966+ {Name : "agg-1" , Address : "http://aggregator:8080" },
967+ },
968+ ChainConfigs : map [string ]offchain.ChainCommitteeConfig {
969+ fmt .Sprintf ("%d" , remoteSelector ): {NOPAliases : []string {"nop-1" }, Threshold : 1 },
970+ },
971+ },
958972 },
959973 },
960974 },
0 commit comments