Add new PolyMethodCall node with type parameters #980
Labels
A-consensus
Area: Code used in consensus (i.e. transaction validation)
C-feature
Category: Feature request or PR
soft-fork
Implementation requires soft-fork
Milestone
Problem
Current MethodCalls are limited (see this ScalaDoc)
In particular they cannot be used to represent
CONTEXT.getVar[Int](1).get
orbox.getReg[Long](5).get
, because the type parameterInt
andLong
respectively cannot be serialized in v5.0.Solution
PolyMethodCall
with a new opcode which works exactly as MethodCall, but supports 1 or more type parameters.The text was updated successfully, but these errors were encountered: