Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forestrie trust level updates supporting confirmation of forestrie events #10

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

robinbryce
Copy link
Collaborator

@robinbryce robinbryce commented Jan 13, 2024

  • Add the confirmation states representing the forestrie trust levels as described here: https://github.com/datatrails/epic-8120-scalable-proof-mechanisms/blob/main/event-trust-levels.md
  • Add a oneof to EventResponse to take the proof_details for the merklelog proof mechanism
  • Add the necessary proto messages to support forestrie notifying assetstorev2confirmer of event confirmationstatus COMMITTED
  • Fix the include paths for openapiv2
  • simplify the include path discovery
  • add docker-all target for people who don't want to build on their host (which is a lot faster)
  • export the proto dependencies under proto-include so consumers of go-datatrails-common-api do not need to replicate the location and fetching of same

@robinbryce robinbryce force-pushed the dev/robin/8859-assetconfirmer-forestrie-changes branch 2 times, most recently from 09fbfff to 1d3689f Compare January 13, 2024 10:58
* Add the confirmation states representing the forestrie trust levels
as described here:

https://github.com/datatrails/\
  epic-8120-scalable-proof-mechanisms/blob/main/event-trust-levels.md

* Add the provisional extra details we need in the event for the
MERKLE_LOG proof mechanism

* Use a single oneof per proof mech details

fix: the include paths for openapiv2

build: simplify the include path discovery
build: export the proto dependencies under proto-include

This means consumers do not need to replicate the tricky go list
based include path discovery

ci: add a job to check the dockerall task works

But note this is disabled due to acr permissions issues

For people who can't or wont install protoc and go

AB#8859

remove fields that are not settled yet

use oneof for proof_details
@robinbryce robinbryce force-pushed the dev/robin/8859-assetconfirmer-forestrie-changes branch from da042e2 to db8ea99 Compare January 15, 2024 08:31
@robinbryce robinbryce changed the title fix: the include paths for openapiv2 forestrie trust level updates supporting confirmation of forestrie events Jan 15, 2024
Taskfile.yml Outdated Show resolved Hide resolved
honourfish
honourfish previously approved these changes Jan 15, 2024
build: use 'local-all' as the native host target and reserve 'all' for
people who want no surprises

fix: committed -> commit for the field carrying the log commit info

move the forestrie CONFIRMED comment to the original CONFIRMED constant
and remove the confusing duplicate
@robinbryce robinbryce merged commit eba37e0 into main Jan 15, 2024
3 checks passed
@robinbryce robinbryce deleted the dev/robin/8859-assetconfirmer-forestrie-changes branch January 15, 2024 09:38


// The details stored in the SaaS db for a proof mech MERKLE_LOG commitment
message MerklLogEntry {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be MerkleLogEntry? and also can we do same with commited -> commit here?

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.

3 participants