Decode raw events using scale_value and return the decoded Values, too (#576)

* Decode raw events using scale_value and return the decoded Values, too

* cargo fmt

* cargo fmt and slight rearranging of test code
This commit is contained in:
James Wilson
2022-06-22 10:43:21 +01:00
committed by GitHub
parent a9129863bd
commit 1e8d0956cc
7 changed files with 176 additions and 625 deletions
+1 -2
View File
@@ -95,12 +95,10 @@
//! # }
//! ```
mod decoding;
mod event_subscription;
mod events_type;
mod filter_events;
pub use decoding::EventsDecodingError;
pub use event_subscription::{
subscribe,
subscribe_finalized,
@@ -111,6 +109,7 @@ pub use event_subscription::{
};
pub use events_type::{
at,
DecodedValue,
EventDetails,
Events,
RawEventDetails,