1125 Commits

Author SHA1 Message Date
James Wilson fc351d7658 update branch matching in CI v0.40.1 2025-06-03 12:38:44 +01:00
James Wilson 84cfd746f8 Prep to release 0.40.1 2025-06-03 12:23:25 +01:00
James Wilson fb20b01af6 Backport #2015 2025-06-03 12:22:06 +01:00
James Wilson b34e449adf Run CI on v0.N.x branches or PRs to them for ease of backporting 2025-06-03 12:20:50 +01:00
Niklas Adolfsson 9573b55e5f chore release v0.40.0 (#1946) v0.40.0 2025-03-06 13:30:30 +01:00
Niklas Adolfsson e1b765c814 deps: remove polkadot-sdk umbrella crate (#1926)
* deps: get rid of polkadot-sdk umbrella crate

* fix nits

* Update subxt/src/backend/mod.rs

* Update subxt/src/events/events_client.rs

* Update metadata/src/utils/validation.rs

* cargo clippy fix

* fix ui tests
2025-03-06 13:04:22 +01:00
James Wilson c96387c47d Prep to release 0.39.0 (#1918)
* Pre pto release 0.39.0

* Actually save updates in Cargo.toml

* Tweak changelog text
v0.39.0
2025-02-05 11:00:09 +00:00
James Wilson d924ece39a Don't double hash: use the same hash in ExtrinsicDetails and ExtrinsicDetails (#1917)
* Don't double hash: use the same hash in ExtrinsicDetails and ExtrinsicEvents

* clippy
2025-02-03 17:47:31 +00:00
James Wilson 29bf00e209 Fix and test sr25519 signing in nostd (#1872)
* Fix and test sr25519 signing in nostd

* Remove sr25519 signing test on nostd for thumbabi target

* Don't use sr25519 feature in nostd tests

* Fix nits, remove WASM deps from nostd test, improve comments

* Change copypasted comment

* fmt

* Update CI to account for signer tests
2025-01-30 17:13:58 +00:00
James Wilson 94f4e7f39b preserve custom metadata when converting between Subxt metadata and frame_metadata (#1914) 2025-01-30 16:14:11 +00:00
dependabot[bot] a5a1733b95 build(deps): bump dawidd6/action-download-artifact (#1909)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 7 to 8.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/80620a5d27ce0ae443b965134db88467fc607b43...20319c5641d495c8a52e688b7dc5fada6c3a9fbc)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  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-01-27 11:11:07 +02:00
paritytech-subxt-pr-maker[bot] 56c410cbe1 Update Artifacts (auto-generated) (#1908)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-01-27 11:10:55 +02:00
dependabot[bot] 43a1623f93 build(deps): bump rustls in /examples/parachain-example (#1907)
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.10 to 0.23.21.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.10...v/0.23.21)

---
updated-dependencies:
- dependency-name: rustls
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 16:41:56 +01:00
dependabot[bot] 7fa25a7da4 build(deps): bump curve25519-dalek in /examples/wasm-example (#1905)
Bumps [curve25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/curve25519-4.1.2...curve25519-4.1.3)

---
updated-dependencies:
- dependency-name: curve25519-dalek
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-24 15:57:28 +01:00
Niklas Adolfsson 39507c7eb4 fix: don't wrap rpc error in DisconnectedWillReconnect in reconnecting rpc client (#1904)
* fix: don't wrap rpc err in DisconnectedWillRecon

* add clarifying comment

* fix no-std-test build

* fix no-std-test build v2
2025-01-24 14:18:12 +01:00
James Wilson dff4dab65e Tweak test to look at holds, not locks after polkadot-sdk@f5673cf (#1896) 2025-01-20 15:38:13 +01:00
dependabot[bot] ba4727f4af build(deps): bump Swatinem/rust-cache from 2.7.5 to 2.7.7 (#1889)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.5 to 2.7.7.
- [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/82a92a6e8fbeee089604da2575dc567ae9ddeaab...f0deed1e0edfc6a9be95417288c0e1099b1eeec3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2025-01-20 16:32:54 +02:00
David Wood 3ab5832059 chore: fix some typos in comment (#1898)
Signed-off-by: davidwoood <davidwood@aliyun.com>
2025-01-20 09:53:48 +00:00
paritytech-subxt-pr-maker[bot] 2d9de19040 Update Artifacts (auto-generated) (#1894)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-01-15 17:43:06 +00:00
dependabot[bot] c3fb9d1b7e build(deps): bump Swatinem/rust-cache in /.github/workflows (#1890)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.5 to 2.7.7.
- [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/82a92a6e8fbeee089604da2575dc567ae9ddeaab...f0deed1e0edfc6a9be95417288c0e1099b1eeec3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2025-01-15 15:08:02 +00:00
dependabot[bot] 126ceaadef build(deps): bump dawidd6/action-download-artifact (#1875)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 6 to 7.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/bf251b5aa9c2f7eeb574a96ee720e24f801b7c11...80620a5d27ce0ae443b965134db88467fc607b43)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  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>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2025-01-14 10:49:48 +01:00
Niklas Adolfsson 2e3e9591c1 tests: add WeightReclaim signed ext (#1893) 2025-01-07 11:07:56 +01:00
Niklas Adolfsson 27e275fc42 fix: substrate runner, support new libp2p addr log (#1892) 2025-01-06 12:52:27 +01:00
paritytech-subxt-pr-maker[bot] 62752844fe Update Artifacts (auto-generated) (#1885)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2025-01-02 08:41:44 +01:00
Niklas Adolfsson f363f77a60 chore: fix clippy lints (#1882) 2024-12-10 13:08:40 +01:00
Alejandro Martinez 6f8c5afa44 chore: include pop cli to README (#1881) 2024-12-10 11:39:44 +01:00
Niklas Adolfsson f5e9ce0d2c remove substrate compat (#1850)
* remove substrate compat

* add hacky example

* simplify substrate-compat example

* simplify substrate-compat example

* cargo fmt

* fix build

* add more examples

* fix nit

* fix test build

* Update subxt/examples/substrate_compat_signer.rs

Co-authored-by: James Wilson <james@jsdw.me>

* keep only polkadot signer example

* remove more substrate compat related stuff

* fix example

* link to substrate signer example in book

* Update subxt/src/book/usage/transactions.rs

* Update subxt/src/book/usage/transactions.rs

* address grumbles

* fix nits

---------

Co-authored-by: James Wilson <james@jsdw.me>
2024-11-27 16:46:38 +01:00
paritytech-subxt-pr-maker[bot] 09ab839ff2 Update Artifacts (auto-generated) (#1874)
Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
2024-11-25 10:24:47 +02:00
James Wilson c71ba59db9 Bump frame-decode and frame-metadata to latest (#1870) 2024-11-25 08:20:24 +01:00
James Wilson 0dbcdbdd9c Attempt to quickfix flaky legacy_and_unstable_block_subscription_reconnect (#1868)
* Attempt to quickfix flaky legacy_and_unstable_block_subscription_reconnect test

* Make test name match behaviour

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Timeout to 300s

---------

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2024-11-18 12:49:12 +00:00
Pavlo Khrystenko 7d1002192e Migrate custom error trait impls to thiserror (#1856)
* Migrate to thiserror

* missing bits

* review comment

* Apply suggestions from code review

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* From<scale_decode::visitor::Error> to remove Into::intos

* scale crates for core::error::Error

* bump msrv 1.81

* make signer crate compile

---------

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: James Wilson <james.wilson@parity.io>
2024-11-18 09:39:14 +00:00
James Wilson 137701757e re-enable Ci (#1867) 2024-11-15 15:14:43 +01:00
James Wilson 057c847474 Fix unstable-light-client + ChainHeadBackend tx events (#1865)
* Fix unstable-light-client + ChainHeadBackend tx events

* Add note that Broadcasted event should no longer be returned at all

* fmt
2024-11-13 15:26:11 +01:00
James Wilson f861adf5f0 When native feature is enabled, we need polkadot-sdk/std for eg examples to work (#1864) 2024-11-13 10:59:01 +00:00
Pavlo Khrystenko 362aea32d8 Load latest metadata version from Wasm blobs. (#1859)
* use "metadata_at_version"

closes #1858
2024-11-12 12:07:34 +01:00
Radha e502121176 Minor fix - Yew example (#1852)
https://github.com/yewstack/yew/discussions/3688

The missing body tag causes an error while serving the website

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2024-11-11 20:51:33 +01:00
paritytech-subxt-pr-maker[bot] cb9571d7a6 Update Artifacts (auto-generated) (#1860)
* Update Artifacts (auto-generated)

* fix assethub example

* update Cargo.lock for wasm tests

* cargo fmt

* fix subxt cli tests

* disable failing wasm tests

* add issue link for disabled test

---------

Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2024-11-11 18:34:02 +01:00
James Wilson 3219659f12 Fix substrate nightly (#1848) 2024-10-30 10:40:02 +01:00
Niklas Adolfsson 0f190f3278 ci: enable integrations tests polkadot-sdk master again (#1846) 2024-10-29 11:13:53 +01:00
paritytech-subxt-pr-maker[bot] b963b8fcae Update Artifacts (auto-generated) (#1844)
* Update Artifacts (auto-generated)

* fix ui tests

---------

Co-authored-by: niklasad1 <14157425+niklasad1@users.noreply.github.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2024-10-28 15:37:49 +01:00
PG Herveou 251a925da2 fix (#1843) 2024-10-26 02:26:43 +02:00
James Wilson ff2196d5f1 Update the release notes to work for current releases (#1842) 2024-10-25 16:44:45 +02:00
James Wilson 9640ecc751 Prep to release v0.38.0 (#1841)
* Prep to release v0.38.0

* Remove entry from changelog
v0.38.0
2024-10-24 15:45:02 +01:00
Niklas Adolfsson dc0795b3b9 move fetch metadata to a separate crate subxt_utils_fetchmetadata (#1829)
* macros: feature-gate jsonrpsee/fetch metadata url

* make CI happy

* Update codegen/src/error.rs

* extract `fetch-metdata` to separate crate

* add missing license headers

* introduce subxt-utils crate

* add missing files

* codegen: remove unused hex crate

* fix test build

* move subxt_utils -> subxt_utils_fetchmetadata

* cargo fmt

* runtime-path -> runtime-metadata-path

* Update utils/fetch-metadata/src/lib.rs
2024-10-24 14:45:39 +01:00
Niklas Adolfsson f358a3864e chore(deps): bump subxt signer deps (#1840) 2024-10-24 12:35:16 +02:00
Niklas Adolfsson 882e9df030 chore(deps): bump frame-decode from 0.4.0 to 0.5.0 (#1839) 2024-10-23 20:16:04 +02:00
James Wilson 15cf58f723 Make it clearer which extrinsic failed to decode (#1835)
* Add an extrinsic index to decode errors so that we know which extrinsic failed

* Fix subxt::BlockError to align with subxt_core::BlockError

---------

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2024-10-23 18:03:32 +02:00
Niklas Adolfsson 2f7ea3ff64 chore(deps): bump frame-metadata from 16 to 17 (#1836)
* chore(deps): bump frame-metadata from 16 to 17

* fix substrate test build

* revert test fix

---------

Co-authored-by: James Wilson <james@jsdw.me>
2024-10-23 17:57:06 +02:00
Niklas Adolfsson 50fc73a2a5 ci: run against older substrate/polkadot ref (#1838)
* ci: run against older substrate/polkadot ref

* Update .github/workflows/build-nodes.yml

* Update .github/workflows/build-nodes.yml
2024-10-23 17:12:09 +02:00
Niklas Adolfsson 03f63ef771 chore(deps): bump futures from 0.3.30 to 0.3.31 (#1837) 2024-10-23 11:07:49 +02:00