Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about the Rust programming language, the primary language used in the Substrate ecosystem.
1
vote
0
answers
63
views
Best tools & settings for `VSCode` for *offline* Substrate development
Running some of rust's best-in-class tools like rust-analyzer at least with default settings leads to continuous full use of most resources and take frustratingly long to start working, if they do at all …
2
votes
error: duplicate lang item in crate `std` (which `arrayvec` depends on): `panic_impl`
If you read the error:
Check that the patched package version and available features are compatible
with the dependency requirements. If the patch has a different version from
what is locked in the Ca …
0
votes
How to match the versions or Susbstrate upstream in my project's dependancies?
cargo tree | grep serde can be used to get the package specific versions needed for serde. Here you can see what substrate libs need, and match what substrate uses.
Also manually matching what existin …
4
votes
Accepted
Which toolchain should I use to build Substrate
TL;DR: you likely should use the latest of both stable and nightly when building Substrate chains at any given time. Update regularly with rustup update.
It is quite likely the toolchain you should us …
2
votes
How do I work with SS58 encoded addresses?
I made a working example of how to go about generating keys with sp-core::crypto primitives
Here is a snapshot of that source for quick reference:
//! Example generating SS58 Address format from Subst …
1
vote
1
answer
147
views
How do I work with SS58 encoded addresses?
I want to reason about SS58 addresses in any context with access to std, using Rust. What tools and techniques are needed to access the underlying keys?
[Related What is the SS58 Format?] …