-
Notifications
You must be signed in to change notification settings - Fork 2.6k
try-runtime: RPC endpoint / Node Integration #13563
Comments
not sure yet which is worthwhile, if any. |
atm it has to be either:
|
the scenario that he is interested in is: You run one way to approach this is to make try-runtime cli programmable, so you can define more tests to be written, but this is a holy PITA in Rust. an easier way, which Alan from Moonbeam is also asking is, to make the try-runtime cli capable of implementing a few important RPCs like in principle, I think this is not hard, but I have no idea how hard it is. So, imagine the try-runtime CLI being able to return a value to a subset of the RPC requests, namely all of the ones that can be answered by having a state. because end of the day, the problem though is that the underlying For example, you would run:
|
Moved: paritytech/try-runtime-cli#9 |
When we do follow-chain, it would be useful to have the basic RPCs implemented and exposed on a specific port, so that you can connect PJS Apps to your fake chain.
An alternative for this is to actually integrate this in the node. #12537 envisioned that you would be able to run a node that is normally syncing, but instead of calling
Core_execute_block
, it would call intoTryRuntime_execute_block
. This would give us a fully working client.The text was updated successfully, but these errors were encountered: