Developers Forum for XinFin XDC Network

Discussion on: [WIP]Prefix changes

mitali_blocksscan profile image
Mitali_BlocksScan

Kindly note that after changing codebase, we would suggest you to perform complete test.

Thread Thread
poonam_singh_8d4036dd4427 profile image
Poonam Singh Author

Hello @mitali_blocksscan
Thank for the Suggestion.
I replace the xdc prefix to G1 prefix after successfully intialiazation of genesis file and up the node0
i was facing issue i.e

./XDC --datadir /home/poonam/Desktop/XDPoSChain/build/bin/node0/ --syncmode 'full' --port 30314 --nodiscover --rpc --rpcaddr 'localhost' --rpcport 8503 --rpcapi 'personal,db,eth,net,web3,txpool,miner' --bootnodes 'enode://b7243794d1d31ecf42a0becc9d3e3ffae66b376ec8a8888c0282b4d8ffb6e9f4984760483702ba928e3256fb9d38d8fd4bcc45006a1b510c0e954bce550ff4a8@[::]:30301' --networkid 222 --gasprice '1' -unlock 'G16ec0ef4cfe0bc1f80712bfad43fe32dfe6c6ae1c' --password node0/password.txt --mine
INFO [06-19|17:58:45] Maximum peer count ETH=25 LES=0 total=25
INFO [06-19|17:58:45] XDCX datadir path=/home/poonam/Desktop/XDPoSChain/build/bin/node0/XDCx
INFO [06-19|17:58:45] Allocated cache and file handles database=/home/poonam/Desktop/XDPoSChain/build/bin/node0/XDCx cache=134.22mB handles=1024
INFO [06-19|17:58:45] Starting peer-to-peer node instance=XDC/v1.4.7-stable-d2ce55ec/linux-amd64/go1.17
INFO [06-19|17:58:45] Allocated cache and file handles database=/home/poonam/Desktop/XDPoSChain/build/bin/node0/XDC/chaindata cache=805.31mB handles=512
INFO [06-19|17:58:45] Initialised chain configuration config="{ChainID: 222 Homestead: 1 DAO: DAOSupport: false EIP150: 2 EIP155: 3 EIP158: 3 Byzantium: 4 Constantinople: Engine: XDPoS}"
INFO [06-19|17:58:45] Initialising Ethereum protocol versions="[63 62]" network=222
INFO [06-19|17:58:45] Loaded most recent local header number=0 hash=21f8e4…0529e0 td=1
INFO [06-19|17:58:45] Loaded most recent local full block number=0 hash=21f8e4…0529e0 td=1
INFO [06-19|17:58:45] Loaded most recent local fast block number=0 hash=21f8e4…0529e0 td=1
INFO [06-19|17:58:45] Loaded local transaction journal transactions=0 dropped=0
INFO [06-19|17:58:45] Regenerated local transaction journal transactions=0 accounts=0
INFO [06-19|17:58:45] Starting P2P networking
INFO [06-19|17:58:45] RLPx listener up self="enode://751dca26811f6c7097dfd73b08b2e63dce451a389ca3e6e7149d797457d7d0258d110f69e859d300ed844ebcd63605c3674c8db0304d0a371d03d1d30c2b4d5f@[::]:30314?discport=0"
INFO [06-19|17:58:45] IPC endpoint opened url=/home/poonam/Desktop/XDPoSChain/build/bin/node0/XDC.ipc
INFO [06-19|17:58:45] HTTP endpoint opened url=localhost:8503 cors= vhosts=localhost
Fatal: Could not list accounts: invalid account address or index "G16ec0ef4cfe0bc1f80712bfad43fe32dfe6c6ae1c"

how to resolve the issue
Kindly help me
Thanks