Andrew Jones de859e7396 Add hooks to register event types for decoding (#227)
* Global registration of type segmenters for event decoding

* Perform type sizes check when building client

* Introduce EventTypeRegistry for global runtime type sizes

* Fmt

* Register runtime type sizes on creation of EventTypeRegistry

* Register more default dispatch types

* Add missing type sizes

* fmt

* Fix up register_type_size builder method

* Update doc comments

* Make register_default_type_sizes public

* Don't allow duplicate registered types

* Remove call to supertraits type registration, done manually in Runtime

* Fix tests and warnings

* Fix duplicate type registration

* Fmt

* review: use is_empty()

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Add panic docs

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2021-02-18 10:28:40 +00:00
2021-02-17 16:45:05 +00:00
2021-02-17 16:45:05 +00:00
2021-02-08 10:51:52 +00:00
2020-12-14 17:26:49 +00:00

subxt · build Latest Version Documentation

A library to submit extrinsics to a substrate node via RPC.

Usage

See examples.

Alternatives

substrate-api-client provides similar functionality.

Subxt Client

By default the client builder will connect to a full node via rpc. The subxt-client helps embedding a light client directly. It can also be used to embed a full node. This is especially useful for testing and ci.

License

The entire code within this repository is licensed under the GPLv3. Please contact us if you have questions about the licensing of our products.
S
Description
No description provided
Readme 529 MiB
Languages
Rust 99.8%
Shell 0.2%