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

@name doesn't work for single fixed element group choice #211

Closed
rooooooooob opened this issue Sep 5, 2023 · 0 comments · Fixed by #213
Closed

@name doesn't work for single fixed element group choice #211

rooooooooob opened this issue Sep 5, 2023 · 0 comments · Fixed by #213
Labels
bug Something isn't working

Comments

@rooooooooob
Copy link
Collaborator

d_rep = [
  ; @name key
  0, ed25519_key_hash //
  ; @name script
  1, script_hash //
  ; @name always_abstain
  2 //
  ; @name always_no_confidence
  3
]

The first two are generated as DRep::Key and DRep::Script but the last two don't get named properly and end up as DRep::I2 and DRep::I3.

@rooooooooob rooooooooob added the bug Something isn't working label Sep 5, 2023
rooooooooob added a commit that referenced this issue Nov 15, 2023
rooooooooob added a commit that referenced this issue Nov 21, 2023
* Fix @name not working on single elem group choices

Fixes #211
Fixes #153

* Add use of @name into test cases (tests compiling)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant