oasislabs / oasis.js

🕸A web client for the Oasis platform
Apache License 2.0
33 stars 11 forks source link

Parse deploy / RPC arguments using IDL #312

Open ennsharma opened 4 years ago

ennsharma commented 4 years ago

What is the problem that you're trying to solve? If deploy / RPC arguments are not passed in as the correct type (i.e. they're entered via CLI and so read as strings), deploys / RPCs fail. We need to parse these arguments.

Describe the solution you'd like Currently, we have a WIP implementation for an IDL type that lets us specify the name and type of arguments. We should finish this implementation, and then use it to typecheck and parse arguments as necessary.