-
Notifications
You must be signed in to change notification settings - Fork 79
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
Merge Invoke* types in RPC code #689
Comments
AnnaShaleva
added a commit
that referenced
this issue
Feb 26, 2020
Closes #689 Merged two types: - smartcontract.ParamType - rpc.StackParamType into single one: - smartcontract.ParameterType as they duplicated the functionality. NOTE: type smartcontract.MapType was added (as in C# implementation). From now, list of supported smartcontract parameter types: UnknownType SignatureType BoolType IntegerType Hash160Type Hash256Type ByteArrayType PublicKeyType StringType ArrayType MapType InteropInterfaceType VoidType
AnnaShaleva
added a commit
that referenced
this issue
Feb 27, 2020
Closes #689 Merged two types: - smartcontract.ParamType - rpc.StackParamType into single one: - smartcontract.ParameterType as they duplicated the functionality. NOTE: type smartcontract.MapType was added (as in C# implementation). From now, list of supported smartcontract parameter types: UnknownType SignatureType BoolType IntegerType Hash160Type Hash256Type ByteArrayType PublicKeyType StringType ArrayType MapType InteropInterfaceType VoidType
AnnaShaleva
added a commit
that referenced
this issue
Feb 27, 2020
Closes #689 Merged two types: - smartcontract.ParamType - rpc.StackParamType into single one: - smartcontract.ParameterType as they duplicated the functionality. NOTE: type smartcontract.MapType was added (as in C# implementation). From now, list of supported smartcontract parameter types: UnknownType SignatureType BoolType IntegerType Hash160Type Hash256Type ByteArrayType PublicKeyType StringType ArrayType MapType InteropInterfaceType VoidType
roman-khimov
added a commit
that referenced
this issue
Mar 3, 2020
And use smartcontract.Parameter instead of vm.StackItem where appropriate. Closes #689.
roman-khimov
added a commit
that referenced
this issue
Mar 3, 2020
And use smartcontract.Parameter instead of vm.StackItem where appropriate. Closes #689.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One thing left after the #510 is
response.InvokeResult
vsresult.Invoke
vsserver.InvokeFunctionResult
, but it relates to and depends on changes planned for #500, so we'll wait a little. In general, I think we're better not involvingvm
package into this, but it shouldn't be a problem to convertvm.Stack
into[]request.FuncParam
or similar type fromsmartcontract
.The text was updated successfully, but these errors were encountered: