Commit Graph

1216 Commits

Author SHA1 Message Date
James Wilson 297dd2b9a5 Merge branch 'master' into update-artifacts-1760920582 2025-10-22 10:16:53 +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
niklasad1 cada0935ad Update Artifacts (auto-generated) 2025-10-20 00:36:22 +00: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
paritytech-subxt-pr-maker[bot] 642e6b5be5 Update Artifacts (auto-generated) (#2049)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-08-04 11:42:37 +01:00
Bastian Köcher 8e162036a1 Block: Implement clone (#2047) 2025-07-31 10:59:12 +01:00
James Wilson fdc42f088b Increase reconnecting client request/response size (#2046) 2025-07-29 17:53:57 +01:00
Donn Pawelek 02eda40bba docs: fix typos in docs (#2045)
* docs: fix typos in docs

* up

* up
2025-07-29 16:01:22 +01:00
paritytech-subxt-pr-maker[bot] fce54cbba8 Update Artifacts (auto-generated) (#2044)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-07-28 10:04:09 +01:00
paritytech-subxt-pr-maker[bot] 8914ca3e67 Update Artifacts (auto-generated) (#2042)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-07-21 12:02:03 +01:00
James Wilson 841a43b1ec Prepare for 0.43.0 release (#2041) v0.43.0 2025-07-18 10:01:33 +01:00
paritytech-subxt-pr-maker[bot] 0a20e74dc6 Update Artifacts (auto-generated) (#2039)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-07-14 10:14:13 +01:00
paritytech-subxt-pr-maker[bot] 849a5e6700 Update Artifacts (auto-generated) (#2036)
* Update Artifacts (auto-generated)

* update ui test

---------

Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
Co-authored-by: James Wilson <james@jsdw.me>
2025-07-08 16:52:17 +01:00
James Wilson 026c239305 Fix 'subxt explore storage': don't turn keys to bytes (#2038)
* Fix 'subxt explore storage': don't turn keys to bytes

* fmt

* Remove unused imports
2025-07-08 13:33:39 +01:00
James Wilson ff6fc1585e Add FFI example (#2037)
* Add FFI example

* Remove unnecessary dependency (libc)

* Tweak python example and add CI
CI Tweak; separate task for ffi-example run

* Remove OnceCell dep; use std

---------

Co-authored-by: wassimans <wassim@wassimans.com>
2025-07-08 12:06:13 +01:00
puzzle-rusher 17b98d0d9e Refactor: improve nonce and block injection in extrinsic params (#2032)
* Refactor: improve nonce and block injection in extrinsic params

* remove excess import

---------

Co-authored-by: James Wilson <james@jsdw.me>
2025-07-04 22:54:04 +01:00
Bastian Köcher 05c9eafe79 Improve docs for at_latest (#2035)
Tell the user that these functions operate with the last finalized block.

Co-authored-by: James Wilson <james@jsdw.me>
2025-07-04 22:06:41 +01:00
puzzle-rusher e892802baf Clippy fixes (#2033)
* clippy fixed

* wasm clippy

* clippy fixes

* post clippy fmt

* last clippy fix
2025-07-04 21:21:31 +01:00
Donn Pawelek 1f57e8fd1a docs: fix minor comment typos (#2027) 2025-06-30 10:20:07 +01:00
James Wilson 77b6abccba Address some issues around tx mortality (#2025)
* Clarify mortality config

* Fix EncodeAsType / DecodeAsType impls for Era to be proper ones

* Fix test now that txs are mortal by default

* clippy

* missing imports

* allow Era decoding from CheckMortality

* tweak a comment

* fmt

* Add more explicit tests for mortality
2025-06-23 15:22:14 +01:00
gcmutator 3078729271 chore: remove redundant backtick in comment (#2020)
Signed-off-by: gcmutator <329964069@qq.com>
2025-06-18 10:32:58 +01:00
James Wilson a78f52b9d5 Keep codec attrs even when Encode/Decode not used (#2023)
* Keep codec attrs even when Encode/Decode not used

* Fix p2p port discovery for newest substrate

* clippy
2025-06-18 10:32:29 +01:00
James Wilson 3643f2c694 Run CI on v0.N.x branches or PRs to them for ease of backporting (#2017) 2025-06-03 13:10:15 +01:00
James Wilson f831e8f87c De-dup types early in CLI/macro so that derives/substitutes work for de-duped types (#2015)
* De-dup types early to enable derives for them

* ensure_unique_type_paths in CLI codegen, too

* Update UI test outpuot

---------

Co-authored-by: José Duarte <duarte.gmj@gmail.com>
2025-06-03 12:03:55 +01:00
James Wilson a4331dfa08 If only one hasher, always treat any key as a single and not NMap key, even if it's a tuple. (#2010)
* If only one hasher, always treat any key as a single and not DoubleMap or NMap key

* Fix test

* Make the dyanmic storage key handling match our codegen handling
2025-06-02 15:18:00 +01:00
dependabot[bot] dfb4b2f68a build(deps): bump dawidd6/action-download-artifact (#2013)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 9 to 10.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/07ab29fd4a977ae4d2b275087cf67563dfdf0295...4c1e823582f43b179e2cbb49c3eade4e41f992e2)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-version: '10'
  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-06-02 13:01:33 +01:00