essential-contributions / pint

Pint, the constraint-based programming language for declarative blockchains
Apache License 2.0
17 stars 3 forks source link

Support arbitrary expressions as state initializers #839

Closed mohammadfawaz closed 2 weeks ago

mohammadfawaz commented 1 month ago

I don't think there's a specific issue for this yet. We don't need to complicate things too much just yet, but we can start by supporting basic things like:

state s = storage::x + 1;
constraint s' == 5;

This means we need to:

mohammadfawaz commented 2 weeks ago

Clo closes this.