Code Monkey home page Code Monkey logo

smartx-ide-components's People

Contributors

jaynejing avatar mickwang avatar trueinsider avatar xizho10 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smartx-ide-components's Issues

raise Exception() not executing properly

When invoking a smart contract using Run-debug on SmartX, and a 'raise Exception()' is fired, the result returns an error, the same as when deployed. However, the storage debugger still writes retains the storage values that were written as a part of the failed invoke. When deployed, if a 'raise Exception()' is executed, any prior calls to 'Put' appear to be reverted, and not written to storage.

Return Map from function

When returning a Map object after running though Deserialize returns properly according to `Debug Run', but when the contract is deployed to SoloChain, it returns an error. "[ConvertTypes] Invalid Types!".

Example contract:
https://gist.github.com/z0Yo/05608e39783002fec5b477008d62a431

Which is the correct behavior? Smart contract methods can accept data type "Map". Can they not return data type "Map", or the deserialized json object?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.