polygon-edge: New node is not syncing to the actual network as a validator after staking.
[ (polygon.server.syncer: failed to complete bulk sync with peer, try to next one) ]
Description
I have 4 diffrent physical Nodes in which 2 bootnodes and 2 regular nodes and I want to add 1 more validator node through staking but validator node logs shows
2022-12-28T11:09:28.097+0530 [WARN] polygon.server.syncer: failed to complete bulk sync with peer, try to next one: peer ID=error 16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV=“unable to verify block, unable to execute block transactions, invalid txn signature”
Your environment
-
Ubantu version 22.04 LTS
-
The version of the Polygon Edge.
0.6.2 -
Hosted on Physical Nodes
-
We’re not running the validatiors under any containerized environment .
Steps to reproduce
-
We have 4 physical nodes connected to the network . 2 of them are bootnodes and 2 of them are regular nodes .
-
Step 1 : Cloning the Repo
-
Step 2 : polygon-edge secrets init --data-dir data-dir
-
Step 3 : polygon-edge genesis --pos --epoch-size 50 --ibft-validator <1st validator IBFT public key>:<1st validator BLS public key> --ibft-validator <2nd validator IBFT public key>:<2nd validator BLS public key> --ibft-validator <3rd validator IBFT public key>:<3rd validator BLS public key> --ibft-validator <4th validator IBFT public key>:<4th validator BLS public key> --bootnode=<first_bootnode_multiaddr_connection_string_from_step_2> --bootnode <second_bootnode_multiaddr_connection_string_from_step_2> --bootnode <optionally_more_bootnodes> --premine=<Public key >:1000000000000000000000
-
Step 4: Shared the genesis file with diffrent physical nodes .
-
Step 5 : polygon-edge server --data-dir ./data-dir --chain genesis.json --grpc-address 0.0.0.0:1477 --libp2p 0.0.0.0:1478 --jsonrpc 0.0.0.0:1479 --nat <public_or_private_ip> --seal --price-limit=0
-
Deployed the Staking smart contract on the network
-
This is the procedure of establishing a cluster of 4 nodes.
-
The actual Issue occurs when we want to add a new node as a validator through staking smart contract
-
Step 1: Clone the polygon edge repo of polygon-edge
-
Step 2 : polygon-edge secrets init --data-dir data-dir
-
Step 3 : Shared the genesis file of the network .
-
Step 4 : Stake Fund through Staking Smart Contract .
-
Step 5 : polygon-edge server --data-dir ./data-dir --chain genesis.json --grpc-address 0.0.0.0:1477 --libp2p 0.0.0.0:1478 --jsonrpc 0.0.0.0:1479 --nat <public_or_private_ip> --seal --price-limit=0
-
The New validator node shows this type of log
- `2022-12-28T12:06:33.560+0530 [INFO] polygon.server: Data dir: path=./data-dir
2022-12-28T12:06:33.580+0530 [INFO] polygon.blockchain: Current header: hash=0x438f9275743262ed4c7cc59618c8307cd474265d612ac80e51686f0aeafd1f86 number=8306
2022-12-28T12:06:33.580+0530 [INFO] polygon.blockchain: genesis: hash=0x204382c513e7a678a92c0fd6b3fb0d675247f3c2db112cdf4d8dba0fa4ef29aa
2022-12-28T12:06:33.582+0530 [INFO] polygon.server.ibft: validator key: addr=0x01F8C1F7253ca1e56C6902860fdCFca2345Ddf94
2022-12-28T12:06:33.582+0530 [INFO] polygon.server: GRPC server running: addr=0.0.0.0:1477
2022-12-28T12:06:33.582+0530 [INFO] polygon.network: LibP2P server running: addr=/ip4/192.168.0.104/tcp/1478/p2p/16Uiu2HAmQXfWspBGDA86n5N15etjxkG4LihWaykfjewtBY6g4Qce
2022-12-28T12:06:33.582+0530 [INFO] polygon.server.jsonrpc: http server started: addr=0.0.0.0:1479
2022-12-28T12:06:33.585+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV
2022-12-28T12:06:33.591+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU
2022-12-28T12:06:33.628+0530 [WARN] polygon.server.syncer: failed to complete bulk sync with peer, try to next one: peer ID=error 16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV="unable to verify block, unable to execute block transactions, invalid txn signature"
2022-12-28T12:06:34.087+0530 [WARN] polygon.server.syncer: failed to complete bulk sync with peer, try to next one: peer ID=error 16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU="unable to verify block, unable to execute block transactions, invalid txn signature"
2022-12-28T12:06:35.161+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks
2022-12-28T12:06:35.186+0530 [WARN] polygon.server.syncer: failed to complete bulk sync with peer, try to next one: peer ID=error 16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks="unable to verify block, unable to execute block transactions, invalid txn signature"
2022-12-28T12:06:35.390+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmVVERBfH7cbcMyoingdYQBaKiEGd37gWEdqHMVcHuwfqV
2022-12-28T12:06:35.415+0530 [WARN] polygon.server.syncer: failed to complete bulk sync with peer, try to next one: peer ID=error 16Uiu2HAmVVERBfH7cbcMyoingdYQBaKiEGd37gWEdqHMVcHuwfqV="unable to verify block, unable to execute block transactions, invalid txn signature"
2022-12-28T12:06:36.105+0530 [WARN] polygon.server.syncer: failed to complete bulk sync with peer, try to next one: peer ID=error 16Uiu2HAmVVERBfH7cbcMyoingdYQBaKiEGd37gWEdqHMVcHuwfqV="unable to verify block, unable to execute block transactions, invalid txn signature"`
- genesis file
- `{
"name": "polygon-edge",
"genesis": {
"nonce": "0x0000000000000000",
"timestamp": "0x0",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000f90127f90120f8469469418cc1c4ac292b9dabe739ae261bdde7b170cab0a9d47ac67d54e7116c03bc020dc7ce0b2be94f303568595d463733cbc6af1e9df29144625dc247b215e23631d8b7043bf84694f8913788914782986227325563deef3a58274e8eb08acf2a7173c4a3691722e9151b85d0d8ca8e4e58059bd860f1a92fc861e9da1bf2a2063a4917390aeb30822a69ca2046f846946b44fa3b534fd4747d21eea28d7256b8d955dcdeb0b4fecb5a4b15d24ffe6a034d6e5b9f2488d6c147e8a5e2974c95de66d4492ac8356d1d0ab5bd53635a13a12713180058f84694201e377561226bbe2d26c8e1fdab5941728a45f1b096e0003e248019fb71d69c9cbe3c265c61e3a3b5f764f321e24c90b67252620e6698bc7c76b4cc67fbb44ccf0e3e1ff780c28080",
"gasLimit": "0x500000",
"difficulty": "0x1",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
"0x0000000000000000000000000000000000001001": {
"code": "0x6080604052600436106101185760003560e01c80637a6eea37116100a0578063d94c111b11610064578063d94c111b1461040a578063e387a7ed14610433578063e804fbf61461045e578063f90ecacc14610489578063facd743b146104c657610186565b80637a6eea37146103215780637dceceb81461034c578063af6da36e14610389578063c795c077146103b4578063ca1e7819146103df57610186565b8063373d6132116100e7578063373d6132146102595780633a4b66f1146102845780633c561f041461028e57806351a9ab32146102b9578063714ff425146102f657610186565b806302b751991461018b578063065ae171146101c85780632367f6b5146102055780632def66201461024257610186565b366101865761013c3373ffffffffffffffffffffffffffffffffffffffff16610503565b1561017c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101739061178a565b60405180910390fd5b610184610516565b005b600080fd5b34801561019757600080fd5b506101b260048036038101906101ad9190611380565b6105ed565b6040516101bf91906117e5565b60405180910390f35b3480156101d457600080fd5b506101ef60048036038101906101ea9190611380565b610605565b6040516101fc91906116ed565b60405180910390f35b34801561021157600080fd5b5061022c60048036038101906102279190611380565b610625565b60405161023991906117e5565b60405180910390f35b34801561024e57600080fd5b5061025761066e565b005b34801561026557600080fd5b5061026e610759565b60405161027b91906117e5565b60405180910390f35b61028c610763565b005b34801561029a57600080fd5b506102a36107cc565b6040516102b091906116cb565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190611380565b610972565b6040516102ed9190611708565b60405180910390f35b34801561030257600080fd5b5061030b610a12565b60405161031891906117e5565b60405180910390f35b34801561032d57600080fd5b50610336610a1c565b60405161034391906117ca565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190611380565b610a28565b60405161038091906117e5565b60405180910390f35b34801561039557600080fd5b5061039e610a40565b6040516103ab91906117e5565b60405180910390f35b3480156103c057600080fd5b506103c9610a46565b6040516103d691906117e5565b60405180910390f35b3480156103eb57600080fd5b506103f4610a4c565b60405161040191906116a9565b60405180910390f35b34801561041657600080fd5b50610431600480360381019061042c91906113ad565b610ada565b005b34801561043f57600080fd5b50610448610b31565b60405161045591906117e5565b60405180910390f35b34801561046a57600080fd5b50610473610b37565b60405161048091906117e5565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab91906113f6565b610b41565b6040516104bd919061168e565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190611380565b610b80565b6040516104fa91906116ed565b60405180910390f35b600080823b905060008111915050919050565b34600460008282546105289190611906565b9250508190555034600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461057e9190611906565b9250508190555061058e33610bd6565b1561059d5761059c33610c4e565b5b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d346040516105e391906117e5565b60405180910390a2565b60036020528060005260406000206000915090505481565b60016020528060005260406000206000915054906101000a900460ff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61068d3373ffffffffffffffffffffffffffffffffffffffff16610503565b156106cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c49061178a565b60405180910390fd5b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161074f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107469061172a565b60405180910390fd5b610757610d9d565b565b6000600454905090565b6107823373ffffffffffffffffffffffffffffffffffffffff16610503565b156107c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b99061178a565b60405180910390fd5b6107ca610516565b565b60606000808054905067ffffffffffffffff8111156107ee576107ed611b9e565b5b60405190808252806020026020018201604052801561082157816020015b606081526020019060019003908161080c5790505b50905060005b60008054905081101561096a576007600080838154811061084b5761084a611b6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080546108bb90611a36565b80601f01602080910402602001604051908101604052809291908181526020018280546108e790611a36565b80156109345780601f1061090957610100808354040283529160200191610934565b820191906000526020600020905b81548152906001019060200180831161091757829003601f168201915b505050505082828151811061094c5761094b611b6f565b5b6020026020010181905250808061096290611a99565b915050610827565b508091505090565b6007602052806000526040600020600091509050805461099190611a36565b80601f01602080910402602001604051908101604052809291908181526020018280546109bd90611a36565b8015610a0a5780601f106109df57610100808354040283529160200191610a0a565b820191906000526020600020905b8154815290600101906020018083116109ed57829003601f168201915b505050505081565b6000600554905090565b670de0b6b3a764000081565b60026020528060005260406000206000915090505481565b60065481565b60055481565b60606000805480602002602001604051908101604052809291908181526020018280548015610ad057602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610a86575b5050505050905090565b80600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209080519060200190610b2d929190611243565b5050565b60045481565b6000600654905090565b60008181548110610b5157600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000610be182610eef565b158015610c475750670de0b6b3a76400006fffffffffffffffffffffffffffffffff16600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b9050919050565b60065460008054905010610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e9061174a565b60405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600080549050600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060046000828254610e38919061195c565b92505081905550610e4833610eef565b15610e5757610e5633610f45565b5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e9d573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f7582604051610ee491906117e5565b60405180910390a250565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60055460008054905011610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f85906117aa565b60405180910390fd5b600080549050600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b9061176a565b60405180910390fd5b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160008054905061106c919061195c565b905080821461115a57600080828154811061108a57611089611b6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905080600084815481106110cc576110cb611b6f565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600080548061120957611208611b40565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055505050565b82805461124f90611a36565b90600052602060002090601f01602090048101928261127157600085556112b8565b82601f1061128a57805160ff19168380011785556112b8565b828001600101855582156112b8579182015b828111156112b757825182559160200191906001019061129c565b5b5090506112c591906112c9565b5090565b5b808211156112e25760008160009055506001016112ca565b5090565b60006112f96112f484611825565b611800565b90508281526020810184848401111561131557611314611bd2565b5b6113208482856119f4565b509392505050565b60008135905061133781611d0b565b92915050565b600082601f83011261135257611351611bcd565b5b81356113628482602086016112e6565b91505092915050565b60008135905061137a81611d22565b92915050565b60006020828403121561139657611395611bdc565b5b60006113a484828501611328565b91505092915050565b6000602082840312156113c3576113c2611bdc565b5b600082013567ffffffffffffffff8111156113e1576113e0611bd7565b5b6113ed8482850161133d565b91505092915050565b60006020828403121561140c5761140b611bdc565b5b600061141a8482850161136b565b91505092915050565b600061142f838361144f565b60208301905092915050565b6000611447838361154f565b905092915050565b61145881611990565b82525050565b61146781611990565b82525050565b600061147882611876565b61148281856118b1565b935061148d83611856565b8060005b838110156114be5781516114a58882611423565b97506114b083611897565b925050600181019050611491565b5085935050505092915050565b60006114d682611881565b6114e081856118c2565b9350836020820285016114f285611866565b8060005b8581101561152e578484038952815161150f858261143b565b945061151a836118a4565b925060208a019950506001810190506114f6565b50829750879550505050505092915050565b611549816119a2565b82525050565b600061155a8261188c565b61156481856118d3565b9350611574818560208601611a03565b61157d81611be1565b840191505092915050565b60006115938261188c565b61159d81856118e4565b93506115ad818560208601611a03565b6115b681611be1565b840191505092915050565b60006115ce601d836118f5565b91506115d982611bf2565b602082019050919050565b60006115f16027836118f5565b91506115fc82611c1b565b604082019050919050565b60006116146012836118f5565b915061161f82611c6a565b602082019050919050565b6000611637601a836118f5565b915061164282611c93565b602082019050919050565b600061165a6040836118f5565b915061166582611cbc565b604082019050919050565b611679816119ae565b82525050565b611688816119ea565b82525050565b60006020820190506116a3600083018461145e565b92915050565b600060208201905081810360008301526116c3818461146d565b905092915050565b600060208201905081810360008301526116e581846114cb565b905092915050565b60006020820190506117026000830184611540565b92915050565b600060208201905081810360008301526117228184611588565b905092915050565b60006020820190508181036000830152611743816115c1565b9050919050565b60006020820190508181036000830152611763816115e4565b9050919050565b6000602082019050818103600083015261178381611607565b9050919050565b600060208201905081810360008301526117a38161162a565b9050919050565b600060208201905081810360008301526117c38161164d565b9050919050565b60006020820190506117df6000830184611670565b92915050565b60006020820190506117fa600083018461167f565b92915050565b600061180a61181b565b90506118168282611a68565b919050565b6000604051905090565b600067ffffffffffffffff8211156118405761183f611b9e565b5b61184982611be1565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000611911826119ea565b915061191c836119ea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561195157611950611ae2565b5b828201905092915050565b6000611967826119ea565b9150611972836119ea565b92508282101561198557611984611ae2565b5b828203905092915050565b600061199b826119ca565b9050919050565b60008115159050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015611a21578082015181840152602081019050611a06565b83811115611a30576000848401525b50505050565b60006002820490506001821680611a4e57607f821691505b60208210811415611a6257611a61611b11565b5b50919050565b611a7182611be1565b810181811067ffffffffffffffff82111715611a9057611a8f611b9e565b5b80604052505050565b6000611aa4826119ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611ad757611ad6611ae2565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f6e6c79207374616b65722063616e2063616c6c2066756e6374696f6e000000600082015250565b7f56616c696461746f72207365742068617320726561636865642066756c6c206360008201527f6170616369747900000000000000000000000000000000000000000000000000602082015250565b7f696e646578206f7574206f662072616e67650000000000000000000000000000600082015250565b7f4f6e6c7920454f412063616e2063616c6c2066756e6374696f6e000000000000600082015250565b7f56616c696461746f72732063616e2774206265206c657373207468616e20746860008201527f65206d696e696d756d2072657175697265642076616c696461746f72206e756d602082015250565b611d1481611990565b8114611d1f57600080fd5b50565b611d2b816119ea565b8114611d3657600080fd5b5056fea26469706673582212201556e5927c99f1e21e8ae2bbc55b0b507bc60d9732fc9a5e25a0708b409c8c8064736f6c63430008070033",
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000000000000000000000000000000000000000004",
"0x0000000000000000000000000000000000000000000000000000000000000004": "0x0000000000000000000000000000000000000000000000022b1c8c1227a00000",
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x0000000000000000000000000000000000000000000000000000000000000001",
"0x0000000000000000000000000000000000000000000000000000000000000006": "0x000000000000000000000000000000000000000000000000001ffffffffffffe",
"0x1a8a2b1024a4d49ec3fe8c20b8774895a2c6015bcb09b7ab70e1d2264d60a0e0": "0x0000000000000000000000000000000000000000000000000000000000000001",
"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563": "0x00000000000000000000000069418cc1c4ac292b9dabe739ae261bdde7b170ca",
"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e564": "0x000000000000000000000000f8913788914782986227325563deef3a58274e8e",
"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e565": "0x0000000000000000000000006b44fa3b534fd4747d21eea28d7256b8d955dcde",
"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e566": "0x000000000000000000000000201e377561226bbe2d26c8e1fdab5941728a45f1",
"0x33ee0130ab73183b10732ae474709a7f188cd2e812f6245061561ea065af2280": "0x0000000000000000000000000000000000000000000000000000000000000001",
"0x3c297a8822b059d584ccc8beb77951a27f2e9bfbed150f2a73f66e4b7c18a147": "0x0000000000000000000000000000000000000000000000008ac7230489e80000",
"0x47c9efb031c1ce16ce406662fbb4634f58f1ede487598deedc209b5a438636e0": "0x0000000000000000000000000000000000000000000000000000000000000001",
"0x6ed70904049e8717447f7ae2705c17cd0e20ae8f9c6d02bad39f7b5298d32714": "0x0000000000000000000000000000000000000000000000000000000000000002",
"0x6f16270847e8328afde477ffcc6bb78e4cabb0d0ee7de276d69a2d6c698dce34": "0x0000000000000000000000000000000000000000000000000000000000000000",
"0x72d35efc2823692ea1e251e39930dd3c7d77822f8cbf8b3f792e5939c3db7e4d": "0x0000000000000000000000000000000000000000000000008ac7230489e80000",
"0x7a98b7215acf51786f746852c1ebe3ff9a9ce53857e69256523d07709c3a8d70": "0x0000000000000000000000000000000000000000000000000000000000000061",
"0x7ac301cba243be842f6c8a5de04a08de01576c21cb4d123088fd9ed343b526f6": "0xa9d47ac67d54e7116c03bc020dc7ce0b2be94f303568595d463733cbc6af1e9d",
"0x7ac301cba243be842f6c8a5de04a08de01576c21cb4d123088fd9ed343b526f7": "0xf29144625dc247b215e23631d8b7043b00000000000000000000000000000000",
"0xa2f6f94c5b6c1c9996e5b0caba5187541afa81427411364c97f15bd8e1492c33": "0xb4fecb5a4b15d24ffe6a034d6e5b9f2488d6c147e8a5e2974c95de66d4492ac8",
"0xa2f6f94c5b6c1c9996e5b0caba5187541afa81427411364c97f15bd8e1492c34": "0x356d1d0ab5bd53635a13a1271318005800000000000000000000000000000000",
"0xae7c2b25af3a8cf1eeffb2bd34c21015c925f7f098e11d1e50ea805dbc33eeb3": "0x8acf2a7173c4a3691722e9151b85d0d8ca8e4e58059bd860f1a92fc861e9da1b",
"0xae7c2b25af3a8cf1eeffb2bd34c21015c925f7f098e11d1e50ea805dbc33eeb4": "0xf2a2063a4917390aeb30822a69ca204600000000000000000000000000000000",
"0xb1caee83a93b2bdd7673e44a5a0a4e4bc7444ccfd13eac273686b5b3ffd78bc3": "0x0000000000000000000000000000000000000000000000008ac7230489e80000",
"0xb9b758b286428e64cb6e3ea0823f65e5c3ed64f1e4e7feac9f40ab09bb7fb50f": "0x96e0003e248019fb71d69c9cbe3c265c61e3a3b5f764f321e24c90b67252620e",
"0xb9b758b286428e64cb6e3ea0823f65e5c3ed64f1e4e7feac9f40ab09bb7fb510": "0x6698bc7c76b4cc67fbb44ccf0e3e1ff700000000000000000000000000000000",
"0xc9f1868510ad62be2d7b32b41a0b840ac3a944e1a895f2fb8d153168d46cec45": "0x0000000000000000000000000000000000000000000000000000000000000001",
"0xca6625eef396da427ebbd3a710a801ad750189915f48bebee841b40b1ea2317c": "0x0000000000000000000000000000000000000000000000000000000000000003",
"0xd4c85fb0e2e99ead903faacf997187cdd578c05d85fb65a437ec5df7adbd493c": "0x0000000000000000000000000000000000000000000000000000000000000061",
"0xdf638d9ad2ddb81e52d89f52be8eb2efc4ebe3dd692efb0ede55f18f2c1c4285": "0x0000000000000000000000000000000000000000000000008ac7230489e80000",
"0xf8a977d908c3144fc545b8a1c1058dc83c46101907ae1a938e8f0a331dff6ac4": "0x0000000000000000000000000000000000000000000000000000000000000061",
"0xf94335afd2e0d8e45588eb727fde53a8fff6de45e50568830859cc28a6e890ee": "0x0000000000000000000000000000000000000000000000000000000000000061",
"0xffac21de252de4f519185fbe73e24fcaed6ac5cbbda7730d778c869b4b2b550f": "0x0000000000000000000000000000000000000000000000000000000000000001"
},
"balance": "0x22b1c8c1227a00000"
},
"0x69418CC1c4aC292b9dAbe739AE261BDDE7B170ca": {
"balance": "0x3635c9adc5dea00000"
},
"0xf8913788914782986227325563deEF3A58274E8e": {
"balance": "0x3635c9adc5dea00000"
}
},
"number": "0x0",
"gasUsed": "0x70000",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"params": {
"forks": {
"homestead": 0,
"byzantium": 0,
"constantinople": 0,
"petersburg": 0,
"istanbul": 0,
"EIP150": 0,
"EIP158": 0,
"EIP155": 0
},
"chainID": 4141,
"engine": {
"ibft": {
"epochSize": 50,
"type": "PoS",
"validator_type": "bls"
}
},
"blockGasTarget": 100000000000
},
"bootnodes": [
"/ip4/192.168.0.107/tcp/1478/p2p/16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV",
"/ip4/192.168.0.105/tcp/1478/p2p/16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU"
]
}`
-
Command to start our validator node
polygon-edge server --config default-config.json
-
default-config.json
- `{
"chain_config": "./genesis.json",
"secrets_config": "",
"data_dir": "./data-dir",
"block_gas_target": "100000000000",
"grpc_addr": "0.0.0.0:1477",
"jsonrpc_addr": "0.0.0.0:1479",
"telemetry": {
"prometheus_addr": ""
},
"network": {
"no_discover": false,
"libp2p_addr": "0.0.0.0:1478",
"nat_addr": "<Our Ip>",
"dns_addr": "",
"max_peers": -1,
"max_outbound_peers": -1,
"max_inbound_peers": -1
},
"seal": true,
"tx_pool": {
"price_limit": 0,
"max_slots": 4096,
"max_account_enqueued": 128
},
"log_level": "INFO",
"restore_file": "",
"block_time_s": 2,
"headers": {
"access_control_allow_origins": [
"*"
]
},
"log_to": "",
"json_rpc_batch_request_limit": 20,
"json_rpc_block_range_limit": 1000,
"json_log_format": false
}`
- [PEERS LIST] Number of peers: 4
[0] = 16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks
[1] = 16Uiu2HAmVVERBfH7cbcMyoingdYQBaKiEGd37gWEdqHMVcHuwfqV
[2] = 16Uiu2HAmQXfWspBGDA86n5N15etjxkG4LihWaykfjewtBY6g4Qce
[3] = 16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU
Expected behavior
- After staking funds on the staking contract the new node should sync to the existing network as a validator.
Logs
Bootnode 1 Logs
ubuntu@Abhay0:~/Desktop/PolygonSetup$ polygon-edge server --config default-config.json --dev
2022-12-28T12:37:16.819+0530 [INFO] polygon.server: Data dir: path=./data-dir
2022-12-28T12:37:16.840+0530 [INFO] polygon.blockchain: Current header: hash=0x59f03934249e9a711894f924adba25a420109e968ada5159b7875391313f44bc number=240664
2022-12-28T12:37:16.840+0530 [INFO] polygon.blockchain: genesis: hash=0x204382c513e7a678a92c0fd6b3fb0d675247f3c2db112cdf4d8dba0fa4ef29aa
2022-12-28T12:37:16.842+0530 [INFO] polygon.server.ibft: validator key: addr=0x69418CC1c4aC292b9dAbe739AE261BDDE7B170ca
2022-12-28T12:37:16.842+0530 [INFO] polygon.server: GRPC server running: addr=0.0.0.0:1477
2022-12-28T12:37:16.842+0530 [INFO] polygon.network: LibP2P server running: addr=/ip4/192.168.0.107/tcp/1478/p2p/16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV
2022-12-28T12:37:16.842+0530 [INFO] polygon.server.jsonrpc: http server started: addr=0.0.0.0:1479
2022-12-28T12:37:16.843+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240665
2022-12-28T12:37:16.843+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:37:18.498+0530 [INFO] polygon.network: Peer disconnected: id=16Uiu2HAmQXfWspBGDA86n5N15etjxkG4LihWaykfjewtBY6g4Qce
2022-12-28T12:37:18.498+0530 [WARN] polygon.network: Attempted removing missing peer info 16Uiu2HAmQXfWspBGDA86n5N15etjxkG4LihWaykfjewtBY6g4Qce
2022-12-28T12:37:18.504+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmQXfWspBGDA86n5N15etjxkG4LihWaykfjewtBY6g4Qce
2022-12-28T12:37:20.430+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmVVERBfH7cbcMyoingdYQBaKiEGd37gWEdqHMVcHuwfqV
2022-12-28T12:37:20.457+0530 [INFO] polygon.blockchain: new block: number=240665 txs=0 hash=0x5c4d09abe8a994c2eb167718ed3edf58276e06f4f7d89d10c863a499050aad69 parent=0x59f03934249e9a711894f924adba25a420109e968ada5159b7875391313f44bc generation_time_in_seconds=2
2022-12-28T12:37:20.457+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240665
2022-12-28T12:37:20.457+0530 [INFO] polygon.server.ibft: canceled sequence: sequence=240665
2022-12-28T12:37:20.457+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240666
2022-12-28T12:37:20.457+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:37:20.458+0530 [INFO] polygon.server.ibft.consensus: we are the proposer
2022-12-28T12:37:20.482+0530 [INFO] polygon.blockchain: new block: number=240666 txs=0 hash=0x600fbef198321ae64a255ec8bc8c753f1162f1c701909a7ff150e0bd931d8511 parent=0x5c4d09abe8a994c2eb167718ed3edf58276e06f4f7d89d10c863a499050aad69 generation_time_in_seconds=14
2022-12-28T12:37:20.507+0530 [INFO] polygon.blockchain: new block: number=240667 txs=0 hash=0xe173919e74a3dfacdd961fc260eb67ecaeb139b415b3234e086af9a1d74de365 parent=0x600fbef198321ae64a255ec8bc8c753f1162f1c701909a7ff150e0bd931d8511 generation_time_in_seconds=2
2022-12-28T12:37:20.532+0530 [INFO] polygon.blockchain: new block: number=240668 txs=0 hash=0x991c47ea10f379feff56c58c6c7cac29ae7713e579a6bdb289849bc85450b78a parent=0xe173919e74a3dfacdd961fc260eb67ecaeb139b415b3234e086af9a1d74de365 generation_time_in_seconds=2
2022-12-28T12:37:22.000+0530 [INFO] polygon.server.ibft: executed txs: successful=0 failed=0 skipped=0 remaining=0
2022-12-28T12:37:22.000+0530 [INFO] polygon.server.ibft: build block: number=240666 txs=0
2022-12-28T12:37:22.001+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240666
2022-12-28T12:37:22.001+0530 [INFO] polygon.server.ibft: canceled sequence: sequence=240666
2022-12-28T12:37:22.001+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240669
2022-12-28T12:37:22.001+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:37:22.001+0530 [INFO] polygon.server.ibft.consensus: we are the proposer
2022-12-28T12:37:22.808+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU
2022-12-28T12:37:24.000+0530 [INFO] polygon.server.ibft: executed txs: successful=0 failed=0 skipped=0 remaining=0
2022-12-28T12:37:24.000+0530 [INFO] polygon.server.ibft: build block: number=240669 txs=0
2022-12-28T12:37:24.001+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240669
2022-12-28T12:37:24.001+0530 [INFO] polygon.server.ibft: canceled sequence: sequence=240669
2022-12-28T12:37:24.001+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240669
2022-12-28T12:37:24.001+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:37:24.001+0530 [INFO] polygon.server.ibft.consensus: we are the proposer
2022-12-28T12:37:24.110+0530 [INFO] polygon.blockchain: new block: number=240669 txs=0 hash=0xc7b05926cb03d01331e194d7858ad3836af84bcb73edbfa7de0baf5b322bc59f parent=0x991c47ea10f379feff56c58c6c7cac29ae7713e579a6bdb289849bc85450b78a generation_time_in_seconds=4
2022-12-28T12:37:25.151+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks
2022-12-28T12:37:26.000+0530 [INFO] polygon.server.ibft: executed txs: successful=0 failed=0 skipped=0 remaining=0
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft: build block: number=240669 txs=0
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240669
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft: canceled sequence: sequence=240669
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240670
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240670
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft: canceled sequence: sequence=240670
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240670
2022-12-28T12:37:26.001+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:37:26.070+0530 [INFO] polygon.blockchain: new block: number=240670 txs=0 hash=0xa351afcf9f21f40fe43e6fc5153f6b082060f0c7765a68464bf1197b2e3eb8c3
Bootnode 2 Logs :-
ubuntu@Abhay1:~/Desktop/PolygonSetup$ polygon-edge server --config default-config.json
2022-12-28T12:41:44.609+0530 [INFO] polygon.server: Data dir: path=./data-dir
2022-12-28T12:41:44.641+0530 [INFO] polygon.blockchain: Current header: hash=0xff17cbffd7799a3cc35c376faed24a4ad95eedaaa77bb3e9a0b0ccee264f1031 number=240797
2022-12-28T12:41:44.641+0530 [INFO] polygon.blockchain: genesis: hash=0x204382c513e7a678a92c0fd6b3fb0d675247f3c2db112cdf4d8dba0fa4ef29aa
2022-12-28T12:41:44.644+0530 [INFO] polygon.server.ibft: validator key: addr=0xf8913788914782986227325563deEF3A58274E8e
2022-12-28T12:41:44.644+0530 [INFO] polygon.server: GRPC server running: addr=0.0.0.0:1477
2022-12-28T12:41:44.644+0530 [INFO] polygon.network: LibP2P server running: addr=/ip4/192.168.0.105/tcp/1478/p2p/16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU
2022-12-28T12:41:44.644+0530 [INFO] polygon.network: Omitting bootnode with same ID as host: id=16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU
2022-12-28T12:41:44.644+0530 [INFO] polygon.server.jsonrpc: http server started: addr=0.0.0.0:1479
2022-12-28T12:41:44.644+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240798
2022-12-28T12:41:44.644+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:44.645+0530 [INFO] polygon.server.ibft.consensus: we are the proposer
2022-12-28T12:41:44.648+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV
2022-12-28T12:41:46.000+0530 [INFO] polygon.server.ibft: executed txs: successful=0 failed=0 skipped=0 remaining=0
2022-12-28T12:41:46.003+0530 [INFO] polygon.server.ibft: build block: number=240798 txs=0
2022-12-28T12:41:46.072+0530 [INFO] polygon.blockchain: new block: number=240798 txs=0 hash=0xb107c2f4fc9cc8ee88d04efa5bb4858d8240497cf58828b075163dce07f36a01 parent=0xff17cbffd7799a3cc35c376faed24a4ad95eedaaa77bb3e9a0b0ccee264f1031 generation_time_in_seconds=6
2022-12-28T12:41:46.072+0530 [INFO] polygon.server.ibft: block committed: number=240798 hash=0xb107c2f4fc9cc8ee88d04efa5bb4858d8240497cf58828b075163dce07f36a01 validation_type=bls validators=4 committed=3
2022-12-28T12:41:46.072+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240798
2022-12-28T12:41:46.072+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240799
2022-12-28T12:41:46.072+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:46.096+0530 [INFO] polygon.blockchain: block already inserted: block=240798 source=syncer
2022-12-28T12:41:48.067+0530 [INFO] polygon.blockchain: new block: number=240799 txs=0 hash=0xf6fc528a35808af90c21b3ab2ed674af64ced6664206707f32d429e48b933331 parent=0xb107c2f4fc9cc8ee88d04efa5bb4858d8240497cf58828b075163dce07f36a01 generation_time_in_seconds=2
2022-12-28T12:41:48.067+0530 [INFO] polygon.server.ibft: block committed: number=240799 hash=0xf6fc528a35808af90c21b3ab2ed674af64ced6664206707f32d429e48b933331 validation_type=bls validators=4 committed=3
2022-12-28T12:41:48.067+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240799
2022-12-28T12:41:48.069+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240800
2022-12-28T12:41:48.069+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:48.134+0530 [INFO] polygon.blockchain: new block: number=240800 txs=0 hash=0xc5cc79b10fefdb078fcaae0839584d7b971d77ac454680b862084a4d093aa2cc parent=0xf6fc528a35808af90c21b3ab2ed674af64ced6664206707f32d429e48b933331 generation_time_in_seconds=2
2022-12-28T12:41:48.134+0530 [INFO] polygon.server.ibft: block committed: number=240800 hash=0xc5cc79b10fefdb078fcaae0839584d7b971d77ac454680b862084a4d093aa2cc validation_type=bls validators=4 committed=3
2022-12-28T12:41:48.134+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240800
2022-12-28T12:41:48.134+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240801
2022-12-28T12:41:48.134+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:48.161+0530 [INFO] polygon.blockchain: block already inserted: block=240800 source=syncer
2022-12-28T12:41:49.645+0530 [ERROR] polygon.network.discovery: Failed to find new peers: peer=16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV err="unable to create new discovery client connection, protocol not supported"
2022-12-28T12:41:50.153+0530 [INFO] polygon.network: Peer disconnected: id=16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks
2022-12-28T12:41:50.153+0530 [WARN] polygon.network: Attempted removing missing peer info 16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks
2022-12-28T12:41:52.071+0530 [INFO] polygon.blockchain: new block: number=240801 txs=0 hash=0x5f071af25494918107bc64174c8ed246d05bc3bd698ed77610c3a150445c7666 parent=0xc5cc79b10fefdb078fcaae0839584d7b971d77ac454680b862084a4d093aa2cc generation_time_in_seconds=2
2022-12-28T12:41:52.071+0530 [INFO] polygon.server.ibft: block committed: number=240801 hash=0x5f071af25494918107bc64174c8ed246d05bc3bd698ed77610c3a150445c7666 validation_type=bls validators=4 committed=3
2022-12-28T12:41:52.071+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240801
2022-12-28T12:41:52.071+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240802
2022-12-28T12:41:52.071+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:52.071+0530 [INFO] polygon.server.ibft.consensus: we are the proposer
2022-12-28T12:41:52.092+0530 [INFO] polygon.blockchain: block already inserted: block=240801 source=syncer
2022-12-28T12:41:54.000+0530 [INFO] polygon.server.ibft: executed txs: successful=0 failed=0 skipped=0 remaining=0
2022-12-28T12:41:54.003+0530 [INFO] polygon.server.ibft: build block: number=240802 txs=0
2022-12-28T12:41:54.073+0530 [INFO] polygon.blockchain: new block: number=240802 txs=0 hash=0x1636cb0b0b7629efcd364f8d09531b2fd56b9a6af1a1fbaaa4f3f92bf9a2ca48 parent=0x5f071af25494918107bc64174c8ed246d05bc3bd698ed77610c3a150445c7666 generation_time_in_seconds=2
2022-12-28T12:41:54.073+0530 [INFO] polygon.server.ibft: block committed: number=240802 hash=0x1636cb0b0b7629efcd364f8d09531b2fd56b9a6af1a1fbaaa4f3f92bf9a2ca48 validation_type=bls validators=4 committed=3
2022-12-28T12:41:54.073+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240802
2022-12-28T12:41:54.073+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240803
2022-12-28T12:41:54.074+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:54.098+0530 [INFO] polygon.blockchain: block already inserted: block=240802 source=syncer
2022-12-28T12:41:54.645+0530 [ERROR] polygon.network.discovery: Failed to find new peers: peer=16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV err="unable to create new discovery client connection, protocol not supported"
2022-12-28T12:41:56.067+0530 [INFO] polygon.blockchain: new block: number=240803 txs=0 hash=0x7e97a1608d7af98ca29177f30fac63dc7cc89d18b36c5278bae2891a7575936b parent=0x1636cb0b0b7629efcd364f8d09531b2fd56b9a6af1a1fbaaa4f3f92bf9a2ca48 generation_time_in_seconds=2
2022-12-28T12:41:56.067+0530 [INFO] polygon.server.ibft: block committed: number=240803 hash=0x7e97a1608d7af98ca29177f30fac63dc7cc89d18b36c5278bae2891a7575936b validation_type=bls validators=4 committed=3
2022-12-28T12:41:56.067+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240803
2022-12-28T12:41:56.067+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240804
2022-12-28T12:41:56.067+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:58.111+0530 [INFO] polygon.blockchain: new block: number=240804 txs=0 hash=0x950b5c75d70a9346fdd0b45102f7724f91fb98d6d0322a419656ba55a6283a11 parent=0x7e97a1608d7af98ca29177f30fac63dc7cc89d18b36c5278bae2891a7575936b generation_time_in_seconds=2
2022-12-28T12:41:58.111+0530 [INFO] polygon.server.ibft: block committed: number=240804 hash=0x950b5c75d70a9346fdd0b45102f7724f91fb98d6d0322a419656ba55a6283a11 validation_type=bls validators=4 committed=3
2022-12-28T12:41:58.111+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240804
2022-12-28T12:41:58.111+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240805
2022-12-28T12:41:58.111+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:41:59.646+0530 [ERROR] polygon.network.discovery: Failed to find new peers: peer=16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV err="unable to create new discovery client connection, protocol not supported"
Regular node 1 logs :-
ubunutu@Abhay2:~/Desktop/PolygonSetup$ polygon-edge server --config default-config.json
2022-12-28T12:44:39.484+0530 [INFO] polygon.server: Data dir: path=./data-dir
2022-12-28T12:44:39.518+0530 [INFO] polygon.blockchain: Current header: hash=0x51e301a6d31204d53ade35f5027c2c01fcff0cc79b129ccd3c10d4cef8983480 number=240883
2022-12-28T12:44:39.518+0530 [INFO] polygon.blockchain: genesis: hash=0x204382c513e7a678a92c0fd6b3fb0d675247f3c2db112cdf4d8dba0fa4ef29aa
2022-12-28T12:44:39.520+0530 [INFO] polygon.server.ibft: validator key: addr=0x6b44Fa3B534Fd4747d21eea28D7256B8D955DcDe
2022-12-28T12:44:39.520+0530 [INFO] polygon.server: GRPC server running: addr=0.0.0.0:1477
2022-12-28T12:44:39.520+0530 [INFO] polygon.network: LibP2P server running: addr=/ip4/192.168.0.108/tcp/1478/p2p/16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks
2022-12-28T12:44:39.521+0530 [INFO] polygon.server.jsonrpc: http server started: addr=0.0.0.0:1479
2022-12-28T12:44:39.521+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240884
2022-12-28T12:44:39.521+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:44:39.524+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV
2022-12-28T12:44:39.529+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU
2022-12-28T12:44:39.551+0530 [INFO] polygon.blockchain: new block: number=240884 txs=0 hash=0x958ef14e443454fe6ec109c4c29f078690a19683d16e7062c9efef5ea8bc6812 parent=0x51e301a6d31204d53ade35f5027c2c01fcff0cc79b129ccd3c10d4cef8983480 generation_time_in_seconds=2
2022-12-28T12:44:39.551+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240884
2022-12-28T12:44:39.551+0530 [INFO] polygon.server.ibft: canceled sequence: sequence=240884
2022-12-28T12:44:39.551+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240885
2022-12-28T12:44:39.551+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:44:40.085+0530 [INFO] polygon.blockchain: new block: number=240885 txs=0 hash=0x0197a5eacfdb486c96848b907fd4a01de00b9a4d7b36b3daa437221730238d06 parent=0x958ef14e443454fe6ec109c4c29f078690a19683d16e7062c9efef5ea8bc6812 generation_time_in_seconds=2
2022-12-28T12:44:40.085+0530 [INFO] polygon.server.ibft: block committed: number=240885 hash=0x0197a5eacfdb486c96848b907fd4a01de00b9a4d7b36b3daa437221730238d06 validation_type=bls validators=4 committed=3
2022-12-28T12:44:40.085+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240885
2022-12-28T12:44:40.085+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240886
2022-12-28T12:44:40.085+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:44:40.098+0530 [INFO] polygon.blockchain: block already inserted: block=240885 source=syncer
2022-12-28T12:44:42.088+0530 [INFO] polygon.blockchain: new block: number=240886 txs=0 hash=0x82ca1224d28dbd17c6ee1449d3bd38cfc5d8cb8158d363d5fadce926e782d1c6 parent=0x0197a5eacfdb486c96848b907fd4a01de00b9a4d7b36b3daa437221730238d06 generation_time_in_seconds=2
2022-12-28T12:44:42.088+0530 [INFO] polygon.server.ibft: block committed: number=240886 hash=0x82ca1224d28dbd17c6ee1449d3bd38cfc5d8cb8158d363d5fadce926e782d1c6 validation_type=bls validators=4 committed=3
2022-12-28T12:44:42.088+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240886
2022-12-28T12:44:42.088+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240887
2022-12-28T12:44:42.088+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:44:42.088+0530 [INFO] polygon.server.ibft.consensus: we are the proposer
2022-12-28T12:44:42.099+0530 [INFO] polygon.blockchain: block already inserted: block=240886 source=syncer
2022-12-28T12:44:44.000+0530 [INFO] polygon.server.ibft: executed txs: successful=0 failed=0 skipped=0 remaining=0
2022-12-28T12:44:44.001+0530 [INFO] polygon.server.ibft: build block: number=240887 txs=0
2022-12-28T12:44:44.063+0530 [INFO] polygon.blockchain: new block: number=240887 txs=0 hash=0xf8a689c7ce4c984ac9880f8fa55b746a746af6295164d1c87396674d6f31f0f7 parent=0x82ca1224d28dbd17c6ee1449d3bd38cfc5d8cb8158d363d5fadce926e782d1c6 generation_time_in_seconds=2
2022-12-28T12:44:44.063+0530 [INFO] polygon.server.ibft: block committed: number=240887 hash=0xf8a689c7ce4c984ac9880f8fa55b746a746af6295164d1c87396674d6f31f0f7 validation_type=bls validators=4 committed=3
2022-12-28T12:44:44.063+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240887
2022-12-28T12:44:44.063+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240888
2022-12-28T12:44:44.063+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:44:46.120+0530 [INFO] polygon.blockchain: new block: number=240888 txs=0 hash=0x7b54ec4bed1f1adb6607c78dc543a764e58551b37ff5522cbcf1a515d2a09d97 parent=0xf8a689c7ce4c984ac9880f8fa55b746a746af6295164d1c87396674d6f31f0f7 generation_time_in_seconds=2
2022-12-28T12:44:46.120+0530 [INFO] polygon.server.ibft: block committed: number=240888 hash=0x7b54ec4bed1f1adb6607c78dc543a764e58551b37ff5522cbcf1a515d2a09d97 validation_type=bls validators=4 committed=3
2022-12-28T12:44:46.120+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240888
2022-12-28T12:44:46.120+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240889
2022-12-28T12:44:46.120+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:44:46.144+0530 [INFO] polygon.blockchain: block already inserted: block=240888 source=syncer
2022-12-28T12:44:48.072+0530 [INFO] polygon.blockchain: new block: number=240889 txs=0 hash=0xc6025933488abb8aef7e624de51cdb5968045bb3a9533eff17789fc950b02230 parent=0x7b54ec4bed1f1adb6607c78dc543a764e58551b37ff5522cbcf1a515d2a09d97 generation_time_in_seconds=2
Regularnode 4 logs :-
ubuntu@Abhay3:~/Desktop/PolygonSetup$ polygon-edge server --config default-config.json
2022-12-28T12:47:05.838+0530 [INFO] polygon.server: Data dir: path=./data-dir
2022-12-28T12:47:05.873+0530 [INFO] polygon.blockchain: Current header: hash=0xa8eb85eef3014cdf5f2f3a05b80c41e9dfa15ef258c28da1fa48ac0a8df91c6b number=240956
2022-12-28T12:47:05.873+0530 [INFO] polygon.blockchain: genesis: hash=0x204382c513e7a678a92c0fd6b3fb0d675247f3c2db112cdf4d8dba0fa4ef29aa
2022-12-28T12:47:05.875+0530 [INFO] polygon.server.ibft: validator key: addr=0x201E377561226Bbe2d26c8E1fdAb5941728a45f1
2022-12-28T12:47:05.875+0530 [INFO] polygon.server: GRPC server running: addr=0.0.0.0:1477
2022-12-28T12:47:05.875+0530 [INFO] polygon.network: LibP2P server running: addr=/ip4/192.168.0.101/tcp/1478/p2p/16Uiu2HAmVVERBfH7cbcMyoingdYQBaKiEGd37gWEdqHMVcHuwfqV
2022-12-28T12:47:05.875+0530 [INFO] polygon.server.jsonrpc: http server started: addr=0.0.0.0:1479
2022-12-28T12:47:05.876+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240957
2022-12-28T12:47:05.876+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:47:05.878+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmMZJFJL7QwY8KKRwaFDC9BBvjAs7oxZQKamC612KeJxJV
2022-12-28T12:47:05.886+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAkz1TQvRJJybbpmYrVRUFAjsJoVAQGWdxJ7vzoMrxhtKtU
2022-12-28T12:47:05.907+0530 [INFO] polygon.blockchain: new block: number=240957 txs=0 hash=0x4ea9c310a1714fd629424b7600b30424eb6a3e7f7085ff312c9a21c61b850785 parent=0xa8eb85eef3014cdf5f2f3a05b80c41e9dfa15ef258c28da1fa48ac0a8df91c6b generation_time_in_seconds=2
2022-12-28T12:47:05.907+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240957
2022-12-28T12:47:05.907+0530 [INFO] polygon.server.ibft: canceled sequence: sequence=240957
2022-12-28T12:47:05.907+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240958
2022-12-28T12:47:05.907+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:47:06.032+0530 [INFO] polygon.blockchain: new block: number=240958 txs=0 hash=0x100e4b9ba8dbc4030168bfaaec4d11f7a851ce29fc36a5f24fb6674475e22474 parent=0x4ea9c310a1714fd629424b7600b30424eb6a3e7f7085ff312c9a21c61b850785 generation_time_in_seconds=2
2022-12-28T12:47:06.032+0530 [INFO] polygon.server.ibft: block committed: number=240958 hash=0x100e4b9ba8dbc4030168bfaaec4d11f7a851ce29fc36a5f24fb6674475e22474 validation_type=bls validators=4 committed=3
2022-12-28T12:47:06.032+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240958
2022-12-28T12:47:06.032+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240959
2022-12-28T12:47:06.032+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:47:06.054+0530 [INFO] polygon.blockchain: block already inserted: block=240958 source=syncer
2022-12-28T12:47:08.023+0530 [INFO] polygon.blockchain: new block: number=240959 txs=0 hash=0x434946f93d26d5e6ae48a5a252781bde14b77691e0fa6aaedf704f2251063b85 parent=0x100e4b9ba8dbc4030168bfaaec4d11f7a851ce29fc36a5f24fb6674475e22474 generation_time_in_seconds=2
2022-12-28T12:47:08.023+0530 [INFO] polygon.server.ibft: block committed: number=240959 hash=0x434946f93d26d5e6ae48a5a252781bde14b77691e0fa6aaedf704f2251063b85 validation_type=bls validators=4 committed=3
2022-12-28T12:47:08.023+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240959
2022-12-28T12:47:08.023+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240960
2022-12-28T12:47:08.023+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:47:08.023+0530 [INFO] polygon.server.ibft.consensus: we are the proposer
2022-12-28T12:47:08.047+0530 [INFO] polygon.blockchain: block already inserted: block=240959 source=syncer
2022-12-28T12:47:09.482+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmEEnpZwdoN38P2mweuTF2x7MtY4SnKQ9MJodByZerU8Ks
2022-12-28T12:47:10.000+0530 [INFO] polygon.server.ibft: executed txs: successful=0 failed=0 skipped=0 remaining=0
2022-12-28T12:47:10.002+0530 [INFO] polygon.server.ibft: build block: number=240960 txs=0
2022-12-28T12:47:10.085+0530 [INFO] polygon.blockchain: new block: number=240960 txs=0 hash=0x6b02fccf5d037d289b20a814936bb10b48abb9a4bb9d9101e75cd545c99e9ac8 parent=0x434946f93d26d5e6ae48a5a252781bde14b77691e0fa6aaedf704f2251063b85 generation_time_in_seconds=2
2022-12-28T12:47:10.085+0530 [INFO] polygon.server.ibft: block committed: number=240960 hash=0x6b02fccf5d037d289b20a814936bb10b48abb9a4bb9d9101e75cd545c99e9ac8 validation_type=bls validators=4 committed=3
2022-12-28T12:47:10.085+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240960
2022-12-28T12:47:10.085+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240961
2022-12-28T12:47:10.085+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:47:10.109+0530 [INFO] polygon.blockchain: block already inserted: block=240960 source=syncer
2022-12-28T12:47:10.880+0530 [INFO] polygon.network: Peer connected: id=16Uiu2HAmQXfWspBGDA86n5N15etjxkG4LihWaykfjewtBY6g4Qce
2022-12-28T12:47:12.027+0530 [INFO] polygon.blockchain: new block: number=240961 txs=0 hash=0x253eb4e8150b38e640577512621b6b48d70e8d108b64a61c37ce83063ed94aa8 parent=0x6b02fccf5d037d289b20a814936bb10b48abb9a4bb9d9101e75cd545c99e9ac8 generation_time_in_seconds=2
2022-12-28T12:47:12.027+0530 [INFO] polygon.server.ibft: block committed: number=240961 hash=0x253eb4e8150b38e640577512621b6b48d70e8d108b64a61c37ce83063ed94aa8 validation_type=bls validators=4 committed=3
2022-12-28T12:47:12.027+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240961
2022-12-28T12:47:12.027+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240962
2022-12-28T12:47:12.027+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:47:12.046+0530 [INFO] polygon.blockchain: block already inserted: block=240961 source=syncer
2022-12-28T12:47:14.024+0530 [INFO] polygon.blockchain: new block: number=240962 txs=0 hash=0xf473d81b448964dcd58a72c4ea9faac3a5e29c903e03219f7ede2f3c09721329 parent=0x253eb4e8150b38e640577512621b6b48d70e8d108b64a61c37ce83063ed94aa8 generation_time_in_seconds=2
2022-12-28T12:47:14.024+0530 [INFO] polygon.server.ibft: block committed: number=240962 hash=0xf473d81b448964dcd58a72c4ea9faac3a5e29c903e03219f7ede2f3c09721329 validation_type=bls validators=4 committed=3
2022-12-28T12:47:14.024+0530 [INFO] polygon.server.ibft.consensus: sequence done: height=240962
2022-12-28T12:47:14.024+0530 [INFO] polygon.server.ibft.consensus: sequence started: height=240963
2022-12-28T12:47:14.024+0530 [INFO] polygon.server.ibft.consensus: round started: round=0
2022-12-28T12:47:14.048+0530 [INFO] polygon.blockchain: block already inserted: block=240962 source=syncer
2022-12-28T12:47:16.020+0530 [INFO] polygon.blockchain: new block: number=240963 txs=0 hash=0x058d72ef8cfb42b0647b6025287e2ab3ef17cbad96eb6dc91d2daf308fd7e18a parent=0xf473d81b448964dcd58a72c4ea9faac3a5e29c903e03219f7ede2f3c09721329 generation_time_in_seconds=2
Proposed solution
If you have an idea on how to fix this issue, please write it down here, so we can begin discussing it
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 31 (10 by maintainers)
Hi @laviniat1996 Thankyou so much for your valuable information , I will help a lot .