boltlabs-inc / tezos-contract

Multi-sig Smart Contract for zkChannels protocol
MIT License
3 stars 1 forks source link

optimize merchant ps pubkey using hash #50

Closed DariusParvin closed 2 years ago

DariusParvin commented 3 years ago

replace the merchant PS pubkeys in storage with a sha3 hash of the pubkeys.

This is a rebased version of the branch optimize-merch-ps-pubkey https://github.com/boltlabs-inc/tezos-contract/tree/optimize-merch-ps-pubkey.

Other than the changes to the main branch that have been incorporated in this new PR, the old branch had moved a couple of variables from storage into global parameters, specifically close_scalar and context_string. An issue for this exists #15.

DariusParvin commented 3 years ago

The PR is in 'draft' because the pytezos and sandbox tests need to be updated before it's merged. The smartpy script has the hash-optimized version of the contract and the tests have been updated.

DariusParvin commented 3 years ago

53 should be merged first, then this PR can be rebased.

jakinyele commented 3 years ago

53 should be merged first, then this PR can be rebased.

@DariusParvin Just merged #53 so you should be able to rebase from main. Please let me know when you anticipate this PR being ready for review. Thanks!