1238 Commits

Author SHA1 Message Date
pezkuwichain 545b8ae818 Use git dependencies for Pezkuwi SDK crates instead of local paths 2025-12-19 16:03:30 +03:00
pezkuwichain b8ee6a084f Rebrand subxt to pezkuwi-subxt with pezsp_runtime support
- Renamed all crate names from subxt-* to pezkuwi-subxt-*
- Updated codegen to use pezsp_runtime, pezsp_core, pezframe_support instead of sp_runtime, sp_core, frame_support
- Replaced all internal references from subxt_* to pezkuwi_subxt_*
- Added local path dependencies to Pezkuwi SDK crates
- Updated workspace configuration for edition 2024
2025-12-19 16:00:14 +03:00
paritytech-subxt-pr-maker[bot] a2080bf1f7 Update Artifacts (auto-generated) (#2141)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-12-09 17:00:23 +00:00
PG Herveou d0f91f8631 Allow passing $OUT_DIR in the runtime_metadata_path attribute (#2142)
* Allow passing $OUT_DIR in the runtime_metadata_path attribute

* nit

* fix build

* PR review

* ignore instead of no_run
2025-12-09 12:56:18 +01:00
James Wilson 3f57740a9a Actually bump subxt-historic to 0.0.8 2025-12-05 17:12:54 +00:00
James Wilson c32017e453 subxt-historic: prep 0.0.8 release: expose type resolver that can be used with visitors (#2140)
* subxt-historic: prep 0.0.8 release: expose type resolver that can be used with visitors

* clippy

* Fix example

* Fix docs test
2025-12-05 17:11:25 +00:00
James Wilson 24ccd584f1 Prep subxt-historic 0.0.7 release: expose ClientAtBlock bits (#2138) 2025-12-03 18:45:16 +00:00
James Wilson eee2fd5c6e subxt-historic: expose metadata at a given block (#2135) 2025-12-01 17:10:42 +00:00
paritytech-subxt-pr-maker[bot] 291af82a75 Update Artifacts (auto-generated) (#2134)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-12-01 16:11:49 +00:00
paritytech-subxt-pr-maker[bot] 0c6423bb48 Update Artifacts (auto-generated) (#2130)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-11-24 10:16:06 +00:00
dependabot[bot] 5dcee85753 build(deps): bump actions/checkout from 5 to 6 in /.github/workflows (#2129)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 10:15:39 +00:00
dependabot[bot] 29bf752b78 build(deps): bump actions/checkout from 5 to 6 (#2128)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 10:15:20 +00:00
James Wilson 8203679cbd Merge v0.50.x to master (#2127)
* v0.50.0: Integrate frame-decode, redo storage APIs and break up Error. (#2100)

* WIP integrating new frame-decode and working out new storage APIS

* WIP: first pass adding new storage things to subxt-core

* Second pass over Address type and start impl in Subxt

* WIP new storage APIs

* WIP New storage APIs roughly completed, lots of errors still

* Remove PlainorMap enum; plain and map values now use same struct to simplify usage

* Begin 'fixing' errors

* WIP splitting errors and tidying payload/address traits

* Get subxt-core compiling

* Small fixes in subxt-core and remove metadata mod

* subxt-core: cargo check --all-targets passes

* Fix test

* WIP starting to update subxt from subxt-core changes

* WIP splitting up subxt errors into smaller variants

* WIP errors: add DispatchError errors

* Port new Storage APIs to subxt-core

* cargo check -p subxt passes

* Quick-fix errors in subxt-cli (explore subcommand)

* fmt

* Finish fixing codegen up and start fixing examples

* get Subxt examples compiling and bytes_at for constants

* Add some arcs to limit lifetimes in subxt/subxt-core storage APIs

* A little Arcing to allow more method chaining in Storage APIs, aligning with Subxt

* Update codegen test

* cargo check --all-targets passing

* cargo check --features 'unstable-light-client' passing

* clippy

* Remove unused dep in subxt

* use published frame-decode

* fix wasm-example

* Add new tx extension to fix daily tests

* Remove unused subxt_core::dynamic::DecodedValue type

* Update book to match changes

* Update docs to fix more broken bits

* Add missing docs

* fmt

* allow larger result errs for now

* Add missing alloc imports in subxt-core

* Fix doc tests and fix bug getting constant info

* Fix V14 -> Metadata transform for storage & constants

* Fix parachain example

* Fix FFI example

* BlockLength decodes t ostruct, not u128

* use fetch/iter shorthands rather than entry in most storage tests

* Fix some integration tests

* Fix Runtime codegen tests

* Expose the dynamic custom_value selecter and use in a UI test

* Update codegen metadata

* Tidy CLI storage query and support (str,str) as a storage address

* Add (str,str) as valid constant address too

* Show string tuple in constants example

* Via the magic of traits, avoid needing any clones of queries/addresses and accept references to them

* clippy

* [v0.50] update scale-info-legacy and frame-decode to latest (#2119)

* bump scale-info-legacy and frame-decode to latest

* Remove something we don't need in this PR

* Fully remove unused for now dep

* [v0.50] Convert historic metadata to subxt::Metadata (#2120)

* First pass converting historic metadatas to our subxt::Metadata type

* use published frame-decode

* fmt and rename legacy metadata macro

* Enable legacy feature where needed in subxt_metadata so it compiles on its own

* Use cargo hack more in CI and fix subxt-metadata features

* Add tests for metadata conversion (need to optimise; some too expensive right now

* Address performance and equality issues in metadata conversion testing

* fmt

* fmt all

* clippy

* Fix a doc link

* Test codegen and fixes to make it work

* Remove local frame-decode patch

* bump frame-decode to latest

* [v0.50.0] Allow visiting extrinsic fields in subxt_historic (#2124)

* Allow visiting extrinsic fields

* fmt

* Don't use local scale-decode dep

* Clippy and tidy

* Extend 'subxt codegen' CLI to work with legacy metadatas

* Simplify historic extrinsics example now that AccountId32s have paths/names

* clippy

* clippy

* clippy..

* Allow visiting storage values, too, and clean up extrinsic visiting a little by narrowing lifetime

* Try to fix flaky test

* Add custom value decode to extrinsics example

* Remove useless else branch ra thought I needed

* Simplify examples

* Prep to release v0.0.5 (#2126)
2025-11-22 10:44:03 +00:00
Sven Eriksson 586b814ecd Fix typos in documentation (#2121) 2025-11-17 09:42:47 +00:00
Tarik Gul 2904b84ff5 feat: Add system_chainType to legacy rpcs (#2116)
* feat: Add system_chainType to legacy rpcs

* Test response
2025-11-10 12:18:29 +00:00
dependabot[bot] 4157ce08a0 build(deps): bump actions/upload-artifact in /.github/workflows (#2114)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 11:06:54 +00:00
dependabot[bot] 0e1990b732 build(deps): bump actions/upload-artifact from 4 to 5 (#2113)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 11:06:33 +00:00
James Wilson 6298d9a87b Try ficing Rustc to version polkadot-sdk CI uses (#2118) 2025-11-10 10:57:08 +00:00
sunnyraindy 4ca7d75782 chore: fix typo in subxt/Cargo.toml (#2117)
Signed-off-by: sunnyraindy <sunnyraindy@outlook.com>
2025-11-10 10:24:18 +00:00
paritytech-subxt-pr-maker[bot] 7b4b23981c Update Artifacts (auto-generated) (#2115)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-10-27 10:00:49 +00:00
Sven Eriksson a62aea4c37 Fix typos (#2112) 2025-10-24 10:34:25 +01:00
dependabot[bot] dcc97f3f5c build(deps): bump Swatinem/rust-cache from 2.7.8 to 2.8.1 (#2092)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.8 to 2.8.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swatinem/rust-cache/compare/9d47c6ad4b02e050fd481d890b2ea34778fd09d6...f13886b937689c021905a6b90929199931d60db1)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-version: 2.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 10:17:56 +01:00
dependabot[bot] d2099772ca build(deps): bump Swatinem/rust-cache in /.github/workflows (#2093)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.8 to 2.8.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swatinem/rust-cache/compare/9d47c6ad4b02e050fd481d890b2ea34778fd09d6...f13886b937689c021905a6b90929199931d60db1)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-version: 2.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 10:17:44 +01:00
dependabot[bot] f8d51a0242 build(deps): bump tracing-subscriber in /signer/tests/wasm (#2111)
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.18 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.18...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 10:17:16 +01:00
James Wilson 663caed412 Bump smoldot / smoldot-light to latest (#2110)
* Bump smoldot / smoldot-light

* Add new EthSetOrigin tx extension to fix test on new polkadot

* Fix runtime API call in test
2025-10-21 22:44:22 +01:00
withtimezone 2ec9c2e57c chore: fix some minor issues in the comments (#2106)
Signed-off-by: withtimezone <with_timezone@outlook.com>
2025-10-20 12:18:21 +01:00
Evelina Carl 884dfe6c69 chore: fix some typos (#2098) 2025-09-26 10:43:45 +01:00
James Wilson b13b8ec8d0 [subxt-historic]: extract call and event types from metadata at a block (#2095)
* Inject call and event types from metadata too at some block in subxt-historic

* bump subxt-historic to 0.0.4

* Fix unrelated doc things to try and fix this job

* Other Rust 1.90 fixes

* 'Fix' Test

* Try fixing clippy WASM job

* Try again to get clippy wasm working

* trybuild fix

* trybuild fix take 2
2025-09-25 13:37:09 +01:00
James Wilson b1a3a3afcc Attempt to Fix CI take 2 (#2097)
* Attempt to fix build-nodes job; install llvm-dev

* clang too
2025-09-24 17:40:15 +01:00
James Wilson 709ecfd5be Attempt to fix build-nodes job; install llvm-dev (#2096) 2025-09-24 17:18:06 +01:00
zhoujiaweii 9080b0b2ae chore: remove redundant word in comment (#2090)
Signed-off-by: zhoujiaweii <zjwustc@outlook.com>
2025-09-17 10:01:39 +01:00
James Wilson a79c531a82 Add --at-block option to CLI tool to download metadata at a specific block (#2079)
* Add --at-block option to CLI tool to download metadata at a specific block; useful for debugging

* clippy
2025-09-02 17:19:39 +01:00
Bastian Köcher 07ed8bad33 backend::Rpc: Export RpcParams and rpc_params! (#2077)
* backend::Rpc: Export `RpcParams` and `rpc_params!`

These are required to for example call `request` on the client and thus, should also be re-exported.

* Move exports together

---------

Co-authored-by: James Wilson <james@jsdw.me>
2025-09-02 17:19:22 +01:00
James Wilson afb116fa6c 17 accounts now, not 16 (#2078) 2025-09-02 14:36:58 +01:00
dependabot[bot] 98efd20528 build(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 (#2073)
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 11:32:24 +01:00
James Wilson abcda67fc0 subxt-historic: add support for returning the default values of storage entries (#2072) 2025-09-02 11:32:09 +01:00
paritytech-subxt-pr-maker[bot] 2a498d4dda Update Artifacts (auto-generated) (#2075)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-09-02 11:31:50 +01:00
James Wilson f565bda011 Prep for 0.44.0 release (#2071) v0.44.0 2025-08-29 12:12:53 +01:00
James Wilson 3aabd6dc09 Add subxt-historic crate for accesing historic (non head-of-chain) blocks (#2040)
* WIP subxt-historic

* WIP subxt-historic

* WIP subxt-historic; flesh out basic foundations

* WIP filling in extrinsic decoding functionality

* iter and decode transaction extensions

* Fill in the Online/OfflineClient APIs and move more things to be part of the chain Config

* WIP storage

* clippy, fmt, finish extrinsics example

* prep for 0.0.1 release to claim crate name

* fix README link

* fmt

* WIP thinking about storage APIs

* WIP working out storage APIs

* Storage plain value fetching first pass

* WIP storage: first pass iterating over values done

* First apss finishing storage APIs

* fmt and clippy

* Create a storage example showing fetch and iteration

* Bump to frame-decode 0.9.0

* Bump subxt-historic to 0.0.3 for preview release

* Remove unused deps

* fix import

* clippy

* doc fixes

* tweak CI and fix some cargo hack findings

* Update README: subxt-historic is prerelease
2025-08-26 17:56:21 +01:00
dependabot[bot] 23f3ebe6b5 build(deps): bump actions/checkout from 4 to 5 in /.github/workflows (#2060)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 17:55:38 +01:00
dependabot[bot] 26bf45bb03 build(deps): bump actions/checkout from 4 to 5 (#2059)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 17:55:26 +01:00
dependabot[bot] ed93e26710 build(deps): bump slab from 0.4.10 to 0.4.11 in /examples/ffi-example (#2063)
Bumps [slab](https://github.com/tokio-rs/slab) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/tokio-rs/slab/releases)
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11)

---
updated-dependencies:
- dependency-name: slab
  dependency-version: 0.4.11
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 17:55:12 +01:00
James Wilson 770fc9dc7a Do not panic when encoding call data with invalid fields (#2070)
* don't panic

* Add unit tests

* fmt

* clippy

* fmt

---------

Co-authored-by: elfedy <federico@moonsonglabs.com>
Co-authored-by: Federico Rodríguez <federodriguez.88@gmail.com>
2025-08-26 17:54:51 +01:00
paritytech-subxt-pr-maker[bot] 739b9f84cf Update Artifacts (auto-generated) (#2067)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-08-26 14:45:51 +01:00
Alberto Nicolas Penayo a7d2423e92 chore(dev): increase number of dev accounts (#2068)
* increase number of dev accounts

* delete extra acc
2025-08-26 10:45:04 +01:00
Андрій Шовкошитний 6edb435232 Update README.md (#2062) 2025-08-20 14:00:49 +01:00
James Wilson c82a612373 Tweak test to reduce chance of failure, and need jsonrpsee/server for tests (#2057) 2025-08-20 11:28:55 +01:00
paritytech-subxt-pr-maker[bot] 56cfacdb6f Update Artifacts (auto-generated) (#2061)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-08-18 12:41:27 +01:00
Donn Pawelek a679265b29 docs: fix typos in docs (#2056) 2025-08-13 14:43:41 +01:00
James Wilson 42f1a62a05 Fix 1.89 clippy warnings (#2055)
* Fix 1.89 clippy warnings

* WASM lightclient clippy fixes too
2025-08-11 15:33:55 +01:00