From 216c8f9134a87ac9290ea7c59cb5a485d6a45ad5 Mon Sep 17 00:00:00 2001 From: robinbryce Date: Tue, 4 Jun 2024 16:22:15 +0100 Subject: [PATCH] build: take fixes and features from go-datatrails-merklelog (#8) AB#9574 Co-authored-by: Robin Bryce --- completeness/.gitignore | 1 + completeness/go.mod | 2 +- completeness/go.sum | 4 ++-- integrity/.gitignore | 1 + integrity/go.mod | 2 +- integrity/go.sum | 4 ++-- logverification/go.mod | 4 ++-- logverification/go.sum | 4 ++-- 8 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 completeness/.gitignore create mode 100644 integrity/.gitignore diff --git a/completeness/.gitignore b/completeness/.gitignore new file mode 100644 index 0000000..5cbe0a2 --- /dev/null +++ b/completeness/.gitignore @@ -0,0 +1 @@ +completeness diff --git a/completeness/go.mod b/completeness/go.mod index e06de6e..99f5e14 100644 --- a/completeness/go.mod +++ b/completeness/go.mod @@ -26,7 +26,7 @@ require ( github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect github.com/datatrails/go-datatrails-common-api-gen v0.4.8 // indirect - github.com/datatrails/go-datatrails-merklelog/massifs v0.0.5 // indirect + github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7 // indirect github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1 // indirect github.com/datatrails/go-datatrails-merklelog/mmrtesting v0.0.1 // indirect github.com/datatrails/go-datatrails-simplehash v0.0.3 // indirect diff --git a/completeness/go.sum b/completeness/go.sum index 196a75c..36afbd3 100644 --- a/completeness/go.sum +++ b/completeness/go.sum @@ -47,8 +47,8 @@ github.com/datatrails/go-datatrails-common-api-gen v0.4.8 h1:IzrhGHi9TyEASjk06Qj github.com/datatrails/go-datatrails-common-api-gen v0.4.8/go.mod h1:zlwFPJXYAK7yqgLtxKUgkF5gw9ddxoqWS+Ruhf+Ksw0= github.com/datatrails/go-datatrails-demos/logverification v0.0.3 h1:P8DU8ZSVqOmMkm37LWhxpWXrBPwhExuGSXpJ+306LyE= github.com/datatrails/go-datatrails-demos/logverification v0.0.3/go.mod h1:5uMSYrfH8l3RNtiu934BXhwym9TorhSp375O188MJrM= -github.com/datatrails/go-datatrails-merklelog/massifs v0.0.5 h1:HfOvtpydHxFeBs3CMLVn4tliHrxfusI5cX8n/y23lYI= -github.com/datatrails/go-datatrails-merklelog/massifs v0.0.5/go.mod h1:9gVKGJXWmQru2TlWF7Ho+jVCQRJTZKoT2L7Lda1batI= +github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7 h1:844V2QxLhVmSkOISu00qHMxs4+XpGU2tHQ433S3akHY= +github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7/go.mod h1:eNMW+ZfyGT4ttj/vAE56Ut1uWfdc9zW1W7yIIl2XF1k= github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1 h1:XggMVejsJ72cAL/msjPhQUSQNeElSh/O1zZcvX4d4JU= github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1/go.mod h1:+Oz8O6bns0rF6gr03xJzKTBzUzyskZ8Gics8/qeNzYk= github.com/datatrails/go-datatrails-merklelog/mmrtesting v0.0.1 h1:sIyXWKTadqmVEsPj66RlKwRKzNQ7hK9SH1fRjZFDCa8= diff --git a/integrity/.gitignore b/integrity/.gitignore new file mode 100644 index 0000000..9ebc721 --- /dev/null +++ b/integrity/.gitignore @@ -0,0 +1 @@ +integrity diff --git a/integrity/go.mod b/integrity/go.mod index 0b32fa9..54a316e 100644 --- a/integrity/go.mod +++ b/integrity/go.mod @@ -27,7 +27,7 @@ require ( github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect github.com/datatrails/go-datatrails-common-api-gen v0.4.8 // indirect - github.com/datatrails/go-datatrails-merklelog/massifs v0.0.5 // indirect + github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7 // indirect github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1 // indirect github.com/datatrails/go-datatrails-merklelog/mmrtesting v0.0.1 // indirect github.com/datatrails/go-datatrails-simplehash v0.0.3 // indirect diff --git a/integrity/go.sum b/integrity/go.sum index 196a75c..36afbd3 100644 --- a/integrity/go.sum +++ b/integrity/go.sum @@ -47,8 +47,8 @@ github.com/datatrails/go-datatrails-common-api-gen v0.4.8 h1:IzrhGHi9TyEASjk06Qj github.com/datatrails/go-datatrails-common-api-gen v0.4.8/go.mod h1:zlwFPJXYAK7yqgLtxKUgkF5gw9ddxoqWS+Ruhf+Ksw0= github.com/datatrails/go-datatrails-demos/logverification v0.0.3 h1:P8DU8ZSVqOmMkm37LWhxpWXrBPwhExuGSXpJ+306LyE= github.com/datatrails/go-datatrails-demos/logverification v0.0.3/go.mod h1:5uMSYrfH8l3RNtiu934BXhwym9TorhSp375O188MJrM= -github.com/datatrails/go-datatrails-merklelog/massifs v0.0.5 h1:HfOvtpydHxFeBs3CMLVn4tliHrxfusI5cX8n/y23lYI= -github.com/datatrails/go-datatrails-merklelog/massifs v0.0.5/go.mod h1:9gVKGJXWmQru2TlWF7Ho+jVCQRJTZKoT2L7Lda1batI= +github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7 h1:844V2QxLhVmSkOISu00qHMxs4+XpGU2tHQ433S3akHY= +github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7/go.mod h1:eNMW+ZfyGT4ttj/vAE56Ut1uWfdc9zW1W7yIIl2XF1k= github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1 h1:XggMVejsJ72cAL/msjPhQUSQNeElSh/O1zZcvX4d4JU= github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1/go.mod h1:+Oz8O6bns0rF6gr03xJzKTBzUzyskZ8Gics8/qeNzYk= github.com/datatrails/go-datatrails-merklelog/mmrtesting v0.0.1 h1:sIyXWKTadqmVEsPj66RlKwRKzNQ7hK9SH1fRjZFDCa8= diff --git a/logverification/go.mod b/logverification/go.mod index 502f4ed..2764319 100644 --- a/logverification/go.mod +++ b/logverification/go.mod @@ -5,9 +5,8 @@ go 1.22 require ( github.com/datatrails/go-datatrails-common v0.16.1 github.com/datatrails/go-datatrails-common-api-gen v0.4.5 - github.com/datatrails/go-datatrails-merklelog/massifs v0.0.1 + github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7 github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1 - github.com/datatrails/go-datatrails-merklelog/mmrtesting v0.0.1 github.com/datatrails/go-datatrails-simplehash v0.0.3 github.com/stretchr/testify v1.9.0 google.golang.org/protobuf v1.34.1 @@ -30,6 +29,7 @@ require ( github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/datatrails/go-datatrails-merklelog/mmrtesting v0.0.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/envoyproxy/protoc-gen-validate v1.0.4 // indirect diff --git a/logverification/go.sum b/logverification/go.sum index fc74a42..1cc0814 100644 --- a/logverification/go.sum +++ b/logverification/go.sum @@ -45,8 +45,8 @@ github.com/datatrails/go-datatrails-common v0.16.1 h1:kaNOwyu8EmBbIR44daWDiUZxBt github.com/datatrails/go-datatrails-common v0.16.1/go.mod h1:IEcuwUaFl+bI1tt30r+Ov2+nvpcAZH/kXmAPGFjkwT4= github.com/datatrails/go-datatrails-common-api-gen v0.4.5 h1:QtxIFSdOEf6bhHZd7g/MfWdCWfPEtwTQNDz3K9u33+c= github.com/datatrails/go-datatrails-common-api-gen v0.4.5/go.mod h1:OQN91xvlW6xcWTFvwsM2Nn4PZwFAIOE52FG7yRl4QPQ= -github.com/datatrails/go-datatrails-merklelog/massifs v0.0.1 h1:OfkTV2CIVXBXBaV6FTi9fW6Wn8m00GDVOVDy1VoGZPM= -github.com/datatrails/go-datatrails-merklelog/massifs v0.0.1/go.mod h1:9gVKGJXWmQru2TlWF7Ho+jVCQRJTZKoT2L7Lda1batI= +github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7 h1:844V2QxLhVmSkOISu00qHMxs4+XpGU2tHQ433S3akHY= +github.com/datatrails/go-datatrails-merklelog/massifs v0.0.7/go.mod h1:eNMW+ZfyGT4ttj/vAE56Ut1uWfdc9zW1W7yIIl2XF1k= github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1 h1:XggMVejsJ72cAL/msjPhQUSQNeElSh/O1zZcvX4d4JU= github.com/datatrails/go-datatrails-merklelog/mmr v0.0.1/go.mod h1:+Oz8O6bns0rF6gr03xJzKTBzUzyskZ8Gics8/qeNzYk= github.com/datatrails/go-datatrails-merklelog/mmrtesting v0.0.1 h1:sIyXWKTadqmVEsPj66RlKwRKzNQ7hK9SH1fRjZFDCa8=