* feat!: Allow for remapping type parameters in type substitutions
* chore: cargo fmt
* chore: cargo clippy
* chore: Remove some old code
* a little tidy
* address comment nit
Co-authored-by: James Wilson <james@jsdw.me>
* begin porting over traits; remove Config use of Hash
* port over the Header bits that we need
* sp_core_hashing where possible, move Verify to PairSigner, remove unused errors
* tidy up Config things and move related bits into one place
* fix codegen
* copy Era over
* move AccountId, Address, Signer to Signer trait and a pass over fixing examples
* impl MultiAddress, MultiSignature, AccountId32 and add back to Config (for decoding later)
* Copy over StorageKey, StorageData, StorageChangeSet
* subxt core compiling with no sp_core or sp_runtime
* Get examples compiling
* pass over fixing tests
* cargo fmt
* clippy tweaks and update polkadot.rs
* fix codegen docs
* port over special DigestItem encoding/decoding
* clippy and doc fixes
* cargo fmt and example fix
* more cargo fmt-ing...
* substrate-extra to substrate-compat
* cargo.toml comments
* simplify PairSigner trait bounds
* move RPC types to a separate file
* fix docs
* Add some tests for things and other PR feedback
* bump to latest sp deps
* avoid needing substrate-compat feature in a test
* Patch all substrate deps to use my substrate branch
* default-features = false causing issus in test-runtime
* Use substrate polkadot release branch
* Use default-features for sp-runtime again :(
* Restore default-features for subxt-cli/sp-core
* Fix module error integration test
* Add Send + Sync bounds to ExtrinsicEvents::iter()
* Elide lifetime
* Revert adding Send + Sync
* Add Sync bound to Rpc::ClientError
* Remove version in subxt-metadata
* Use released crates
* Use released sp-keyring
* Fix sp-keyring deps
* Remove unnecessary sp-keyring default-features = false
* get started
* make it work again
* make it compile again
* Use async-wasm-feature of jsonrpsee from the master branch
* Ensure we enable JS feature of getrandom for the wasm target
* Update subxt/src/lib.rs
* update jsonrpsee
* fix CI
* cargo fmt
* fix wasm test
* fix grumbles
* exclude wasm-tests from workspace
To avoid leaking `jsonrpsee-web` feature into the workspace
Co-authored-by: Igor Matuszewski <xanewok@gmail.com>
* WIP generalising RPC client
* WIP: non-object-safe RpcClientT.. aah generics everywhere
* WIP object-safe RpcClientT trait and no more extra generics
* Get core things compiling again with object-safe RpcClientT trait
* Make jsonrpsee optional and get test-runtime working again
* cargo fmt
* add RpcParams object to enforce correct formatting of rps params
* Wee tweaks
* clippy fixes
* cargo fmt
* TWeak a few types
* make sure we get jsonrpsee-types, too
* Add examples for rpc_params/RpcParams
* more doc tweaks
* remove a now unneeded dev note
* Option<Box<RawValue>> instead to avoid allocations in some cases
* update docs
* tweak RpcClientT trait docs
* Tweak docs around RpcClient and RpcClientT. Don't expose RpcClientT directly
* more doc tweaking about RpcParams and undo decision not to expose RpcParamsT
* Doc tweak
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
* more doc tweaks
* Fix doc thing
* Add an example of injecting a custom RPC client
* Fix a typo
* Address clippy things in example
* Fix a silly typo
* another clippy fix
* rpc_params to panic instead of returning a result, like serde_json::json, and deref on Rpc<T>
* fix docs
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
* move test crates into a testing folder and add a ui test and helpers
* undo wee mixup with another PR
* cargo fmt
* clippy
* tidy ui-tests a little
* test different DispatchError types
* refactor dispatch error stuff
* name ui tests
* duff => useless
* align versions and cargo fmt