Skip to content
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

Issue/contract errors #275

Merged
merged 3 commits into from
Sep 27, 2018
Merged

Issue/contract errors #275

merged 3 commits into from
Sep 27, 2018

Conversation

talkol
Copy link
Member

@talkol talkol commented Sep 26, 2018

@@ -50,7 +50,8 @@ func (s *service) ProcessCall(input *services.ProcessCallInput) (*services.Proce
contractInfo, methodInfo, err := s.retrieveContractAndMethodInfoFromRepository(executionContextId, string(input.ContractName), string(input.MethodName))
if err != nil {
return &services.ProcessCallOutput{
OutputArgumentArray: (&protocol.MethodArgumentArrayBuilder{}).Build(),
// TODO: discussion, showing the error string in call output will store this on the transactions on-chain but may be difficult to reproduce during audit if code changes
Copy link
Contributor

Choose a reason for hiding this comment

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

Errors might leak sensitive information, so I am not sure we should store it on chain.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a spec decision, opened an issue there:
orbs-network/orbs-spec#97

@talkol talkol merged commit 66fb14e into master Sep 27, 2018
@talkol talkol deleted the issue/contract-errors branch September 27, 2018 14:02
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