ceramicnetwork / rust-ceramic

Implementation of the Ceramic protocol in Rust
Other
34 stars 10 forks source link

refactor: more prep for signed event validation #526

Open dav1do opened 6 days ago

dav1do commented 6 days ago

Split out from #503. Creates some new types for event service validation and adjusts the service to use the result, even though it's a no-op in reality. Incorporated some of the feedback on that PR and will need to rebase that one on top of this where the actual validation logic is implemented. Still some questions about how to represent the unvalidated/validated state machine, these simple structs are local to the crate and may be sufficient, but having a validated::Event from the event crate is possible.

linear[bot] commented 6 days ago

AES-277 validate writes from api/recon before storing