ethpandaops / ansible-collection-general

Ansible collection with multiple reusable roles used by the EthPandaOps team

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forky genesis time is incorrect

barnabasbusa opened this issue · comments

Because this is how we get the genesis time:

ethereum_genesis_timestamp: "{{ lookup('ansible.builtin.pipe', '{{ ethereum_genesis_timestamp_relative_cmd[ansible_system] }}') }}"
ethereum_genesis_timedelay: 60

Forky's genesis time calculation will always be different.

genesis_time: {{ ethereum_genesis_timestamp | int + ethereum_genesis_timedelay | int }}

https://github.com/ethpandaops/ansible-collection-general/blob/master/roles/generate_kubernetes_config/templates/forky.yaml.j2#L43

This needs to be changed.