Allow to test Multi-Block-Migrations #283
Annotations
10 errors
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L204
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:204:22
|
204 | Token::Address(*impl_address),
| -------------- ^^^^^^^^^^^^^ expected `primitive_types::H160`, found `H160`
| |
| arguments to this enum variant are incorrect
|
= note: `H160` and `primitive_types::H160` have similar names, but are actually distinct types
note: `H160` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:55:1
|
55 | / construct_fixed_hash! {
56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
58 | | pub struct H160(20);
59 | | }
| |_^
note: `primitive_types::H160` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:61:1
|
61 | / construct_fixed_hash! {
62 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
63 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
64 | | pub struct H160(20);
65 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:22:2
|
22 | Address(Address),
| ^^^^^^^
= note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L218
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:218:19
|
218 | Token::Uint(U256::from((*mode) as u64)),
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L223
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:223:19
|
223 | Token::Uint(U256::from((*mode) as u64)),
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L226
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:226:53
|
226 | ethabi::encode(&[Token::Tuple(vec![Token::Uint(U256::from((*mode) as u64))])]),
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L230
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:230:22
|
230 | Token::Address(*recipient),
| -------------- ^^^^^^^^^^ expected `primitive_types::H160`, found `H160`
| |
| arguments to this enum variant are incorrect
|
= note: `H160` and `primitive_types::H160` have similar names, but are actually distinct types
note: `H160` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:55:1
|
55 | / construct_fixed_hash! {
56 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
57 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
58 | | pub struct H160(20);
59 | | }
| |_^
note: `primitive_types::H160` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:61:1
|
61 | / construct_fixed_hash! {
62 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size.
63 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
64 | | pub struct H160(20);
65 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:22:2
|
22 | Address(Address),
| ^^^^^^^
= note: this error originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L231
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:231:19
|
231 | Token::Uint(U256::from(*amount)),
| ----------- ^^^^^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L238
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:238:18
|
238 | Token::Uint(U256::from(*create_asset_xcm)),
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L239
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:239:18
|
239 | Token::Uint(U256::from(*transfer_asset_xcm)),
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L240
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:240:18
|
240 | Token::Uint(*register_token),
| ----------- ^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
cargo clippy:
home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs#L244
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/602352c/bridges/snowbridge/primitives/core/src/outbound.rs:244:19
|
244 | Token::Uint(exchange_rate.clone().into_inner()),
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ethabi_decode::U256`, found `sp_core::U256`
| |
| arguments to this enum variant are incorrect
|
= note: `sp_core::U256` and `ethabi_decode::U256` have similar names, but are actually distinct types
note: `sp_core::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.12.2/src/lib.rs:38:1
|
38 | / construct_uint! {
39 | | /// 256-bit unsigned integer.
40 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
41 | | pub struct U256(4);
42 | | }
| |_^
note: `ethabi_decode::U256` is defined in crate `primitive_types`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/primitive-types-0.13.0/src/lib.rs:44:1
|
44 | / construct_uint! {
45 | | /// 256-bit unsigned integer.
46 | | #[cfg_attr(feature = "scale-info", derive(TypeInfo))]
47 | | pub struct U256(4);
48 | | }
| |_^
= note: perhaps two different versions of crate `primitive_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethabi-decode-1.1.0/src/token.rs:42:2
|
42 | Uint(U256),
| ^^^^
= note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Loading