-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Static Decoding of Signed Extensions: Simple Approach (#1235)
* skeleton commit * signed extension decoding * fix some minor things * make api more similar to Extrinsics * defer decoding of signed extensions * fix byte slices * add test for nonce signed extension * adjust test and extend for tip * clippy * support both ChargeTransactionPayment and ChargeAssetTxPayment * address PR comments * Extend lifetimes, expose pub structs, remove as_type * add signed extensions to block subscribing example * add Decoded type * fix merging bug and tests * add decoded type in CustomSignedExtension * fix minor issues, extend test * cargo fmt differences * remove the `decoded` function * new as_signed_extra fn, do not expose as_type anymore * fix Result-Option order, simplify obtaining Nonce * tx: Remove `wait_for_in_block` helper method (#1237) Signed-off-by: Alexandru Vasile <[email protected]> * Update smoldot to 0.12 (#1212) * Update lightclient Signed-off-by: Alexandru Vasile <[email protected]> * testing: Fix typo Signed-off-by: Alexandru Vasile <[email protected]> * testing: Update cargo.toml Signed-off-by: Alexandru Vasile <[email protected]> * lightclient: Add tracing logs to improve debugging Signed-off-by: Alexandru Vasile <[email protected]> * lightclient: Add socket buffers module for `PlatformRef` Signed-off-by: Alexandru Vasile <[email protected]> * lightclient: Update `SubxtPlatform` Signed-off-by: Alexandru Vasile <[email protected]> * cargo: Add lightclient dependencies Signed-off-by: Alexandru Vasile <[email protected]> * Update cargo.lock of wasm tests Signed-off-by: Alexandru Vasile <[email protected]> * lightclient: Add constant for with-buffer module Signed-off-by: Alexandru Vasile <[email protected]> * lightclient: Replace rand crate with getrandom Signed-off-by: Alexandru Vasile <[email protected]> * example: Update cargo lock file Signed-off-by: Alexandru Vasile <[email protected]> * examples: Update deps Signed-off-by: Alexandru Vasile <[email protected]> --------- Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: Tadeo Hepperle <[email protected]> * ChargeAssetTxPayment: support providing u32 or MultiLocation in default impl (#1227) * Asset Id in Config trait * add example configuring the config * fmt * fix Default trait bound * merge examples, fix default again * adjust config in examples * Update subxt/src/config/mod.rs Co-authored-by: James Wilson <[email protected]> --------- Co-authored-by: James Wilson <[email protected]> * generic AssetId * fix generics * fmt --------- Signed-off-by: Alexandru Vasile <[email protected]> Co-authored-by: James Wilson <[email protected]> Co-authored-by: Alexandru Vasile <[email protected]>
- Loading branch information
1 parent
e7c1f73
commit 56d0cda
Showing
7 changed files
with
146 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.