// Copyright 2019-2022 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. /// Checks that code generated by `subxt-cli codegen` compiles. Allows inspection of compiler errors /// directly, more accurately than via the macro and `cargo expand`. /// /// Generate by: /// /// - run `polkadot --dev --tmp` node locally /// - `cargo run -p subxt-cli -- codegen | rustfmt > testing/integration-tests/src/codegen/polkadot.rs` #[rustfmt::skip] #[allow(clippy::all)] mod polkadot; mod codegen_documentation;