Alexandru Vasile
1a647500a7
Use default subxt-proc-macro timeout
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-05 15:29:38 +02:00
Alexandru Vasile
d3923c8715
proc-macro: Rename crate to subxt-test-proc-macro
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-05 15:28:32 +02:00
Alexandru Vasile
c5c797232d
proc-macro/tests: Adjust subxt-test proc-macro
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-04 17:45:04 +02:00
Alexandru Vasile
20e75bca44
testing: Add timeout 800 seconds
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 20:23:14 +02:00
Alexandru Vasile
b6c98c7fa0
proc-macro: Timeout for tests
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 20:20:14 +02:00
Alexandru Vasile
88ccc54339
testing: Disable tx dynamic test
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 13:40:30 +02:00
Alexandru Vasile
332fa729cb
testing: Retry constructing lightclient on read-proof errors
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 13:39:53 +02:00
Alexandru Vasile
1a6f1af8cb
testing: Disable sudo and contracts tests
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 13:39:18 +02:00
Alexandru Vasile
318ba5cae2
testing: Disable legacy RPC tests
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 13:23:33 +02:00
Alexandru Vasile
d6716646e2
subxt: Use unstable backend for light client
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 12:47:22 +02:00
Alexandru Vasile
8400a0e81b
testing: Wait for more blocks for the lightclient init
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 12:47:19 +02:00
Alexandru Vasile
0248343a2b
testing: Retry on Tx::Dropped for lightclinet only
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-03-01 11:39:53 +02:00
Alexandru Vasile
3c58c5ec88
ci: Isolate light-client testing to save CI minutes
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 18:55:05 +02:00
Alexandru Vasile
ca60c318d1
ci: Use 16 cores for light-client testing
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 18:54:36 +02:00
Alexandru Vasile
1fc1bb4152
ci: Long running tests for 60 mins
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 18:21:18 +02:00
Alexandru Vasile
593fbeb957
Revert "subxt: Use unstable backend for light client"
...
This reverts commit ea6f3cc58b .
2024-02-29 16:58:13 +02:00
Alexandru Vasile
8fe7e86e99
ci: Add long runnnig step
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 15:53:19 +02:00
Alexandru Vasile
ca36ef6643
testing: Disable flaky lightclient tests
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 15:51:24 +02:00
Alexandru Vasile
ea6f3cc58b
subxt: Use unstable backend for light client
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 15:51:04 +02:00
Alexandru Vasile
518aa8e24a
testing: Expose clients depending on feature flags
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 15:25:21 +02:00
Alexandru Vasile
34e9222959
testing: Add long running light client flag and cfg aliases
...
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-02-29 15:24:20 +02:00
James Wilson
3ffccb0369
[lightclient] lookup chain ID just once at beginning of each message ( #1452 )
...
* lookup chain ID just once at beginning of each message
* data => chain_data for more clarity
* cargo fmt
2024-02-28 18:50:35 +01:00
paritytech-subxt-pr-maker[bot]
08ae4059d8
Update Artifacts (auto-generated) ( #1446 )
...
Co-authored-by: tadeohepperle <62739623+tadeohepperle@users.noreply.github.com >
2024-02-26 11:28:46 +00:00
dependabot[bot]
60c03acfc0
build(deps): bump serde_json from 1.0.113 to 1.0.114 ( #1448 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.113 to 1.0.114.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.113...v1.0.114 )
---
updated-dependencies:
- dependency-name: serde_json
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-02-26 10:35:30 +01:00
dependabot[bot]
1aa528b928
build(deps): bump jsonrpsee from 0.22.0 to 0.22.1 ( #1451 )
...
* build(deps): bump jsonrpsee from 0.22.0 to 0.22.1
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee ) from 0.22.0 to 0.22.1.
- [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.22.0...v0.22.1 )
---
updated-dependencies:
- dependency-name: jsonrpsee
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update Cargo.lock
---------
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-02-26 10:15:54 +01:00
dependabot[bot]
c7ac5922a9
build(deps): bump darling from 0.20.6 to 0.20.8 ( #1447 )
...
Bumps [darling](https://github.com/TedDriggs/darling ) from 0.20.6 to 0.20.8.
- [Release notes](https://github.com/TedDriggs/darling/releases )
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TedDriggs/darling/compare/v0.20.6...v0.20.8 )
---
updated-dependencies:
- dependency-name: darling
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-02-26 10:06:28 +01:00
dependabot[bot]
09d7bfeedb
build(deps): bump futures-timer from 3.0.2 to 3.0.3 ( #1450 )
...
Bumps [futures-timer](https://github.com/async-rs/futures-timer ) from 3.0.2 to 3.0.3.
- [Commits](https://github.com/async-rs/futures-timer/commits/v3.0.3 )
---
updated-dependencies:
- dependency-name: futures-timer
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-02-26 10:06:06 +01:00
dependabot[bot]
a499cb611b
build(deps): bump serde from 1.0.196 to 1.0.197 ( #1449 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197 )
---
updated-dependencies:
- dependency-name: serde
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-02-26 10:05:58 +01:00
James Wilson
70d56dc62f
avoid a panic in case we try decoding naff bytes ( #1444 )
2024-02-24 11:48:39 +01:00
James Wilson
19be36cd2b
Fix error mapping to wrong transaction status ( #1445 )
2024-02-23 17:24:04 +00:00
James Wilson
0d1cc92f27
Update DispatchError to match latest in polkadot-sdk ( #1442 )
2024-02-23 16:16:52 +01:00
James Wilson
6f63ded5c1
[audit] Handle errors when fetching storage keys from Unstablebackend ( #1440 )
...
* Handle errors when fetching storage keys from Unstablebackend
* cargo fmt
2024-02-23 14:28:08 +01:00
James Wilson
4614ff7bbb
Swap type aliases around to be semantically correct ( #1441 )
2024-02-23 14:27:57 +01:00
paritytech-subxt-pr-maker[bot]
1ea84c6cde
Update Artifacts (auto-generated) ( #1433 )
...
Co-authored-by: tadeohepperle <62739623+tadeohepperle@users.noreply.github.com >
2024-02-19 10:32:24 +01:00
dependabot[bot]
8efe5b93d4
build(deps): bump clap from 4.5.0 to 4.5.1 ( #1434 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.0 to 4.5.1.
- [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.0...clap_complete-v4.5.1 )
---
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>
2024-02-19 09:32:50 +01:00
dependabot[bot]
89c886429f
build(deps): bump JasonEtco/create-an-issue from 2.9.1 to 2.9.2 ( #1435 )
...
Bumps [JasonEtco/create-an-issue](https://github.com/jasonetco/create-an-issue ) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/jasonetco/create-an-issue/releases )
- [Commits](https://github.com/jasonetco/create-an-issue/compare/e27dddc79c92bc6e4562f268fffa5ed752639abd...1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 )
---
updated-dependencies:
- dependency-name: JasonEtco/create-an-issue
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-02-19 09:32:17 +01:00
Tadeo Hepperle
5447035716
Subxt Metadata: #[no_std] compatibility ( #1401 )
...
* no-std tests and porting of subxt-metadata
* update pipeline
* fix generate custom metadata test
* fix cargo run command
* adjust pipeline
* remove prelude from subxt-metadata
* revert autoformatting of Cargo.toml
* remove alloc::format! again, still causes linker errors
* add no-std-build for thumbv7em-none-eabi target
* remove std feature flag
* remove libc and add small readme with test instructions
* change ci for nightly no std
2024-02-15 10:49:15 +01:00
Tadeo Hepperle
e39791a5bc
Add missing codegen mod in integration tests ( #1418 )
...
* add codgen mod to the module tree
* port codegen tests to scale-typegen
* remove test flag
2024-02-14 17:17:08 +01:00
Tadeo Hepperle
78e9574813
[Fix] Auto-generated PR: delete polkadot binaries from working directory. ( #1431 )
...
* delete substrate and polkadot binaries
* use nodes should move instead of copy and remove the archive
2024-02-14 16:02:51 +01:00
Alexander Samusev
e783d9f883
[ci] Run cronjob with app secrets ( #1420 )
...
* [ci] Run cronjob with app secrets
* rm github url
* move token creation closer to pr creation
* return checkout
* check that credentials work
* test gha
* add more test
* create test file
* rm tests
* add compression+decompression to avoid >100MB
* add shell field to action
* move zipped file to correct location
* strip binaries
---------
Co-authored-by: Tadeo hepperle <tadeo@do-mix.de >
2024-02-14 11:33:38 +01:00
Alexandru Vasile
25ff4ecc8b
subxt: Derive std::cmp traits for subxt payloads and addresses ( #1429 )
...
* subxt/tx: Derive std::cmp traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* subxt/runtime_api: Derive std::cmp traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* subxt/constants: Derive std::cmp traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* subxt/custom_values: Derive std::cmp traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* subxt/storage: Derive std::cmp traits
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* subxt: Fix non_canonical_partial_ord_impl clippy introduced in 1.73
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* subxt: Add comment wrt derivative issue that triggers clippy warning
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update subxt/src/backend/mod.rs
* Update subxt/src/constants/constant_address.rs
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-02-13 12:06:28 +02:00
dependabot[bot]
06ca274d1d
build(deps): bump jsonrpsee from 0.21.0 to 0.22.0 ( #1426 )
...
* build(deps): bump jsonrpsee from 0.21.0 to 0.22.0
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee ) from 0.21.0 to 0.22.0.
- [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.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: jsonrpsee
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update Cargo.lock
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Wilson <james@jsdw.me >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2024-02-12 16:30:47 +01:00
dependabot[bot]
af1fdf8257
build(deps): bump thiserror from 1.0.56 to 1.0.57 ( #1424 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57 )
---
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>
2024-02-12 11:12:37 +02:00
dependabot[bot]
a65184cc24
build(deps): bump either from 1.9.0 to 1.10.0 ( #1425 )
...
Bumps [either](https://github.com/rayon-rs/either ) from 1.9.0 to 1.10.0.
- [Commits](https://github.com/rayon-rs/either/compare/1.9.0...1.10.0 )
---
updated-dependencies:
- dependency-name: either
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-02-12 11:12:24 +02:00
dependabot[bot]
d6f93402ff
build(deps): bump clap from 4.4.18 to 4.5.0 ( #1427 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.18 to 4.5.0.
- [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/v4.4.18...clap_complete-v4.5.0 )
---
updated-dependencies:
- dependency-name: clap
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-02-12 11:12:04 +02:00
dependabot[bot]
75bd8fbd4e
build(deps): bump js-sys from 0.3.67 to 0.3.68 ( #1428 )
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.67 to 0.3.68.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
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-02-12 11:11:51 +02:00
Niklas Adolfsson
cb67f94455
feat: add reconnecting-rpc-client ( #1396 )
...
* initial commit
* update to reconnecting-ws-client v0.2
* re-export: reconnecting_rpc_client behind feature
* add helper function for reconnect
* fix nit in example
* simplify code without weird error fmt
* address grumbles
* address grumbles
* update reconnecting-ws-client 0.3
* cleanup error message
2024-02-08 13:19:06 +01:00
dependabot[bot]
61ab6b915e
build(deps): bump darling from 0.20.3 to 0.20.5 ( #1412 )
...
Bumps [darling](https://github.com/TedDriggs/darling ) from 0.20.3 to 0.20.5.
- [Release notes](https://github.com/TedDriggs/darling/releases )
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TedDriggs/darling/commits )
---
updated-dependencies:
- dependency-name: darling
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-02-05 11:49:30 +02:00
dependabot[bot]
9bcfd6cd94
build(deps): bump secp256k1 from 0.28.1 to 0.28.2 ( #1413 )
...
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1 ) from 0.28.1 to 0.28.2.
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/secp256k1-0.28.1...secp256k1-0.28.2 )
---
updated-dependencies:
- dependency-name: secp256k1
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-02-05 11:49:23 +02:00
dependabot[bot]
e82dd99c25
build(deps): bump tokio from 1.35.1 to 1.36.0 ( #1414 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0 )
---
updated-dependencies:
- dependency-name: tokio
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-02-05 11:49:15 +02:00