entropyxyz / programs

Source, toolchain, and examples for using programs on Entropy
https://docs.entropy.xyz/concepts/programs/
GNU Affero General Public License v3.0
19 stars 3 forks source link

Add extra data to program state #37

Closed jakehemmerle closed 10 months ago

jakehemmerle commented 10 months ago

This PR adds an additional extra field to the initial program state. This allows users to include arbitrary data for the program execution that is separate from the message that will be signed.

InitialState.data has been renamed to InitialState.preimage Field InitialState.extra of type Option<Vec<u8>> has been added.

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
constraints ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 9:16pm