Created
July 8, 2021 13:44
-
-
Save michaelsproul/7bbf52e8530bd401a7f841ac6c0f3627 to your computer and use it in GitHub Desktop.
Sync committee set bits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in (seq 416 520) | |
set set_bits (block.sh $i | jq .data.message.body.sync_aggregate.sync_committee_bits | python3 -c "print(bin(int(input().strip('\"').replace('null', '0x0'), base=16)).count('1'))") | |
echo "block $i: $set_bits" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment