You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows users to create Data Requests to test their WASM binary on chain.
Motivation
When a user has developed their Data Request binary and they want to test it on testnet they have to create a request from a destination chain. It would be easier to test coming from the CLI. The user inputs arguments specific to their DR and will get back the result of the execution.
Implementation
Decide how arguments are going to look like.
Create a new CLI command which as input have the Binary ID, Input args and SEDA RPC (optional)
Implement a function on the WASM side that converts cli arguments to the preferred encoding
encode_argv() which then uses the POSIX args and gives back the right encoding.
This encoded argv is then used to create a data request and post it on chain
The text was updated successfully, but these errors were encountered:
✨ Feature
Allows users to create Data Requests to test their WASM binary on chain.
Motivation
When a user has developed their Data Request binary and they want to test it on testnet they have to create a request from a destination chain. It would be easier to test coming from the CLI. The user inputs arguments specific to their DR and will get back the result of the execution.
Implementation
encode_argv()
which then uses the POSIX args and gives back the right encoding.The text was updated successfully, but these errors were encountered: