• Manu NALEPA's avatar
    Prysm BN/VC: Fix communication (#839) · 3ba9e51f
    Manu NALEPA authored
    This PR has 2 commits:
    - Use different ports for gRPC and HTTP communication between Prysm VC
    and BN
    - Switch gRPC and HTTP ports to be consistent with default values.
    
    Before this PR, we had this issue:
    
    ```
     docker inspect vc-1-geth-prysm--773bda94114946f3b501f3e293517426
    [
        {
            "Id": "93713c8d7020aeb505836a11a1858e27dd9ecac19e7e7ed4814f677c30bc9c48",
            "Created": "2024-11-29T13:05:02.300408215Z",
            "Path": "/validator",
            "Args": [
                "--accept-terms-of-use=true",
                "--chain-config-file=/network-configs/config.yaml",
                "--suggested-fee-recipient=0x8943545177806ED17B9F23F0a21ee5948eCaa776",
                "--disable-monitoring=false",
                "--monitoring-host=0.0.0.0",
                "--monitoring-port=8080",
                "--graffiti=1-geth-prysm",
                "--wallet-dir=/validator-keys/prysm",
                "--wallet-password-file=/prysm-password/prysm-password.txt",
                "--beacon-rpc-provider=172.16.0.13:3500",
                "--beacon-rest-api-provider=172.16.0.13:3500",
                "--enable-beacon-rest-api"
            ],
    ```
    
    ```
                "--beacon-rpc-provider=172.16.0.13:3500",
                "--beacon-rest-api-provider=172.16.0.13:3500",
    ```
    
    The Prysm VC tried to connect to the Prysm VC with the same port for the
    beacon API and the gRPC.
    
    Now, it is:
    
    **VC**:
    ```
    ...
                "--beacon-rpc-provider=172.16.0.13:4000",
                "--beacon-rest-api-provider=http://172.16.0.13:3500"
    ...
    ```
    
    BN:
    ```
    ...
     "--rpc-host=0.0.0.0",
                "--rpc-port=4000",
                "--http-host=0.0.0.0",
                "--http-cors-domain=*",
                "--http-port=3500",
    ...
    ```
    
    ---------
    Signed-off-by: default avatarBarnabas Busa <barnabas.busa@ethereum.org>
    Co-authored-by: default avatarBarnabas Busa <barnabas.busa@ethereum.org>
    3ba9e51f
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
examples Loading commit data...
src Loading commit data...
static_files Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitpod.Dockerfile Loading commit data...
.gitpod.yml Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
kurtosis-package-icon.png Loading commit data...
kurtosis.yml Loading commit data...
main.star Loading commit data...
network_params.yaml Loading commit data...
rename.sh Loading commit data...
run.gif Loading commit data...
version.txt Loading commit data...