Tadeo Hepperle
1fe8ec3e4f
[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-15 12:11:21 +01:00
Tadeo hepperle
b86b1ea009
subxt signer linker errors but core compiles
2024-02-14 17:14:02 +01:00
Tadeo hepperle
cc33870c6b
remove unicode normalization and std references
2024-02-14 16:12:53 +01:00
Tadeo hepperle
a0a79c4290
Merge branch 'tadeohepperle/subxt-metadata-no-std' into tadeohepperle/subxt-core-2
2024-02-14 16:03:17 +01:00
Tadeo hepperle
d447f7cc97
remove libc and add small readme with test instructions
2024-02-14 15:57:23 +01:00
Tadeo hepperle
64987fe44c
adjust subxt signer static once locks
2024-02-14 15:51:34 +01:00
Tadeo hepperle
cb0d35d49d
Merge branch 'master' into tadeohepperle/subxt-metadata-no-std
2024-02-14 11:34:25 +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
Tadeo hepperle
5d6e0d5bd8
Merge branch 'master' into tadeohepperle/subxt-metadata-no-std
2024-02-14 10:44:07 +01:00
Tadeo hepperle
ce17d82589
remove std feature flag
2024-02-14 10:42:04 +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
Tadeo hepperle
2b38a0fce1
try compiling with different methods, no success
2024-02-07 14:55:26 +01:00
Tadeo hepperle
32f69dd1ce
Merge branch 'tadeohepperle/subxt-metadata-no-std' into tadeohepperle/subxt-core-2
2024-02-05 16:55:50 +01:00
Tadeo hepperle
f41f0908ec
add no-std-build for thumbv7em-none-eabi target
2024-02-05 16:53:57 +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
dependabot[bot]
fd9d99189d
build(deps): bump baptiste0928/cargo-install from 2 to 3 ( #1415 )
...
Bumps [baptiste0928/cargo-install](https://github.com/baptiste0928/cargo-install ) from 2 to 3.
- [Release notes](https://github.com/baptiste0928/cargo-install/releases )
- [Changelog](https://github.com/baptiste0928/cargo-install/blob/main/CHANGELOG.md )
- [Commits](https://github.com/baptiste0928/cargo-install/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: baptiste0928/cargo-install
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-02-05 09:46:14 +01:00
dependabot[bot]
f87570b4c2
build(deps): bump peter-evans/create-pull-request from 5 to 6 ( #1416 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 5 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
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-02-05 09:46:03 +01:00
dependabot[bot]
63a02a9e3f
build(deps): bump andymckay/cancel-action from 0.3 to 0.4 ( #1417 )
...
Bumps [andymckay/cancel-action](https://github.com/andymckay/cancel-action ) from 0.3 to 0.4.
- [Release notes](https://github.com/andymckay/cancel-action/releases )
- [Commits](https://github.com/andymckay/cancel-action/compare/b9280e3f8986d7a8e91c7462efc0fa318010c8b1...271cfbfa11ca9222f7be99a47e8f929574549e0a )
---
updated-dependencies:
- dependency-name: andymckay/cancel-action
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 09:45:51 +01:00
Tadeo hepperle
bc6cd9b885
fmt for whole workspace
2024-02-02 17:02:00 +01:00
Tadeo hepperle
e5ee97148a
discover linker errors for subxt-signer critical section of once_cell
2024-02-02 16:54:12 +01:00
Tadeo hepperle
fce85c4af0
start fixing examples and cleaning up interface
2024-02-02 16:50:41 +01:00
Tadeo hepperle
4e2d3fd9cf
core integration into subxt, except for examples
2024-02-02 16:12:15 +01:00
Tadeo hepperle
14b21ab0df
port subxt-signer to no-std (such a pain)
2024-02-02 14:39:03 +01:00
Tadeo hepperle
930f2c4300
custom values and runtime apis
2024-02-02 12:06:06 +01:00
Tadeo hepperle
e855aac44b
constants and storage entries
2024-02-02 10:44:57 +01:00
Tadeo hepperle
e427529341
remove prelude from core, use alloc directly
2024-02-02 09:42:24 +01:00
Tadeo hepperle
6236c49e3c
Merge branch 'tadeohepperle/subxt-metadata-no-std' into tadeohepperle/subxt-core-2
2024-02-02 09:16:06 +01:00
Tadeo hepperle
408f81ec3d
Merge branch 'master' into tadeohepperle/subxt-metadata-no-std
2024-02-02 09:13:48 +01:00
Tadeo hepperle
57743c3a1a
remove alloc::format! again, still causes linker errors
2024-02-02 09:13:27 +01:00
Tadeo Hepperle
8fa496b866
Build Polkadot Nodes in CI - fixes artifact generation ( #1410 )
...
* new workflow and adjust node builder
* fix examples by fixing artifacts script
* use-nodes instead of use-substrate
* update yamls
* build polkadot
* remove the on-push trigger again, now that polkadot built in the CI
* add default implementation again
2024-02-01 21:54:30 +01:00
Tadeo hepperle
87200b441a
revert autoformatting of Cargo.toml
2024-02-01 18:46:20 +01:00
Tadeo hepperle
addc4c8347
Merge branch 'master' into tadeohepperle/subxt-metadata-no-std
2024-02-01 18:44:16 +01:00
Tadeo hepperle
7aa69891a9
remove prelude from subxt-metadata
2024-02-01 18:42:47 +01:00
Tadeo hepperle
97aad71569
add storage address and custom error type to core crate
2024-02-01 18:19:26 +01:00
Tadeo hepperle
aed00e52f8
start porting dynamic value stuff
2024-02-01 14:36:43 +01:00
Tadeo hepperle
7b2cfdc7bf
subxt: use utils from core
2024-02-01 10:42:19 +01:00
Tadeo hepperle
2e66b48adf
subxt compiles with new dependency features
2024-02-01 10:29:46 +01:00
Alexandru Vasile
c1073bc8d1
ci: Better job parallelism, cancel pipeline on failure and extra clippy checks ( #1409 )
...
* ci: Change CI order for better parallelism
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Cancel ongoing jobs
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* TO REVERT: Check early termination due to clipp/check
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci/clippy: Extend clippy checks for lightclient and web feature flags
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Use cancel-action@3
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Derive Default
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* subxt/rpc: Resolve redundant closure
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tests: Fix clippy
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Fix clippy warnings
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Extend clippy rules
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Remove redundant clone
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Use subxt instead of subxt-lightclient
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Add wasm clippy step
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Simplify the clippy step into a single run command
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Pin version for cancel-action
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* ci: Fix pinned version
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-01-31 11:53:33 +02:00
Alexandru Vasile
7762da8650
LightClient: Unsubscribe from subscriptions ( #1408 )
...
* lightclient: Refactor the background protocol to receive unsub method
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* light-client: Unsubscribe if the user dropped the subscription
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Refactor background task for borrow-checker
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient/rpc: Pass the unsub method name to the background task
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Unsubscribe with subscription ID as param
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* lightclient: Rename subscription states
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
---------
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
2024-01-30 13:47:42 +02:00
Tadeo hepperle
4512ad7fc0
subxt-core compiles to no std again
2024-01-30 10:18:08 +01:00
Tadeo hepperle
a3ec38f8b6
init of subxt-core crate
2024-01-29 15:08:42 +01:00
Tadeo hepperle
fbee16dfb6
Merge branch 'master' into tadeohepperle/subxt-metadata-no-std
2024-01-29 11:46:53 +01:00