Kiran Kumar HM
Kiran Kumar HM

Reputation: 51

Substrate error - consider giving `accuracy` a type

I ran into the same error, initially I tried with default nightly-2020-10-05, then nightly-2020-10-01 and nightly-2020-10-06... but nothing is working.

Steps followed to downgrade the nightly are :

I have tried on both Windows and Ubuntu 18.04 environment. But every time I get the same error.

consider giving accuracy a type

Upvotes: 0

Views: 260

Answers (2)

aurexav
aurexav

Reputation: 2875

https://github.com/paritytech/substrate/issues/7287

rustup default nightly-2020-10-06 && rustup target add wasm32-unknown-unknown

Or just update to substrate 2.0.1, this issue is fixed in that version

Upvotes: 2

aaron
aaron

Reputation: 1

You can use rustup to manage your version, make sure your active toolchain is like this:

$ rustup show

installed toolchains
--------------------

stable-x86_64-apple-darwin
nightly-2020-10-05-x86_64-apple-darwin (default)
nightly-x86_64-apple-darwin

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain
----------------

nightly-2020-10-05-x86_64-apple-darwin (default)
rustc 1.49.0-nightly (beb5ae474 2020-10-04)

Upvotes: 0

Related Questions