Skip to content

Commit

Permalink
Add missing deployment arg to ToS in core tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KuphJr committed Jul 9, 2024
1 parent e44bb72 commit 8afc399
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ func StartNewChainWithContracts(t *testing.T, nClients int) (*bind.TransactOpts,
}
var initialAllowedSenders []common.Address
var initialBlockedSenders []common.Address
allowListAddress, _, allowListContract, err := functions_allow_list.DeployTermsOfServiceAllowList(owner, b, allowListConfig, initialAllowedSenders, initialBlockedSenders)
// The allowlist requires a pointer to the previous allowlist. If none exists, use the null address.
var nullPreviousAllowlist common.Address
allowListAddress, _, allowListContract, err := functions_allow_list.DeployTermsOfServiceAllowList(owner, b, allowListConfig, initialAllowedSenders, initialBlockedSenders, nullPreviousAllowlist)
require.NoError(t, err)

// Deploy Coordinator contract (matches updateConfig() in FunctionsBilling.sol)
Expand Down

0 comments on commit 8afc399

Please sign in to comment.