Separate 10000 validators and tests
This commit is contained in:
parent
e864c2e92e
commit
fd4468de5d
|
@ -19,12 +19,11 @@ def generate_validator_keypairs(N: int) -> List[Dict]:
|
|||
) % CURVE_ORDER
|
||||
pubkey = privtopub(privkey)
|
||||
keypairs.append({'privkey': privkey, 'pubkey': pubkey})
|
||||
print(index)
|
||||
return keypairs
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
keypairs = generate_validator_keypairs(10000)
|
||||
keypairs = generate_validator_keypairs(10)
|
||||
keypairs_yaml = dump(keypairs, Dumper=Dumper)
|
||||
with open('keygen_test_vector.yaml', 'w') as f:
|
||||
f.write(keypairs_yaml)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue