Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[200 SigmaUSD] Implement groupGenerator global var #332

Closed
greenhat opened this issue Jul 5, 2021 · 1 comment · Fixed by #340
Closed

[200 SigmaUSD] Implement groupGenerator global var #332

greenhat opened this issue Jul 5, 2021 · 1 comment · Fixed by #340
Labels
bounty Bounty for resolving the issue good first issue Good for newcomers

Comments

@greenhat
Copy link
Member

greenhat commented Jul 5, 2021

  • Add enum variant GroupGenerator to ergotree-ir::mir::global_vars::GlobalVars;
  • Write serialization roundtrip tests for all GlobalVars variants (PBT will be suffice, see serialization::expr::tests::ser_roundtrip);
  • Add GlobalGenerator enum variant handling in ergotree-interpreter::eval::global_vars;

Reference Scala version:
IR node and eval - https://github.com/ScorexFoundation/sigmastate-interpreter/blob/b60edae20f2af3352e4064d139d45a15fc507f7d/sigmastate/src/main/scala/sigmastate/Values.scala#L691-L701

@greenhat greenhat added good first issue Good for newcomers bounty Bounty for resolving the issue labels Jul 5, 2021
@greenhat
Copy link
Member Author

Bounty is sent. Discussed and reduced to 150 Sigma USD due to some parts that were implemented earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty Bounty for resolving the issue good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant