Added oracle data to l2 responses

This commit is contained in:
Luke Steyn
2023-11-26 23:36:45 +01:00
parent 4f579e8dff
commit d8489b7590
4 changed files with 108 additions and 31 deletions

View File

@@ -0,0 +1,7 @@
// TODO : Is it worth adding proper infrastructure for feature flags? .. Would allow more powerful things like toggling them at runtime rather than being hardcoded
export const FEATURE_FLAGS = {
OLD_ORACLE_PRICE_IN_L2: true, // TODO : Remove this once we're confident that NEW_ORACLE_DATA_IN_L2 works .. delete corresponding code
NEW_ORACLE_DATA_IN_L2: true,
};
export default FEATURE_FLAGS;