Skip to content

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it would be better to develop ErgoTree via adding methods, to have simple universal description of the language.

* 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.

Copy link
Member Author

Choose a reason for hiding this comment

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

appendix removed now

@kushti kushti changed the title [WIP] EIP-50 - Sigma 6.0 [WIP] EIP-50 - 6.0 Soft-Fork Nov 25, 2024
@kushti kushti dismissed aslesarenko’s stale review June 23, 2025 11:32

Comments addressed, please make another pass

@kushti
Copy link
Member Author

kushti commented Jun 23, 2025

@aslesarenko comments addressed , please make another pass

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