ontio-community / smartx-ide-components Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.