All code pretty much straight up copied from https://github.com/ethereum/EIPs/pull/5088
doctoc
custody_game
BeaconBlocksByRange.step