Skip to content

Commit

Permalink
fix load compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Apr 8, 2024
1 parent 4a43eb7 commit 20d7574
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions integration-tests/load/functions/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ type S4SecretsCfg struct {
func SetupLocalLoadTestEnv(globalConfig tc.GlobalTestConfig, functionsConfig types.FunctionsTestConfig) (*FunctionsTest, error) {
selectedNetwork := networks.MustGetSelectedNetworkConfig(globalConfig.GetNetworkConfig())[0]
readSethCfg := globalConfig.GetSethConfig()
sethCfg := utils.MergeSethAndEvmNetworkConfigs(log.Logger, selectedNetwork, *readSethCfg)
err := utils.ValidateSethNetworkConfig(sethCfg.Network)
sethCfg, err := utils.MergeSethAndEvmNetworkConfigs(selectedNetwork, *readSethCfg)
if err != nil {
return nil, err
}
err = utils.ValidateSethNetworkConfig(sethCfg.Network)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 20d7574

Please sign in to comment.