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
feat: MMD-1309 / Update from Substrate 3 to latest commit 852bab073407b65b5e3e461baaa0541c4e0bc3d6 dated 31st Aug (#223)
* update to Substrate commit 5e1aab8192cd84b653e023db5ee83abda856438c
* update to Substrate commit 670ca51e954182746fa3bf76214f2b1b560c1f90
* update to Substrate commit b7a1a2cda5c860f18a7802051e881c5062828042
* update to Substrate commit 852bab073407b65b5e3e461baaa0541c4e0bc3d6
* fix indentation
* rebuild Cargo.lock
* update rustc version
* remove old wasm
* generate chain spec, definitions, and wasm
* add uncles
* remove useless extension for light clients since it only supports Babe but we are using Aura now
* Question: When using Docker you get error: `FileNotFoundError: [Errno 2] No such file or directory: '/Users/ls/code/src/DataHighway-com/node/target/rls/debug/deps/save-analysis/libsc_executor_common-f236f3ddcd6862b3.json'`
331
331
* Answer: Try run `rm -rf ./target/rls/debug` a few times until it no longer says `Directory not empty`
332
332
333
-
* Quesion: If I am using an Apple ARM (M1) processor instead of an Apple Intel processor, it gives warnings like `warning: toolchain 'nightly-2021-07-30-x86_64-unknown-linux-gnu' may not be able to run on this system.` and you are unable to install it with `x86_64-unknown-linux-gnu`, what may I need to do?
333
+
* Quesion: If I am using an Apple ARM (M1) processor instead of an Apple Intel processor, it gives warnings like `warning: toolchain 'nightly-2021-08-31-x86_64-unknown-linux-gnu' may not be able to run on this system.` and you are unable to install it with `x86_64-unknown-linux-gnu`, what may I need to do?
334
334
* Answer: Try using `aarch64-apple-darwin` instead, e.g.
* Question: Why do I get an error `1002: Verification Error: Execution: Could not convert parameter 'tx' between node and runtime: Error decoding field Call:: MiningEligibilityProxy.0 RuntimeApi` when in polkadot.js.apps when I try to 'Add Item' with data to a Vec?
349
349
* Ans: Because there is a type mismatch, perhaps the first variable requires a `Balance` instead of `u32` in custom_types.json or similar.
350
350
351
351
* Question: How to debug when running tests?
352
-
* Ans: Run tests with this `SKIP_WASM_BUILD=1 RUST_LOG=runtime=debug` in front, i.e. `SKIP_WASM_BUILD=1 RUST_LOG=runtime=debug cargo +nightly-2021-07-30 test -p datahighway-runtime`, and use `println!` where you want to log the output (i.e. `println!("claim duration {:#?}", claim_duration);`), as `debug::info!` not work in tests. Try using `info!` (have not tried yet)
352
+
* Ans: Run tests with this `SKIP_WASM_BUILD=1 RUST_LOG=runtime=debug` in front, i.e. `SKIP_WASM_BUILD=1 RUST_LOG=runtime=debug cargo +nightly-2021-08-31 test -p datahighway-runtime`, and use `println!` where you want to log the output (i.e. `println!("claim duration {:#?}", claim_duration);`), as `debug::info!` not work in tests. Try using `info!` (have not tried yet)
353
353
354
354
* Question: Why can't I connect my node to telemetry?
355
355
* Ans: Try use these flags when running your node `--telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' --unsafe-ws-external --unsafe-rpc-external --rpc-cors=all --rpc-methods=Unsafe`
0 commit comments