maticnetwork / terraform-polygon-supernets

31 stars 22 forks source link

Is there a way to start the chain with PoS consensus? #44

Open poprygun opened 7 months ago

poprygun commented 7 months ago

Hello friends,

Upon the inspection of the block data after chain startup I notice the presence of proofOfAuthorityData field that hints that chain was started in PoA mode. I tied to modify bootstrap.sh adding "--pos" to polygon-edge genesis command, but still seeing proofOfAuthorityData.

Could you please advise on reliable way to determine the consensus mechanism used by the chain, and proper way to start the chain using PoS?

Here is the log from showing to block data

'proofOfAuthorityData': HexBytes('0x0000000000000000000000000000000000000000000000000000000000000000f8b2c0f843b8402738e3c8108923e6ce02885e22314c2c5c8b4a37d