You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The crates.io version of this repository results in a compilation error. Cloning directly from this repo via git works just fine.
Reproduce
When you set Cargo.toml as this:
substrate-subxt = "0.13.0"
It results in:
error[E0277]: the trait bound `<T as frame::system::System>::Index: From<i32>` is not satisfied
--> /home/anon/.cargo/registry/src/github.com-1ecc6299db9ec823/substrate-subxt-0.13.0/src/extrinsic/signer.rs:90:55
|
90 | self.nonce = self.nonce.map(|nonce| nonce + 1.into());
| ^^^^ the trait `From<i32>` is not implemented for`<T as frame::system::System>::Index`|
= note: required because of the requirements on the impl of `Into<<T as frame::system::System>::Index>`for`i32`help: consider further restricting the associated type|89 | pub fn increment_nonce(&mut self) where <T as frame::system::System>::Index: From<i32> {| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^error: aborting due to previous errorFor more information about this error, try `rustc --explain E0277`.error: could not compile `substrate-subxt`
Workaround
substrate-subxt = { version = "0.13.0", git = "https://github.com/paritytech/substrate-subxt.git" }
The text was updated successfully, but these errors were encountered:
Description
The crates.io version of this repository results in a compilation error. Cloning directly from this repo via git works just fine.
Reproduce
When you set
Cargo.toml
as this:It results in:
Workaround
The text was updated successfully, but these errors were encountered: