Skip to content

Commit

Permalink
fix(ethereum_node_fact_discovery): use devp2p to get enode instead of…
Browse files Browse the repository at this point in the history
… bootnode binary (#295)

The bootnode binary has been removed

---------

Signed-off-by: Rafael Matias <[email protected]>
  • Loading branch information
skylenet authored Dec 6, 2024
1 parent f272a56 commit 4ef2085
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

- name: Turn EL nodekey into enode
ansible.builtin.command: >-
docker run -t --rm ethereum/client-go:alltools-latest bootnode -writeaddress -nodekeyhex {{ ethereum_node_fact_discovery_el_nodekey.stdout }}
docker run -t --rm ethereum/client-go:alltools-latest
sh -c 'devp2p key to-enode <(echo "{{ ethereum_node_fact_discovery_el_nodekey.stdout }}") | cut -d'@' -f1 | cut -d'/' -f3'
vars:
ansible_connection: local
delegate_to: 127.0.0.1
Expand Down

0 comments on commit 4ef2085

Please sign in to comment.