Skip to content

Conversation

@sandtreader
Copy link
Collaborator

Description

Started on a ground-up description of the modules and dataflows, creating example configs for each stage as I go. On
adding the basic ledger one (aiming to avoid governance for now) it turned out we couldn't run without governance. I've
made governance-related subscriptions optional in SPOState and ParameterState.

Related Issue(s)

How was this tested?

Runs successfully up to epoch 215 and generates the same reward result

Checklist

  • My code builds and passes local tests
  • I added/updated tests for my changes, where applicable
  • I updated documentation (if applicable)
  • CI is green for this PR

Impact / Side effects

No particular side effects other than there are now subscriptions that have to be made explicit in the config that were previously default. Considering making all subscriptions explicit, and tidying up config mechanism generally.

Reviewer notes / Areas to focus

Feedback on docs - readability, coverage

Diagram link test - other links to be added if it works!
Also fix bad comment re withdrawals
Make some governance subscriptions optional

Still blocks on startup, more unplugging needed
We need GovernanceState to update the protocol parameters even in
Shelley, but we don't want to include DReps.  This makes the DRep
and SPO distribution subscriptions optional which allows it to work
without them.

Also removed the blocks subscription hack from ParameterState since
we can now depend on Governance State being available - they come as a
couple.

Updated docs and configs to suit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants