Skip to content

Commit

Permalink
Update Artifacts (auto-generated) (#1860)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Nov 11, 2024
1 parent 3219659 commit cb9571d
Show file tree
Hide file tree
Showing 11 changed files with 2,827 additions and 1,954 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,12 @@ jobs:
pkill substrate-node
working-directory: testing/wasm-lightclient-tests

- name: Run subxt-signer WASM tests
run: |
wasm-pack test --headless --firefox
wasm-pack test --headless --chrome
working-directory: signer/wasm-tests
# TODO: WASM tests for the subxt-signer is currently broken https://github.com/paritytech/subxt/issues/1861.
#- name: Run subxt-signer WASM tests
# run: |
# wasm-pack test --headless --firefox
# wasm-pack test --headless --chrome
# working-directory: signer/wasm-tests

- if: "failure()"
uses: "andymckay/cancel-action@a955d435292c0d409d104b57d8e78435a93a6ef1" # v0.5
Expand Down
8 changes: 4 additions & 4 deletions artifacts/demo_chain_specs/polkadot.json

Large diffs are not rendered by default.

Binary file modified artifacts/polkadot_metadata_full.scale
Binary file not shown.
Binary file modified artifacts/polkadot_metadata_small.scale
Binary file not shown.
Binary file modified artifacts/polkadot_metadata_tiny.scale
Binary file not shown.
1 change: 1 addition & 0 deletions cli/src/commands/explore/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ pub mod tests {
SessionKeys
TaggedTransactionQueue
TransactionPaymentApi
TrustedQueryApi
XcmPaymentApi
"};
assert_eq!(output, expected_output);
Expand Down
5 changes: 3 additions & 2 deletions subxt/examples/setup_config_assethub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ use subxt_signer::sr25519::dev;
#[subxt::subxt(
runtime_metadata_path = "../artifacts/polkadot_metadata_full.scale",
derive_for_type(
path = "xcm::v2::multilocation::MultiLocation",
path = "staging_xcm::v3::multilocation::MultiLocation",
derive = "Clone",
recursive
)
)]
pub mod runtime {}
use runtime::runtime_types::xcm::v2::multilocation::{Junctions, MultiLocation};
use runtime::runtime_types::staging_xcm::v3::multilocation::MultiLocation;
use runtime::runtime_types::xcm::v3::junctions::Junctions;

// We don't need to construct this at runtime, so an empty enum is appropriate.
pub enum AssetHubConfig {}
Expand Down
3,743 changes: 2,790 additions & 953 deletions testing/integration-tests/src/full_client/codegen/polkadot.rs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ error: Type `Event` does not exist at path `sp_runtime::multiaddress::Event`
polkadot_runtime_common::auctions::pallet::Event
polkadot_runtime_common::crowdloan::pallet::Event
polkadot_runtime_parachains::coretime::pallet::Event
pallet_migrations::pallet::Event
pallet_xcm::pallet::Event
polkadot_runtime_common::identity_migrator::pallet::Event
polkadot_runtime_common::assigned_slots::pallet::Event
Expand Down
Loading

0 comments on commit cb9571d

Please sign in to comment.