Support MethodCall encoding of Numeric methods #667
Labels
3h
Approximately 3 hours or work
A-consensus
Area: Code used in consensus (i.e. transaction validation)
C-enhancement
Category: A PR with an enhancement or a proposed one in an issue.
hard-fork
Implementation requires hard-fork
P1-high
Priority: High
Milestone
This list defines which types can contain methods https://github.com/ScorexFoundation/sigmastate-interpreter/blob/e776b81605a65db3ec06f60b0105d7a9264c34f5/sigmastate/src/main/scala/sigmastate/types.scala#L133
The mapping is used in
SMethod.fromIds
which in turn is used in MethodCallSerializer to parse MethodCall nodes.10.toByte
which encoded as MethodCall withtypeId = 4
,methodId = 1
.UPD: the SNumericType is demoted as a receiver object of method calls.
The text was updated successfully, but these errors were encountered: