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

[WIP] EIP-50 - Sigma 6.0 #100

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

[WIP] EIP-50 - Sigma 6.0 #100

wants to merge 14 commits into from

Conversation

kushti
Copy link
Member

@kushti kushti commented Apr 9, 2024

No description provided.


* support MethodCall encoding of Numeric methods

issue: https://github.com/ScorexFoundation/sigmastate-interpreter/issues/667
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is not necessary. Looking back is was not good idea to allow both method call and opcode encoding for methods. It would be better to forbid method calls for those methods which have dedicated opcodes.
The translation MC -> opcode is actually happens in the compiler, but is not strictly enforced. This creates more surface for test coverage and potential bugs.

* Add roundtrip test in *MethodCallSerializerSpecification*

* Add evaluation test (see "nbits evaluation" test)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* For each new method separate property tests should be added to SigmaDslSpecification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants