* move into subfolder step 1
* Make folders a workspace again
* Move examples into their own workspace crate to make them more visible and easier to run
* clippy fix
* newline
* tweak releasing steps for folder move
* reference exampels more clearly in top level readme
* Add release checklist
* Subxt, not Soketto
* more Soketto -> Subxt fixes
* Signed tags and note about incrementing version of each crate
Co-authored-by: David <dvdplm@gmail.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
* Add command to publish crates in required order
* undo test breakages and codegen first since macro depends on it
* Update RELEASING.md
Co-authored-by: Andrew Jones <ascjones@gmail.com>
* sleep 10, and text niggles
Co-authored-by: David <dvdplm@gmail.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: Andrew Jones <ascjones@gmail.com>
* WIP DispatchError generic param
* main crate now compiling with new E generic param for DispatchError
* Remove E param from RpcClient since it doesn't really need it
* Point to generated DispatchError in codegen so no need for additional param there
* More error hunting; cargo check --all-targets passes now
* Use our own RuntimeVersion struct (for now) to avoid error decoding into sp_version::RuntimeVersion
* cargo fmt
* fix docs and expose private documented thing that I think should be pub
* move error info to compile time so that we can make DispatchError a little nicer to work with
* cargo fmt
* clippy
* Rework error handling to remove <E> param in most cases
* fix Error doc ambiguity (hopefully)
* doc tweaks
* docs: remove dismbiguation thing that isn't needed now
* One more Error<E> that can be a BasicError
* rewrite pallet errors thing into normal loops to tidy
* tidy errors codegen a little
* tidy examples/custom_type_derives.rs a little
* cargo fmt
* silcnce clippy in example
* Update transaction.rs
* documentation
* Update src/transaction.rs
Co-authored-by: James Wilson <james@jsdw.me>
* fmt
Co-authored-by: James Wilson <james@jsdw.me>
* WIP update dependencies to crates versions
* Use released versions of sp-version and sp-arithmetic
* Attempt to align version of sp-keyring used to correspond to 4.0.0 releases. No luck but closer
* sp-keyring 4.0.0
* also sp-keyring 4.0.0 for macro crate
* simplify cargo.tomls
Co-authored-by: James Wilson <james@jsdw.me>
* Use Derivative to skip bounds on T when they aren't necessary, and remove unnecessary bounds on Config
* loosen a couple more derive bounds
* Use PhantomDataSendSync to avoid accidentally removing Send+Sync bounds
* fix: use index override when decoding enums in events
* fix: ignore clippy warning in test
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
* Add basic event decoding test
* Failing compact event field test
* Fmt
* Fix compact event field decoding
* Remove println
* Add test for compact wrapper struct
* Revert "Add test for compact wrapper struct"
This reverts commit 4e8332ddcd9b758973bdecbea9901c4a378e26b7.
* Split compact tests and add multiple events test
* Add links to projects using subxt.
* Add phala-pherry to list
Co-authored-by: h4x3rotab <h4x3rotab@gmail.com>
Co-authored-by: James Wilson <james@jsdw.me>
Co-authored-by: h4x3rotab <h4x3rotab@gmail.com>
* WIP Implementing new event subscription API
* back to lifetimes, fix example
* no more need for accept_weak_inclusion
* thread lifetime through to prevent 'temporary dropped' issue
* make working with events a little nicer
* Get tests compiling
* fmt and clippy
* _name back to name
* dont take ownership, just have stronger note
* Attempt to fix test
* remove commented-out code
* Add a couple more helper methods and a test
* Remove custom ExtrinsicFailed handling; treat them like other events
* Handle runtime errors in TransactionProgress related bits
* cargo fmt + clippy
* Fix some of the failing tests
* remove unused import
* fix transfer_error test
* Fix compile errors against new substrate latest
* Comment tweaks, and force test-runtime rebuild
* Drop the TransactionProgress subscription when we hit 'end' statuses
* cargo fmt
* find_event to find_first_event and helper to return all matching events
* TransactionProgressStatus to TransactionStatus
* Copy and improve docs on TransactionStatus from substrate
* debug impl for Client to avoid manual debug impls elsewhere
* Add and tweak comments, specifically a note about block inclusion on errors
* clippy + fmt
* Fix docs
* Ignore 'error' statuses and adhere to the substrate docs
* tweak and improve some comments per @dvdplm's suggestions
* Break transaction* structs into separate file
* fmt and fix doc link