From cad4951e6c554d8924a9c7b5502f334ed1f62559 Mon Sep 17 00:00:00 2001 From: Jeremy Letang Date: Fri, 18 Oct 2024 16:58:42 +0100 Subject: [PATCH] chore: add tests for banking Signed-off-by: Jeremy Letang --- core/integration/setup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/integration/setup_test.go b/core/integration/setup_test.go index a2164c0fdc..40cbe20b30 100644 --- a/core/integration/setup_test.go +++ b/core/integration/setup_test.go @@ -233,7 +233,7 @@ func newExecutionTestSetup() *executionTestSetup { execsetup.activityStreak = activitystreak.New(execsetup.log, execsetup.executionEngine, execsetup.broker) execsetup.epochEngine.NotifyOnEpoch(execsetup.activityStreak.OnEpochEvent, execsetup.activityStreak.OnEpochRestore) - execsetup.vesting = vesting.New(execsetup.log, execsetup.collateralEngine, execsetup.activityStreak, execsetup.broker, execsetup.assetsEngine, execsetup.profilesEngine, execsetup.timeService) + execsetup.vesting = vesting.New(execsetup.log, execsetup.collateralEngine, execsetup.activityStreak, execsetup.broker, execsetup.assetsEngine, execsetup.profilesEngine, execsetup.timeService, execsetup.stakingAccount) execsetup.rewardsEngine = rewards.New(execsetup.log, rewards.NewDefaultConfig(), execsetup.broker, execsetup.delegationEngine, execsetup.epochEngine, execsetup.collateralEngine, execsetup.timeService, execsetup.marketActivityTracker, execsetup.topology, execsetup.vesting, execsetup.banking, execsetup.activityStreak) // register this after the rewards engine is created to make sure the on epoch is called in the right order.