mimblewimble / grin-wallet

Grin Wallet
Apache License 2.0
183 stars 133 forks source link

[Contracts] Experimental Slate v5 #677

Closed yeastplume closed 1 year ago

yeastplume commented 1 year ago

Slate V5 changes in order to provide experimental support to Early Payment Proofs for use with contract transaction workflows. This aims to provide the new slate fields in a V5 Slate as well as provide all needed v4 conversions and tests.

Specific slate changes are [WIP]:

PaymentInfoV5 Struct

yeastplume commented 1 year ago

Initial pass at defining all fields and serialization done, see edited comments above. Given that all versions of the slate previous to V4 were removed, should likely implement some tests to validate upgrading and downgrading of slates between V4 and V5

yeastplume commented 1 year ago

Going to merge shortly into contracts branch