protolambda / eth2-testnet-genesis

Create a genesis state for an Eth2 testnet
MIT License
46 stars 26 forks source link

Fix error generating genesis #5

Closed gathecageorge closed 2 years ago

gathecageorge commented 2 years ago

There was a bug with validator index calculation resulting in overwrite of public keys when mnemonics are greater than 2

File: validators.go Line: 68 Value: .............validators[idx*uint64(mIdx+1)] = data

Fixed and added dockerfile to create image

protolambda commented 2 years ago

Good fix, but please remove the docker stuff, I want to minimize the scope of this project. Updating docker images and using qemu to compile is definitely not part of that.

gathecageorge commented 2 years ago

That is okay, removed. Sure this is a small fix should not add other features

protolambda commented 2 years ago

Fixed in #6