Conversation
fn-38.1: Add clock field to WitnessServerInner, remove Utc::now() from submit_event handler fn-38.2: Replace 7 anyhow::anyhow!() calls with InitError variants in identity_adapter.rs fn-38.3: Add missing verify_chain_with_witnesses and compile_policy imports to __init__.py
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WitnessServerStateinstead of callingUtc::now()insubmit_eventhandler. Removes#[allow(clippy::disallowed_methods)]from the handler.anyhow::anyhow!()calls withInitErrorvariants (Crypto,Keri,Registry) inidentity_adapter.rs. No moreanyhowin Layer 4.verify_chain_with_witnessesandcompile_policyimports to__init__.py. All 48__all__items now importable.Test plan
cargo nextest run --workspace— 1593 tests passcargo clippy --all-targets --all-features -- -D warningscleanpython -c "from auths import verify_chain_with_witnesses, compile_policy"— OK