chore(ci): update GitHub Actions workflow to use latest actions and consolidate build steps
Signed-off-by: cryptodj413 <[email protected]>
Signed-off-by: cryptodj413 <[email protected]>
Signed-off-by: cryptodj413 <[email protected]>
- Rename PotDeltas to BootstrapPotDeltas to distinguish from PotDeltasMessage - Replace assert! with anyhow::bail! for pot delta overflow checks in bootstrap - Change bootstrap() to return Result<()> and propagate errors through call chain - Add checked arithmetic for pot delta calculations in streaming_snapshot.rs - Fix misleading comment about when pot deltas are applied (immediately at bootstrap)
- Remove skip_first_epoch_rewards and bootstrap_pot_deltas fields from State - Apply pot deltas immediately in bootstrap() instead of storing for later - Pass skip_rewards flag from run loop to complete_previous_epoch_rewards_calculation - Monetary change now always runs; only rewards calculation is skipped on first epoch - Track first epoch in run loop using is_snapshot_mode flag
- Use stake_pool_deposit from protocol params instead of hardcoded 500 ADA - Use enacted_proposal_deposits (sum of actual proposal deposits) for governance refunds instead of hardcoded 100k ADA constant - Remove expired proposal deposit calculation (only IDs available, no amounts) - Add explanatory comments about the limitation
- Fix comment: 'snapshot epoch' -> 'set epoch' in messages.rs - Remove unused stake_key_deposit_refunds variable - Simplify deregistered accounts log message - Remove unused delta_fees from combined pot deltas log - Revert store-spdd default to false in omnibus.toml
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>