Questions tagged [parity]

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.

Filter by
Sorted by
Tagged with
0
votes
2answers
900 views

parity vs geth - language and enterprise variant/adoption

Geth is written in Go (Golang). What language is parity developed in? Also why do enterprise ethereum such as quorum go with Go-Ethereum (Geth) instead of Parity?
2
votes
2answers
264 views

what is the protocol used in commuinication between ethereum blockchain nodes?

Let's say that we have many blockchain nodes managed by parity clients. what is the protocol used in communication between those nodes?
1
vote
2answers
340 views

Can't deploy to a private chain using Truffle

I created a private Parity chain using the official tutorial (https://wiki.parity.io/Demo-PoA-tutorial). Then I set it in my Truffle config: module.exports = { networks: { private: { host:...
1
vote
0answers
183 views

Parity: with 'warp' sync enabled by default, is there still any advantage in using fast pruning?

From Parity Ethereum Documentation: Warp Sync is an extension to the Ethereum Wire protocol, which involves sending snapshots over the network to get the full state at a given block extremely ...
2
votes
1answer
116 views

Parity - Syncing Very Slow Around Block 4.700.000 and overload disk

I'm running: Which Parity version: v1.10.7-stable-ba79cad-20180619/x86_64-linux-gnu/rustc1.26.2 Which operating system Linux: Centos 7 installed: from source My parity config ...
6
votes
2answers
1k views

Getting error message from require()

I know that the latest Solidity supports error messages in require/revert (require(stuff, "problem")). Are there any clients that can get this message? Will I be able to see it if I execute the ...
1
vote
0answers
84 views

Unlock account on Ethereum client, or sign every transaction sent it to Ethereum client?

I have a contract which needs to be updated occasionally. For this purpose, I set up an Ethereum client, namely, a Parity node. At this point, I see several ways of carrying out the specified task: ...
1
vote
0answers
139 views

Insufficient funds when using 'signTransaction' but not when using 'unlockAccount'

I am trying to execute a transaction on a private network, using my account. The general flow: Web3.js --> Parity node --> Private network The transaction: Invoke a method in a contract ...
0
votes
1answer
168 views

Develop with Parity?

I've seen a few tutorials that explain how to write contract code right inside the Parity's web interface. However, web interface says it's deprecated, and when I open the desktop UI, it doesn't have ...
1
vote
1answer
372 views

How can I complete a transaction without unlocking my account first?

I need to call a (state-changing) function on my contract. Here is how I am currently executing this transaction: let transaction = contract.methods.myFunc(); await web3.eth.personal.unlockAccount(...
1
vote
0answers
49 views

Pending tx's with full information

Is it possible to subscribe to pending transactions with Parity and receive full information about it in 1 request? Now i receive hashes first, and than i make requests to get info about this hashes. ...
1
vote
1answer
234 views

Update Parity Node Installation

I have 3 nodes, all in Ubuntu 16.04 that I have to upgrade. To install the node, I downloaded the latest stable version from https://www.parity.io/ and then did: wget wget [LINK_FROM_PARITY] sudo ...
1
vote
1answer
173 views

How can the cost of changing 2 state variables and emitting 1 event reach 50K gas units?

I have this contract: pragma solidity ^0.4.23; contract Test { event Event(address indexed wallet); mapping (address => bool) public authorizedWallets; uint256 public ...
0
votes
1answer
391 views

How to setup parity light client?(warp sync is slow)

I have a full node synced using --warp but since I have a hdd, the final bit of the sync never catches up(due to the high transaction IO). How do I switch to a light clent on parity if I already have ...
2
votes
1answer
223 views

How to get solidity function return

I have a contract called tracking. It has a function called move() I called this function using code: import {bonds} from 'oo7-parity'; const counterABI = [...] const ContractAddress = '...' ...
2
votes
1answer
122 views

Is EOS based on an Ethereum client? (geth, parity, etc)

Do we know if EOS is based on code contributed by the Ethereum community? Is it possible that they will "steal" a lot of the open source projects that have been developed for Ethereum? I am not, and ...
1
vote
1answer
61 views

Where does parity look when trying to import geth keystore files

I'm in the directory for parity keystore files, namely, ~/.local/share/io.parity.ethereum/keys/ and I've run: parity --import-geth-keys But I get an error saying: Failed to find geth keys ...
2
votes
1answer
199 views

What is Parity doing after warp sync besides importing new blocks?

I noticed Parity is still busy working on old blocks after a warp sync - but it doesn't really tell why. e.g. 2018-06-07 08:38:14 UTC Imported #5746763 098a…98f4 (37 txs, 1.69 Mgas, 137.63 ms, 8.11 ...
1
vote
1answer
266 views

Bootnode from geth not working with parity

I am working with Parity private network. I can manually add peers for each node and it works. But the problem is Bootnode executable from geth not working with Parity. bootnode.exe -nodekey=key.txt -...
1
vote
0answers
527 views

Deploying a contract to Parity via Web3.js

I am trying to deploy a contract to Parity via Web3.js. Here is my code: let fs = require("fs"); let Web3 = require('web3'); let NODE_URL = "http://localhost:8545"; let OWNER_ADDRESS = "0x..."; ...
0
votes
0answers
227 views

Speedup ethereum private chain transaction speed

I have a private parity chain where all transaction are always sent with maximum gas. I also have PoA with AURA set to 1 sec to make sure that blocks are generated as fast as possible. However, it ...
0
votes
1answer
353 views

How do I connect to MY full node using RPC

I have a full node(Parity) running at home. I know I can trust this node. How would I go about connecting to it from another computer?
0
votes
1answer
151 views

How to solve eth_getFilterChanges looping when deploying with truffle (parity)?

I am using truffle migrate and I get some kind of loop which just endlessly prints out eth_getFilterChanges. How can this be solved? I have used this truffle.js module.exports = { networks: { ...
0
votes
1answer
615 views

How to deploy a contract to parity using truffle?

I get this when trying to deploy to parity - Writing artifacts to ./build/contracts Invalid JSON RPC response: "Provided Host header is not whitelisted.\n" I am new to using truffle with ...
0
votes
1answer
189 views

Increase gas limit to allow larget contracts to be deployed

I'm working on a private blockchain and I found out that I cannot deploy a contract larger than 34Kb which is pretty limiting for me. For comparision, cryptokitties are 40-47Kb so I cannot even deploy ...
1
vote
1answer
208 views

How to get Network Status to run with Parity?

I am trying to use this - https://github.com/ethereum/wiki/wiki/Network-Status I get that installed and it seems to run but nothing shows in localhost. I get this nothing in the http://localhost:3000 ...
1
vote
1answer
175 views

How to customise Ethereum Network Status for a Private Network?

I am using this - https://github.com/cubedro/eth-netstats I get this error - 2018-05-29 04:30:25.958 [API] WS_SECRET NOT SET!!! I want to show the stats on a private parity PoA network. Has ...
2
votes
0answers
135 views

How to attach geth to a parity node with admin?

I have installed two nodes under PoA using Parity. I normally use this to attached geth to a geth node: geth attach node/geth.ipc I got working geth attach using rpc but there is no admin. geth ...
0
votes
1answer
76 views

Can Geth be installed with Parity?

I have installed parity and it runs for PoA. When I try to install geth it fails - sudo apt-get install ethereum Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
39 views
1
vote
0answers
86 views

Help! Parity Error: account not found for current chain (ropsten)

I have downloaded Parity and its connecting with accounts created from Pariy-Ui, When I tries to connect Parity using an account created from MetaMask Chrome Extension, then its showing below error ...
1
vote
0answers
100 views

What does “RlpInvalidIndirection” error mean?

I run my own Parity node for Ropsten network. I am sending raw transactions to the node with "eth_sendRawTransaction" api, and sometimes it returns {-32602, "Invalid RLP.", "RlpInvalidIndirection"} ...
0
votes
1answer
135 views

Pending tx with parity through geth console

I am having issues with the current version of geth 1.8. Thus, I tried using parity and got a node synced. I want to use web3 and because of familiarly, I want to use parity with the geth console ...
2
votes
0answers
66 views

Programmatically unlock certain accounts with Parity?

Using geth it is easy to send transactions from multiple accounts but I do not know how to do this with Parity. I do not want all accounts unlocked. I do not want any account unlocked when it is not ...
2
votes
1answer
1k views

How to install Parity UI on Ubuntu?

I have installed Parity on Ubuntu successfully, but unable to install its UI. The following command: sudo snap install parity-ui is not working and ending up with an error: user@ant-a7-surinder:~$ ...
2
votes
1answer
99 views

Add new sealers in aura network without hard-fork?

I've set up a private PoA (aura) network using parity-deploy and was wondering how it's possible to add/remove authorised nodes without doing a hard-fork of the network. I've heard about people ...
1
vote
0answers
153 views

Getting return values from constant functions with signed transactions using web3 @1.0.27

I have a setup where no accounts exist on a local node and communication with contracts is done by creating raw transactions with Web3 (signed in code and not by user or node). On the contracts there ...
8
votes
3answers
2k views

How to receive revert() reason for past transactions?

I run a geth/parity nodes for broadcasting user's transactions to Ethereum blockchain. Some of contract functions provide reasons for revert (see examble below): contract Example { function test (...
1
vote
0answers
156 views

Can I curl a full node on initial sync?

I spun up a few node ~30 minutes ago and I'm not able to make a curl request, not sure if this is normal behaviour during initial sync or if something is somehow misconfigured. Request: curl -X ...
2
votes
1answer
221 views

Using Custom PoW Algorithm with Parity?

If I wanted to create a PoW alrorithm to replace ethash on a private blockchain, how would I tell Parity to use it?
1
vote
0answers
24 views

Parity Chain Spec - Require More GPU RAM?

Is there any setting on a Parity chain spec file that would allow the chain to require more than 1GB RAM to start? or to change the rate of increase per epoch? This would make a private blockchain ...
1
vote
0answers
69 views

Distribution Contract Not Working

I'm trying to set up a distribution contract to send an ERC20 token to multiple addresses at the same time. After multiple attempts, the transfer keeps failing. Transactions are approved, the problem ...
0
votes
1answer
347 views

Metamask Vs Parity. Which browser extension is good to access DAPP using browser?

I am trying to develop a DAPP and requirement is end user should be able to use DAPP from browser. I have two options available Metamask and Parity. Are there any other better options available to ...
2
votes
0answers
53 views

Can paritytech/parity be used as a library the same way that go-ethereum can be used in Go?

The go-ethereum project is divided into a set of standalone libraries that can be used in any Go project (e.g. smart contract interaction, keystore management, common cryptography and hex utils) Can ...
2
votes
0answers
269 views

Parity syncing status for smart contract events with warp

So I'm trying to find the fastest way to fully sync a parity node in order to get all smart contract events, not just account states. The problem I've found is that when parity has warp syncing ...
3
votes
1answer
200 views

Uncle blocks in Parity PoA blockchain

As I know that there is no competition for mining new blocks in POA blockchain as each node mines new block at its given time slot. I have a parity PoA blockchain setup with 5 nodes. While examining ...
3
votes
0answers
112 views

Proof of Authority Finalisation

Are there uncles/orphaned blocks in a PoA-based network? How do we reach consensus which is the real chain if the chain is splited/ we have a fork? Do you know any possible attack vectors on such ...
1
vote
0answers
285 views

How to get transaction hash at time of invoking function?

I have a function as follows: function setEnergy(address dev, uint256 energy) public returns (bool) { require(dev != address(0)); amount[dev].energyValue = amount[dev].energyValue + energy; ...
1
vote
1answer
50 views

I just want to query Parity what setup should I use?

I want to run javascript on node locally against Web3. I require a minimal amount of information security and I just want it to work. I tried snap run parity --light and it is slow because it still ...
0
votes
1answer
482 views

Parity Syncing Forever? 1 block per second ???? is this the future of Blockchain?

trying to sync parity wallet from last 30 days its taking forever to sync to the current Block Upto 4.4 Million blocks it took like 2-3 days but from then to 4.5 Million its taking like 1 Block/Sec ...