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
Niklas Adolfsson
9b5523e4b0
chore(deps): bump scale family crates, primitive-types and impl-serde ( #1832 )
...
* chore(deps): bump scale-encode and scale-decode
* Update Cargo.toml
* Update Cargo.toml
* Update Cargo.toml
* update Cargo.lock
* bump scale-typegen
* use primitive_types::H256
* cargo fmt
* remove old darling hack
2024-10-22 19:23:38 +02:00
Niklas Adolfsson
418bd88e62
chore(deps): replace instant with web-time ( #1830 )
...
* chore(deps): replace `instant` with `web-time`
Close https://github.com/paritytech/subxt/issues/1597
* fix build
* fix build v2
* cargo fmt
2024-10-22 15:54:54 +02:00
James Wilson
c07c760d85
Update frame-decode to 0.4.0 ( #1833 )
2024-10-22 13:08:40 +02:00
Pavlo Khrystenko
ae0fce8dff
Strip metadata fix ( #1774 )
...
* Fix metadata stripping being too eager
closes #1659
---------
Co-authored-by: James Wilson <james@jsdw.me >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-10-21 22:41:14 +02:00
Niklas Adolfsson
9527165a40
fix: defalt-feature -> default-features Cargo.toml ( #1828 )
2024-10-14 17:15:46 +02:00
Niklas Adolfsson
bcdf0bb054
light client tests: use ChainheadBackendBuilder::build_with_background_driver ( #1823 )
...
* backend rpc tests: use background task
* fix build
2024-10-14 12:02:12 +02:00
dependabot[bot]
da2fcd5a40
build(deps): bump Swatinem/rust-cache in /.github/workflows ( #1827 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.7.3 to 2.7.5.
- [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/23bce251a8cd2ffc3c1075eaa2367cf899916d84...82a92a6e8fbeee089604da2575dc567ae9ddeaab )
---
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>
2024-10-14 11:54:25 +03:00
paritytech-subxt-pr-maker[bot]
77a36773ae
Update Artifacts (auto-generated) ( #1826 )
...
Co-authored-by: tadeohepperle <62739623+tadeohepperle@users.noreply.github.com >
2024-10-14 09:15:18 +02:00
Niklas Adolfsson
0e86993cd7
deps: use polkadot-sdk umbrella crate ( #1786 )
...
* deps: unify usage of polkadot-sdk crates
* cargo fmt
* fix macro crate
* make tests compile
* fix more nits
* fix doc tests
* fix more nits
* more nits
* core: remove polkadot-sdk/std
* cargo fmt
* remove polkadot-sdk/std by default
* Update metadata/Cargo.toml
* remove more std
* Update Cargo.toml
2024-10-11 14:19:11 +02:00
Niklas Adolfsson
5bf1756394
chainhead backend: notify subscribers when the backend is closed ( #1817 )
...
* FollowEvent::stop include backend closed or not
* simplify code: enum variant BackendClosed
* check both stopped and backend closed
* simplify hacky code
* remove old test
* Update subxt/src/backend/chain_head/follow_stream_driver.rs
* Update subxt/src/backend/chain_head/mod.rs
* Update subxt/src/backend/chain_head/mod.rs
* Update subxt/src/backend/chain_head/follow_stream_driver.rs
2024-10-11 11:14:50 +02:00
Alexander Samusev
00b3149fca
[ci] Use parity-large runners instead ubuntu-latest-16-cores ( #1821 )
...
* [ci] Use parity-large runners instead ubuntu-latest-16-cores
* isntall curl, move clippy, check, docs to parity-large
* install gcc, make, clang
* isntall cmake
* mv artifacts to /usr/local/bin
* sudo mv
* check build-nodes
* uncomment upload
* temporary run build-nodes on pull request to make CI green
* rm on: pr from build-nodes
2024-10-09 14:41:04 +02:00
Branislav Kontur
6fd3e7b266
codegen: allow(unreachable_patterns)
...
```
error: unreachable pattern
--> relay-clients/client-polkadot/src/codegen_runtime.rs:5751:22
|
5751 | Void(runtime_types::sp_core::Void),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `codegen_runtime::api::runtime_types::sp_core::Void` is uninhabited
|
= note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types
= note: `-D unreachable-patterns` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unreachable_patterns)]`
```
2024-10-07 12:47:20 +02:00
dependabot[bot]
73ae066b81
build(deps): bump dawidd6/action-download-artifact ( #1816 )
...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact ) from 3.1.4 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases )
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/09f2f74827fd3a8607589e5ad7f9398816f540fe...bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 )
---
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>
2024-10-07 12:33:02 +03:00
paritytech-subxt-pr-maker[bot]
fefb324b24
Update Artifacts (auto-generated) ( #1815 )
...
Co-authored-by: tadeohepperle <62739623+tadeohepperle@users.noreply.github.com >
2024-10-07 11:40:08 +03:00
dependabot[bot]
3521014999
build(deps): bump dawidd6/action-download-artifact ( #1800 )
...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact ) from 2.28.0 to 3.1.4.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases )
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/268677152d06ba59fcec7a7f0b5d961b6ccd7e1e...09f2f74827fd3a8607589e5ad7f9398816f540fe )
---
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>
2024-10-04 10:13:47 +02:00
dependabot[bot]
9d17f5d0ec
build(deps): bump actions/upload-artifact in /.github/workflows ( #1799 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-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>
2024-10-04 10:13:34 +02:00
dependabot[bot]
9888617245
build(deps): bump actions/upload-artifact from 3 to 4 ( #1798 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-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>
2024-10-04 10:13:24 +02:00
Niklas Adolfsson
8f3c0b44fb
stabilize reconnecting-rpc-client ( #1803 )
...
* stabilize reconnecting-rpc-client
* fix build
* remove missed unstable stuff
2024-10-03 20:03:16 +02:00
Niklas Adolfsson
3807b29f36
rpc: stabilize chainhead backend ( #1802 )
...
* rpc: stabilize ChainHeadBackend
* remove noise from example
* add missing features
* make tests compile
* make tests compile v2
* revert stop event
* feature-gate runtime
* Update subxt/Cargo.toml
* add docsrs feature stuff
* Update subxt/src/backend/chain_head/mod.rs
* Update subxt/src/backend/chain_head/mod.rs
* Update subxt/src/backend/chain_head/mod.rs
2024-10-03 18:14:38 +02:00
Pavlo Khrystenko
7f9a1a17c0
derive serialize on more types ( #1797 )
...
* derive serialize on more types
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-10-03 11:15:09 +02:00