• Zeke Mostov's avatar
    [try-runtime-cli] Offchain worker support (#8966) · f0120d3b
    Zeke Mostov authored
    
    
    * make remote-ext work with ws and safe RPCs
    
    * Update docs.
    
    * Update utils/frame/remote-externalities/Cargo.toml
    
    Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
    
    * Fix test
    
    * Update lock file
    
    * Update utils/frame/remote-externalities/src/lib.rs
    
    Co-authored-by: default avatarBastian Köcher <[email protected]>
    
    * 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: default avatarKian Paimani <[email protected]>
    
    * 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: default avatarPeter Goodspeed-Niklaus <[email protected]>
    
    * trait names: Block, not B
    
    * Corect HEAP_PAGES_TEST_LEGACY export
    
    * Update utils/frame/remote-externalities/src/rpc_api.rs
    
    Co-authored-by: default avatarKian Paimani <[email protected]>
    
    * 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: default avatarkianenigma <[email protected]>
    Co-authored-by: default avatarKian Paimani <[email protected]>
    Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
    Co-authored-by: default avatarBastian Köcher <[email protected]>
    Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
    f0120d3b