veres-one / veres-one-validator

A ledger validator that accepts either signatures or proof of work
Other
3 stars 0 forks source link

Update validators for dynamic root zcaps #41

Open aljones15 opened 2 years ago

aljones15 commented 2 years ago
  1. adds a new util for generating root zcaps dynamically
  2. Updates tests to use new root zcap feature
  3. Updates proofs for CreateWebLedgerRecords and UpdateWebLedgerRecord to expect new zcaps
  4. Changes the validator for LedgerConfig to use CapabilityInvocation instead of AssertionPurpose
  5. Adds zcap context to ledgerConfig validator
  6. Updates assertions for some tests and also makes corrections to a few tests (such as using a ledger id)

NOTE: this pr does not contain the caveats such as /records or /config.

Tasks

UNFINISHED DON'T MERGE This PR awaits this PR: https://github.com/veres-one/veres-one-validator/pull/42 Also please note this PR has typos in it corrected in https://github.com/veres-one/veres-one-validator/pull/42

TODO: