galacticcouncil / galacticcouncil/hydration-node
2 sec blocks
- Dominant language
- Rust
- Stars
- 208
- Forks
- 109
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 3
Description
List of things that need to be adjusted
Might not be complete!
- MILLISECS_PER_BLOCK = 2000 ( from 6000)
- MAXIMUM_BLOCK_WEIGHT
- currently, 2s is reserves for computation
- 500s, 1s or 1.5s?
- we go with 1.5s
- PeriodLength - used in staking -> 2400 ( from 7200)
- Minimum Period
- Set to SLOT_DURATION / 2
- Should remain the same
- OraclePeriod - Short -> currently Fraction::from_bits(16203922234330403022065457496750867212),
- New value ?
- Oracle period in traits
- Set to 20
- new value ? 60?
- Staking
- Period number calculation
- Uses storage called SixSecondsBlockSince
- Needs to be adjusted to 2secondSince?!
- @martinfridrich knows more about this
- Dynamic fees
- Decay adjustment
- Migrations
- Dca - schedule.period recalculation
- Democracy - no longer needed
- Conviction voting
- Scheduler
- Offchain workers - they use 4 or 5 seconds liimit to ensure the job is done within one block, could cause some issues as in some of these cases, there is lot of things to do. we need to measure and adjust.
- HSM
- otc settlements
- liquidations
- Integration tests changes
Contributor guide
Assessment
This issue has not been assessed yet.