Skip to content

Improve proof interface

Benjamin Herman requested to merge change/improved-programmatic-verification into main
  • Put Uint8Array utilities in their own file, src/bytes.ts
  • Add Base-58 string utilities in file src/base58.ts. Portions of code are adapted from micri-base58, for use under the MIT license.
  • Add Blake2b hashing utility in file src/blake2b. The code is adapted from blakejs, for use under the CC0 license without attribution.
  • Change commit method of operation interface to be synchronous.
  • Add Blake2b serializable operation.
  • Remove @taquito/utils dependency
  • Clean-up Proof class and helper code
  • Add blake2b deserialization mapping
  • Change proofs to commit to Tezos block header instead of published Merkle root
  • Add Block class representing a Tezos block
  • Proof.prototype.derive returns a Tezos block
  • Remove Proof.prototype.verify in favor of using Proof.prototype.derive followed by Block.prototype.lookup
  • Remove VerificationStatus and VerificationResult interfaces
  • Update tests and example proof

Merge request reports