veres-one / veres-one-validator

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

Use caveats invocation targets #42

Open aljones15 opened 2 years ago

aljones15 commented 2 years ago

Related PRs for attenuated invocationTargets and dynamic root zcaps: https://github.com/veres-one/veres-one-validator/pull/42 https://github.com/veres-one/veres-one-validator/pull/41 https://github.com/digitalbazaar/did-bench-cli/pull/12 https://github.com/veres-one/veres-one-maintainer-cli/pull/3 https://github.com/veres-one/did-veres-one/pull/73 https://github.com/veres-one/veres-one/pull/56

Test: This PR was tested with 4 nodes with a witnessPool document written using the maintainer cli. did-bench-cli managed to write didDocuments to the ledger with no issues. The test script used to test this PR is available via email or gist.

codecov-commenter commented 2 years ago

Codecov Report

Merging #42 (136e1dc) into update-validators-for-invocationTargets (8932dae) will decrease coverage by 0.10%. The diff coverage is 94.11%.

Impacted file tree graph

@@                             Coverage Diff                             @@
##           update-validators-for-invocationTargets      #42      +/-   ##
===========================================================================
- Coverage                                    89.83%   89.73%   -0.11%     
===========================================================================
  Files                                           15       13       -2     
  Lines                                          374      380       +6     
===========================================================================
+ Hits                                           336      341       +5     
- Misses                                          38       39       +1     
Impacted Files Coverage Δ
lib/validators/proofs.js 92.00% <ø> (ø)
lib/validators/helpers.js 76.27% <91.42%> (+2.48%) :arrow_up:
lib/index.js 97.61% <100.00%> (ø)
lib/validators/webLedgerConfiguration.js 100.00% <100.00%> (ø)
schemas/dids.js 100.00% <100.00%> (ø)
schemas/veres-one-validator.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8932dae...136e1dc. Read the comment docs.