Questions tagged [parity-io]

Parity is an Ethereum client, written from the ground-up for correctness-verifiability, modularization, low-footprint, and high-performance. To this end, it utilizes the Rust language, a hybrid imperative/object-orientated/functional language with an emphasis on efficiency.

It is professionally developed by Parity Technologies, a VC-funded UK-based company that aims to have all important logic 100% unit-tested, all public APIs 100% documented, all code reviewed by multiple peers and follows a pipelined 7-ish-week release cycle similar to the Rust compiler.

Parity comes with an extensive, in-built Ethereum Wallet and DApp environment. It includes:

  • Account, address-book and multi-sig management.
  • Key creation, importing and exporting.
  • Web3 ÐApp browser.
  • Hardware and electronic cold-wallet support.
  • Name registry support.
  • Contract development, deployment, and interaction environment.

Parity is actively developed as an open source project on Github.

41 questions
2
votes
1 answer

Parity Error: It doesn't connect to Volta testnetwork of EWF

I'm setting up a local node using parity. Whenever I try to connect the client to Volta though as shown here, it just throws an error. The error is always the same: Spec json is invalid: missing field eip1108_transition_base at line 142 column 21 I…
keremistan
  • 414
  • 5
  • 17
2
votes
1 answer

How to disambiguate between traits with the same name?

I am trying to use both the Assets module and Balances module in my runtime. They both export the Trait T::Balance. When I bring the Assets module in scope of my trait like so: pub trait Trait: assets::Trait + balances::Trait {} I get the following…
Lsaether
  • 238
  • 2
  • 5
2
votes
1 answer

No `kitties` module available in the extrinsics tab

I'm following the Substrate Kitties workshop. In 1/Viewing a Storage Mapping, I cannot access my kitties module on the #extrinsics tab of the Polkadot UI: I tried reloading it multiple times. This is my kitties.rs (compiles fine): use…
q9f
  • 11,293
  • 8
  • 57
  • 96
2
votes
2 answers

What is the purpose of `pub` in decl_storage?

When implementing a runtime module in substrate, given the following storage decl_storage! { trait Store for Module as CatAuction { Kitties get(kitties): map T::Hash => Kitty; KittyOwner get(owner_of): map…
Jimmy Chu
  • 972
  • 8
  • 27
2
votes
1 answer

Problems using `u8` in Substrate and ink

I am trying to add a simple u8 to my Substrate Runtime Module: decl_storage! { trait Store for Module as TemplateModule { MyByte: u8; } } However, I get a compiler error that it does not implement Parity Codec's Encode or…
Shawn Tabrizi
  • 12,206
  • 1
  • 38
  • 69
1
vote
0 answers

Random function not found error in sp-core::H256 Substrate

I am facing a strange error in transaction restructuring, sp-core 4.0.0-dev don't seem to have random() function. Here is the crate reference. Can anybody take a look and share some insight?
1
vote
1 answer

Rejected tx with old nonce on Parity

I had observed that the transaction send to the Parity node didn't processed, and the error messsage "Rejected tx with old nonce" was shown. The nonce value of the sendTransaction call was calculated so that it would become the next nonce value. The…
nobu
  • 11
  • 1
1
vote
0 answers

How to integrate a 3rd party consensus pallet library compiled to WASM into substrate

I was playing around Substrate and I was wondering whether it is possible to integrate a 3rd party consensus library which I have compiled to WASM (Web Assembly) as a Pallet in substrate. I know it is possible to integrate smart contracts already…
1
vote
1 answer

Could not convert parameter `tx` between node and runtime: Error decoding field CheckMortality.0

I tried to use polkadot-js libray to run a simple app for transferring tokens between Dusty accounts on plasm. Source code and package.json for running the snippet is found on this git repo Node version: v12.8.2 Yarn version: 1.22.5 const {…
1
vote
1 answer

Accessing full header and post-runtime digests in offchain worker

I understand that offchain workers operate in a wasm environment, however it is a separate environment to the deterministic wasm runtime. The offchain worker can access the runtime state (read only). With regards to post-runtime digests, I believe…
gnome32
  • 11
  • 3
1
vote
1 answer

Fast forward time when writing Substrate Runtime Test

I am writing an auction type application with Substrate runtime. In writing test case, how can I fast forward the blockchain time (what's retrieved from >::get()) so I can reach the auction closing time and test the closing…
Jimmy Chu
  • 972
  • 8
  • 27
1
vote
1 answer

I cannot build parity substrate runtimes because the wasm-gc command isn't found

After following the compilation instructions for my Parity Substrate based node, I repeatedly run into the following issue: ./build.sh: line 12: wasm-gc: command not found I cannot build parity substrate runtimes because the wasm-gc command isn't…
q9f
  • 11,293
  • 8
  • 57
  • 96
1
vote
1 answer

How do I open the Parity browser interface?

I'm a completely beginner in the blockchain world. I'm following a tutorial on how to develop DApps provided by the company I'm doing my academic practices in, but I think it's kind of old. In the video, they download a parityInstaller.exe file but…
Phanuwex
  • 45
  • 1
  • 5
1
vote
1 answer

How do you modify the bytes in a `Hash` in Parity Substrate?

Given some Hash value that is generated within a substrate runtime, how do I modify or access the individual bytes of that hash?
Shawn Tabrizi
  • 12,206
  • 1
  • 38
  • 69
1
vote
0 answers

How Parity-ethereum with --pruning fast handle ancient snapshots?

these are just 2 questions out of curiosity. As of my understanding, in pruning mode fast, parity will sync all of the blocks in the ethereum blockchain and store in the local storage. However, it only sync recent snapshots and only them will be…