Zeke Mostov
b9d03f25da
try-runtime-cli: Add execute-block subcommand ( #9077 )
...
* Refactor remote_externalities::rpc_api
* try-runtime-cli: Adde `execute-block` subcommand
* Trivial
* Address some comments
* Use required_if & remove header-at usage
* Improve doc
* Update comment
* small tweaks
* add overwrite-code to shared params
* Update utils/frame/try-runtime/cli/src/lib.rs
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* make url a shared param
* add helper for block_at (#9153 )
* add helper for block_at
* remove redundant bound
* doc for fn block_at
* Update error message
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
2021-06-22 20:36:12 +00:00
Zeke Mostov
f0120d3b62
[try-runtime-cli] Offchain worker support ( #8966 )
...
* make remote-ext work with ws and safe RPCs
* Update docs.
* Update utils/frame/remote-externalities/Cargo.toml
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* Fix test
* Update lock file
* Update utils/frame/remote-externalities/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Fix build again.
* checkpoint, merging the paged rpc now
* revert lifetime stuff
* WIP: remote client init not working
* Small cleanups
* use jsonrpsee alpha.7
* WIP
* Executiing without errors
* Reorg & cleanup
* Trivial cleaning
* Add txpool & keystore extension
* Small cleaning
* More :cleaning
* Flags: page-size, override-code
* WIP
* Apply suggestions from code review
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Remove heap_pages
* Dry code extraction from state
* Formatting
* More formatting
* Add issue todo
* Use jsonrpsee 0.2.0
* Try trigger gitlab
* Fix "block_import_works" test
* fix native_big_block_import_fails_on_fallback test
* fix commit should work
* Rewrite UI tests
* Revert "Rewrite UI tests"
This reverts commit ada7f670f701c21fb399946a3f6918453f537bcb.
* try again with UI
* Use const for legacy heap pages val
* Move parse module to its own file
* Move rpc_api module to its own file
* Apply suggestions from code review
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* trait names: Block, not B
* Corect HEAP_PAGES_TEST_LEGACY export
* Update utils/frame/remote-externalities/src/rpc_api.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* Revert test_ext heap_page insert; adjust storage root instead
* Doc comments for try_runtime::cli::Command
* TryRuntime stub
* trailing comma
* Remove unused dev dep in frame-executive
* Improve parse::hash variable name & error index
* Use Result for rpc_api fns
* Richer err messagges
* Remove HEAP_PAGE_TEST_LEGACY
* Update bin/node/executor/tests/basic.rs
Co-authored-by: kianenigma <kian@parity.io >
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
2021-06-09 22:05:28 +00:00
Denis Pisarev
a28a517c53
Fix build job ( #8905 )
...
* CI: fix node-template packaging
* add explicit deps versions
2021-05-25 23:01:00 +02:00
Kian Paimani
16a27c28a9
Migration testing runtime API/Bot ( #8038 )
...
* A clean new attempt
* Checkpoint to move remote.
* A lot of dependency wiring to make it feature gated.
* bad macro, bad macro.
* Undo the DB mess.
* Update frame/support/src/traits.rs
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* Apply suggestions from code review
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* unbreak the build
* Update frame/try-runtime/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update utils/frame/try-runtime/cli/Cargo.toml
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update frame/try-runtime/Cargo.toml
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Address most review grumbles.
* Fix build
* Add some comments
* Remove allowing one pallet at a time.
* More grumbles.
* relocate remote-ext
* Fix build
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-02-19 14:52:09 +00:00