Two new test cases added to cover the scenario where a party opens a position and keeps it open over multiple epochs. If the position is larger than the network parameter rewards.activityStreak.minQuantumOpenVolume then the party should be deemed active.
Tests failing as party is only being considered active in the epoch they open the position.
rewards.activityStreak.minQuantumTradeVolume set high so we only consider open positions for activity
Epoch 1: party opens position that is large enough to be considered active
Move to next epoch, check stats, activity streak incremented π
Epoch 2: party places no new trades but their position remains open
Move to next epoch, check stats, inactivity streak incremented π΄
Expected behaviour
rewards.activityStreak.minQuantumTradeVolume set high so we only consider open positions for activity
Epoch 1: party opens position that is large enough to be considered active
Move to next epoch, check stats, activity streak incremented π
Epoch 2: party places no new trades but their position remains open (they should be considered active)
Move to next epoch, check stats, activity streak incremented π’
Steps to reproduce
1. checkout feat/activity_streak_tests
2. cd core
3. go test -v ./integration/... --godog.format=pretty $(pwd)/integration/features/activity-streak/0086-ASPR-evaluating_activity.feature:154
Problem encountered
Two new test cases added to cover the scenario where a party opens a position and keeps it open over multiple epochs. If the position is larger than the network parameter
rewards.activityStreak.minQuantumOpenVolume
then the party should be deemed active.Tests failing as party is only being considered active in the epoch they open the position.
PR - https://github.com/vegaprotocol/vega/pull/9503
Observed behaviour
rewards.activityStreak.minQuantumTradeVolume
set high so we only consider open positions for activityExpected behaviour
rewards.activityStreak.minQuantumTradeVolume
set high so we only consider open positions for activitySteps to reproduce
Software version
feat/activity_streak_tests
Failing test
/core//integration/features/activity-streak/0086-ASPR-evaluating_activity.feature:154
Jenkins run
No response
Configuration used
No response
Relevant log output
No response