:/home/moc
)gasPrice
to 0
in truffle.js
contracts/RewardByBlock.sol
blockRewardAmount
to 0
emissionFundsAmount
to 0
bridgesAllowedLength
to 1
bridgesAllowed()
function : use the homeBridge
address from previous step, it is located in poa-bridge-contracts/bridgeDeploymentResults.json
tokenbridge-contracts/deploy/src/utils/setBlockReward.js.
The 0xBLOCK_REWARD
is located in the poa-network-consensus-contracts/contracts.json
file.spec.json
to create a Hard ForkPoaNetworkConsensus
and RewardByBlock
contracts (making a hard fork).PoaNetworkConsensus
contract to engine.authorityRound.params.validators.multi
section, add blockRewardContractAddress
and blockRewardContractTransition
params to engine.authorityRound.params
section:1234
to the number of a future block.RewardByBlock
is activated.spec.json
on all the other network nodes (bootnode, explorer, validators). Also, restart Parity on the bootnode
launched earlier:
sudo systemctl restart poa-parity && sleep 10 && sudo systemctl restart poa-netstats