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
Bug fix/sc cross built in call #2030
Conversation
Data: []byte(setUserNameTxData), | ||
CallType: vmcommon.AsynchronousCall, | ||
} | ||
return &vmcommon.VMOutput{ReturnCode: vmcommon.Ok}, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return wmOutput, nil ?
…to bugFix/sc-cross-builtIn-call
69e4c8d
f42dba5
@@ -16,7 +16,7 @@ func TestChangeOwnerAddress_ProcessBuiltinFunction(t *testing.T) { | |||
|
|||
coa := changeOwnerAddress{} | |||
|
|||
owner := []byte("sender") | |||
owner := []byte("send") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"owner" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the length is verified for the validity of the input, so length must be equal.
Built in function has to create cross shard SC result if destination is not in shard