[ ] The effect of OVM's lagging block.timestamp on funding rate calculations. Need to investigate how this affects the funding rate arbitrage, attacks relating to opening and closing a position before an update comes through, etc.
[ ] Fix the test suite to work with L2 futures deployment (CI has been red forever on futures-implementation).
[ ] Derisk our bus factor. We need to get some folks on the Western team to understand the architecture of the futures system, so that if we're asleep or we die, someone else can put out fires.
Motivation
To derisk:
block.timestamp
on funding rate calculations. Need to investigate how this affects the funding rate arbitrage, attacks relating to opening and closing a position before an update comes through, etc.Tasks:
develop
.futures-implementation
).