Skip to content
This repository was archived by the owner on Apr 18, 2021. It is now read-only.

vvisp console: call command fails to handle a view function with multiple returns #133

Closed
ryan-chae opened this issue Apr 17, 2019 · 0 comments
Assignees
Labels
bug Something isn't working error handling Improve Error handling

Comments

@ryan-chae
Copy link
Contributor

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

function getInfo(bytes32 id) public onlyOnwer view returns(bool, uint256) {
        return (registered[id], expireTime[id])
    }

call getInfo 0x12 in vvsip console, it returns

{
  "logs": []
}

Expected behavior

It expects to return receipt information.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


vvisp version: 1.0.2


Environment: 
- Node version: v11.14.0
- Operating system: OSX

Others:

@ryan-chae ryan-chae added bug Something isn't working error handling Improve Error handling labels Apr 17, 2019
@ryan-chae ryan-chae changed the title vvisp console: call command fails to handle a function with multiple returns vvisp console: call command fails to handle a view function with multiple returns Apr 19, 2019
@JhChoy JhChoy closed this as completed Jun 7, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working error handling Improve Error handling
Projects
None yet
Development

No branches or pull requests

2 participants