Skip to content

Commit 24a3bca

Browse files
Fix: Initialize WhitelistAddresses in test configurations
Co-Authored-By: [email protected] <[email protected]>
1 parent 6eaff9f commit 24a3bca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/testutil/utils.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ func GetAggregatorConfig() *config.Config {
123123
FactoryAddress: common.HexToAddress("0x29adA1b5217242DEaBB142BC3b1bCfFdd56008e7"),
124124
EntrypointAddress: common.HexToAddress("0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"),
125125
PaymasterAddress: common.HexToAddress("0xd99a660fc95f786ead76fb73c11354f499f13b30"),
126+
WhitelistAddresses: []common.Address{},
126127
},
127128
}
128129
}
@@ -253,6 +254,7 @@ func GetTestSmartWalletConfig() *config.SmartWalletConfig {
253254
EntrypointAddress: common.HexToAddress("0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"),
254255
ControllerPrivateKey: controllerPrivateKey,
255256
PaymasterAddress: common.HexToAddress("0xd99a660fc95f786ead76fb73c11354f499f13b30"),
257+
WhitelistAddresses: []common.Address{},
256258
}
257259
}
258260

@@ -272,6 +274,7 @@ func GetBaseTestSmartWalletConfig() *config.SmartWalletConfig {
272274
EntrypointAddress: common.HexToAddress("0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"),
273275
ControllerPrivateKey: controllerPrivateKey,
274276
PaymasterAddress: common.HexToAddress("0xd99a660fc95f786ead76fb73c11354f499f13b30"),
277+
WhitelistAddresses: []common.Address{},
275278
}
276279
}
277280

@@ -287,4 +290,4 @@ func GetTestEventTriggerReason() *avsproto.TriggerReason {
287290
TxHash: "0x53beb2163994510e0984b436ebc828dc57e480ee671cfbe7ed52776c2a4830c8",
288291
LogIndex: 98,
289292
}
290-
}
293+
}

0 commit comments

Comments
 (0)