LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 457 forks source link

Investigate bftWeight calculation #9076

Closed has5aan closed 8 months ago

has5aan commented 8 months ago

Description

As reported on Discord; could you check the bftWeights?

Me with 400k votes this is my weight 415 lisk-core endpoint invoke consensus_getBFTParameters '{"height": 20512426}' | jq | grep lskhf3gtj3wecxaxy7csqb5k8kszugghpscvat5b4 -A 1 Mona with 2,7k 545 `lisk-core endpoint invoke consensus_getBFTParameters '{"height": 20512426}' | jq | grep lskt8ovj2shbxrtno8xqqt7cnmzzygdkbt6brnvmj -A 1

Which version(s) does this affect? (Environment, OS, etc...)

release/6.1.0

has5aan commented 8 months ago

The validator lskt8ovj2shbxrtno8xqqt7cnmzzygdkbt6brnvmjis init validator and has a BFT weight of 545 that is the average BFT weight at the reported height of 20512426 at round 612 during migration and is correct.