* 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
* Update jsonrpc to align with substrate
* Update to new substrate signing
* Default to MultiSignature
* Add missing event type sizes
* Rename TakeFees check to ChargeTransactionPayment
* Fix extrinsic Signature
* Ignore AuthorityList type size
* Rename srml to paint (#32)
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.
* Remove System::Event type
* WIP: removing requirement for concrete Runtime impl for extras
* Use built in substrate types for constructing/signing the extrinsic
* Implement SignedExtension for copied types
* Fix remaining compilation errors
* Allow plugging in of predefined runtime types with blanket impls
* rustfmt
* Add CheckBlockGasLimit
* Construct DefaultExtrinsic in XtBuilder
* Derive Debug for extras
* Replace SignedExtension macro with explicit implementations
* Replace Lookup associated type with Address
* Move balances and contracts to main deps
* 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