Step 8: Cleanup old constants
- Remove EUR_TRADE_MIN, EUR_TRADE_MAX, PREMIUM_PERCENTAGE from shared_constants.py - Remove eurTradeMin, eurTradeMax, premiumPercentage from shared/constants.json - Update validate_constants.py to not require removed fields - Update seed.py and seed_e2e.py to use defaults if fields don't exist - Update tests to handle missing constants gracefully
This commit is contained in:
parent
41e158376c
commit
549fbf4975
6 changed files with 20 additions and 25 deletions
|
|
@ -27,10 +27,7 @@
|
|||
"slotDurationMinutes": 15,
|
||||
"maxAdvanceDays": 30,
|
||||
"minAdvanceDays": 1,
|
||||
"eurTradeMin": 100,
|
||||
"eurTradeMax": 3000,
|
||||
"eurTradeIncrement": 20,
|
||||
"premiumPercentage": 5,
|
||||
"priceRefreshSeconds": 60,
|
||||
"priceStalenessSeconds": 300,
|
||||
"lightningMaxEur": 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue