diff --git a/Makefile b/Makefile index e74e2cd9..cead7048 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,12 @@ include go/Makefile ##### Protobuf ##### -protoVer=0.11.2 +protoVer=0.14.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) ##### Rust ##### -rustVer=1.65-slim +rustVer=1.71 rustImageName=rust:$(rustVer) rustImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(rustImageName) diff --git a/go/proofs.pb.go b/go/proofs.pb.go index 4003abcc..5ab34c43 100644 --- a/go/proofs.pb.go +++ b/go/proofs.pb.go @@ -63,6 +63,7 @@ func (HashOp) EnumDescriptor() ([]byte, []int) { return fileDescriptor_5e599a3f914c9389, []int{0} } +// * // LengthOp defines how to process the key and value of the LeafOp // to include length information. After encoding the length with the given // algorithm, the length will be prepended to the key and value bytes. @@ -122,6 +123,7 @@ func (LengthOp) EnumDescriptor() ([]byte, []int) { return fileDescriptor_5e599a3f914c9389, []int{1} } +// * // ExistenceProof takes a key and a value and a set of steps to perform on it. // The result of peforming all these steps will provide a "root hash", which can // be compared to the value in a header. @@ -385,6 +387,7 @@ func (*CommitmentProof) XXX_OneofWrappers() []interface{} { } } +// * // LeafOp represents the raw key-value data we wish to prove, and // must be flexible to represent the internal transformation from // the original key-value pairs into the basis hash, for many existing @@ -477,6 +480,7 @@ func (m *LeafOp) GetPrefix() []byte { return nil } +// * // InnerOp represents a merkle-proof step that is not a leaf. // It represents concatenating two children and hashing them to provide the next result. // @@ -552,6 +556,7 @@ func (m *InnerOp) GetSuffix() []byte { return nil } +// * // ProofSpec defines what the expected parameters are for a given proof type. // This can be stored in the client and used to validate any incoming proofs. //