openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0x00a329 address is always blacklisted when using a custom config file

bkellerman opened this issue · comments

commented
  • OpenEthereum version: 3.0.0
  • Operating system: Linux
  • Installation: dockerhub
  • Fully synchronized: yes
  • Network: dev
  • Restarted: yes

actual behavior

When specifying a custom config file with --chain file.json, the 0x00a329 address is always blacklisted.
Only if specific preset chain configs are chosen, will the black list be empty.
Logic is here in account_utils.rs

expected behavior

Be able to specify a custom config file and start with an empty blacklist.
The reasoning is I want to use a custom config file that adds other accounts, including the 0x00a329 account.

@tomusdrw maybe do you remember (or do you have any intuition about) why the 00a329c0648769a73afac7f9381e08fb43dbea72 address is explicitly blacklisted here?

https://github.com/openethereum/openethereum/blob/11e40fad8bcb94537326e8ec4e0cddc49ccea651/parity/account_utils.rs#L81-L89

@bkellerman, you specified that you are using the dev chain, this account should be not blacklisted when using this chain.

@adria0 the address is generated from empty Parity Brain Wallet seed. There was quite a lot of issues with people creating this one (possibly due to some UI race condition), so we've decided to disallow it on the node level.
See here for instance: https://www.parity.io/restoring-blank-seed-phrase/ or here https://ethereum.stackexchange.com/questions/16347/did-i-generate-an-existing-ethereum-address-in-parity