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
Niklas Adolfsson
cbf05d1999
fix: error message on rpc errors ( #1804 )
2024-10-01 20:01:07 +02:00
James Wilson
b5209a162e
Use frame-decode for core extrinsic decode logic ( #1785 )
...
* WIP using frame-decode for core extrinsic decode logic
* fmt
* Fix dependabot config
* clippy
* tidy some imports
* Fix a couple of tests
* Update to frame-decode 0.0.7
* fix docs
* Decode exts earlier to avoid doing it every iter/find step
* frame-decode to 0.1.0
* fmt
* clippy
* fix wasm example
* doc test fixes
* Fix test
* Fix a couple of subxt_core tests
2024-10-01 11:21:51 +01:00
Niklas Adolfsson
72db833def
reconn-rpc-client: parse URL before connecting ( #1789 )
...
* reconn-rpc-client: parse URL before connecting
It was hard to figure whether one simply entered a faulty URL
and it tried to reconnect according to the retry policy.
With this change we first parse url and then try to reconnect.
This will detect invalid directly instead of waiting for the retry
to complete.
* clippy fix
* wasm: &str -> Url
2024-09-30 16:40:20 +02:00
Niklas Adolfsson
dff16c6194
chore(deps): bump a few dependencies ( #1788 )
...
* chore(deps): bump a few dependencies
* signer: make it compile
2024-09-30 15:20:52 +02:00
Christina
ec3349b3cd
docs: fix typos ( #1776 )
...
* Update mod.rs
* Update extrinsics.rs
* Update address.rs
* Update codegen/src/api/mod.rs
Co-authored-by: James Wilson <james@jsdw.me >
---------
Co-authored-by: James Wilson <james@jsdw.me >
2024-09-30 11:53:48 +01:00
paritytech-subxt-pr-maker[bot]
7dff932382
Update Artifacts (auto-generated) ( #1790 )
...
Co-authored-by: tadeohepperle <62739623+tadeohepperle@users.noreply.github.com >
2024-09-30 12:47:57 +03:00
dependabot[bot]
48be3f1dca
build(deps): bump curve25519-dalek from 4.1.2 to 4.1.3 ( #1796 )
...
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>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-09-30 12:47:34 +03:00
dependabot[bot]
4d0b0e52ae
build(deps): bump regex from 1.10.6 to 1.11.0 ( #1791 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.6 to 1.11.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.6...1.11.0 )
---
updated-dependencies:
- dependency-name: regex
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>
2024-09-30 11:04:29 +02:00
dependabot[bot]
1ade5cf298
build(deps): bump jsonrpsee from 0.24.4 to 0.24.5 ( #1792 )
...
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee ) from 0.24.4 to 0.24.5.
- [Release notes](https://github.com/paritytech/jsonrpsee/releases )
- [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.24.4...v0.24.5 )
---
updated-dependencies:
- dependency-name: jsonrpsee
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-09-30 11:04:08 +02:00
dependabot[bot]
04e1ca31ae
build(deps): bump scale-value from 0.16.2 to 0.16.3 ( #1793 )
...
Bumps [scale-value](https://github.com/paritytech/scale-value ) from 0.16.2 to 0.16.3.
- [Release notes](https://github.com/paritytech/scale-value/releases )
- [Changelog](https://github.com/paritytech/scale-value/blob/main/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-value/commits )
---
updated-dependencies:
- dependency-name: scale-value
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-09-30 11:03:54 +02:00
dependabot[bot]
38cfa4466c
build(deps): bump async-trait from 0.1.82 to 0.1.83 ( #1794 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.82 to 0.1.83.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.82...0.1.83 )
---
updated-dependencies:
- dependency-name: async-trait
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-09-30 11:03:42 +02:00
dependabot[bot]
bbea605344
build(deps): bump sc-executor from 0.40.0 to 0.40.1 ( #1795 )
...
Bumps [sc-executor](https://github.com/paritytech/polkadot-sdk ) from 0.40.0 to 0.40.1.
- [Release notes](https://github.com/paritytech/polkadot-sdk/releases )
- [Changelog](https://github.com/paritytech/polkadot-sdk/blob/master/docs/RELEASE.md )
- [Commits](https://github.com/paritytech/polkadot-sdk/commits )
---
updated-dependencies:
- dependency-name: sc-executor
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-09-30 11:03:26 +02:00
Pavlo Khrystenko
8f2c92f0ef
add reconnecting tests for unstable_backend ( #1765 )
...
* add tests for unstable_backend
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-09-30 00:03:11 +02:00
Niklas Adolfsson
ddb5d4c9d7
dependabot: remove ignore for polkadot-sdk crates ( #1784 )
...
polkadot-sdk crates are now released on crates.io in accordance with the release process something every month, so should be fine include them with dependabot
2024-09-26 10:01:09 +01:00
dependabot[bot]
b08ff7b48b
build(deps): bump clap from 4.5.17 to 4.5.18 ( #1778 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.17 to 4.5.18.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.17...clap_complete-v4.5.18 )
---
updated-dependencies:
- dependency-name: clap
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 >
2024-09-24 16:46:15 +02:00
drewstone
aab1ef8a6c
Upgrade sp-core, sp-runtime and sp-keyring ( #1777 )
...
* Upgrade sp-core to v34
* Update Cargo.toml
Co-authored-by: James Wilson <james@jsdw.me >
* Fix clippy
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: James Wilson <james@jsdw.me >
2024-09-24 16:27:39 +02:00
dependabot[bot]
916f6c96d5
build(deps): bump thiserror from 1.0.63 to 1.0.64 ( #1779 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64 )
---
updated-dependencies:
- dependency-name: thiserror
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 >
2024-09-24 16:23:48 +02:00
Niklas Adolfsson
9db5a39013
substrate runner: increase line read + dump CLI output if parsing fails ( #1781 )
...
* substrate runner: dump CLI output parsing fails
* cargo fmt
* Update testing/substrate-runner/src/lib.rs
* fix grumbles
* disable flaky test
* ignore reconn test too
* ignore more tests
* fix tests
* improve log parsing
* Update testing/integration-tests/src/full_client/client/unstable_rpcs.rs
* Update testing/integration-tests/src/full_client/client/unstable_rpcs.rs
* fix nits
* fix reconn test
2024-09-24 15:33:08 +02:00