* Upgrade to substrate 2.0.0
* WIP implement Subcommand manually (see https://github.com/paritytech/substrate/pull/6894#issuecomment-676060197)
* Add pallet-staking/std to the std feature
* Sort out the subcommand impl
* Sort out the module index (ty @ascjones)
Sort out the RefCount type (ty @dvc94ch)
Random tweaks to make test-node more similar to the vanilla node-template
* obey the fmt
* cleanup
* more cleanup
* Support custom clients.
* Simplify trait bounds.
* Plain and double map storage support.
* Simplify more trait bounds.
* Add proc macro.
* Add Call, Event and Store traits.
* Update proc-macros.
* Add with_system for proc-macro.
* proc-macro: test: support signature and extra fields.
* proc-macro: test: support sharing state accross steps.
* proc-macro: test: fetch state sequentially.
* Elide lifetimes.
* Add test for plain storage.
* Run rustfmt.
* WIP
* Begin converting rpc layer to use std futures and jsonrpsee
* Convert metadata to async/await
* Convert block_hash to async/await
* Convert more methods to async/await
* Remove sp_rpc
* Fix more compilation errors
* Remove connect
* Starting to convert subscription functions
* Use jsonrpsee branch from PR for public client types
* Implement subscribe events with jsonrpsee subscription
* Converting subscriptions and wait_for_block_events
* WIP converting lib methods to async
* Use shared client reference directly for rpc call
`rpc_api!` macro currently only supports RawClient (which cannot be shared).
Also supports named params only which is not currently compatible with substrate rpd which accepts only positional params.
* Use &self instead of &mut self for shared Client
* Convert submit_and_watch to async/await
* Convert more Client fns to async
* Pin some trait futures
* Add serde error
* Fix client creation
* Fix client request compiler errors
* Unify metadata errors
* Add WS handshake error variant
* Fix some more compiler errors
* Fix more compiler errors
* Convert submit_extrinsic to async
* Convert submit and submit_and_watch
* Add Send + Sync constraints
* Clone clients
* Fix EventArg conversion error
* Fix remaining warnings/errors
* Replace deny warnings with specific lints
* Infallable subscription loops
* Use jsonrpsee wss branch
* Fix example
* Start to fix up tests
* Make contracts tests compile
* Make some more tests pass
* Fix up remaining tests
* Fmt
* Use correct event storage key type
* Fix finding events
* Use master jsonrpsee
* Do not error if type sizes missing: log warn
* Split out EventsSubscriber, allow updating events decoder
* Format code
* Check missing type sizes after registration
* Add example which for submit and watching events
* Fix the module index used to create a encoded func
Same as Events, modules with no calls should be ignored when calculating
the module index.
* Update substrate
Event arguments in the metadata are treated as `Vec` instead of
`HashSet`. This fixes an issue with event arguments of the same name.
For example the `Balances::Transfer` event has four arguments:
`AccountId` (from), `AccountId` (to), `Balance` (value), `Balance`
(fee). Before this change the code would only try to parse the two
distinct arguments `AccountId` and `Balance` and decoding would fail.
* Introduce OpaqueEvent
* Look up event by module and variant
* Index events by module
* Get events by module
* Dynamically decode events
* Decode System events and EventRecord topics
* Use type sizes to decode raw events
* Remove unused imports
* rustfmt
* Unify error types, fix some compiler errors
* Make dynamic event decoding work
- fix compilation errors
- skip modules with no events when indexing
- preallocate vec for raw event data
* Remove printlns, replace where required with log
* Remove unused import
* Check missing type sizes
* Ignore unknown event arg type sizes
* Decode concrete System events, assumes every Runtime has the module
* Reorganise usings
* pub use some types
* Code docs
* Export Error
* Error Display impls
* Format code
* Refactor: allow submit and submit_and_watch, separate module builders
* Convert Balances, and use generic ModuleCalls
* Convert System, and use generic ModuleCalls
* Extract common calls to set_call
* rustfmt
* Test contract put_code with valid contract
* Patch jsonrpc client dependency for bugfix
* Handle result from call builder inside submit
* Use patched version of jsonrpc
* Lift module calls to Error
* jsonrpc 13.0
* Remove unused static constraints