Skip to content

bumped keyper version to v1.3.9 #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 27, 2025
Merged

Conversation

blockchainluffy
Copy link
Contributor

No description provided.

@blockchainluffy
Copy link
Contributor Author

@ylembachar this PR also has new assets version now which include new bootstrap address and syncMonitorCheckInterval from assets build.

@blockchainluffy blockchainluffy force-pushed the release/keyper/v1.3.9 branch from d549c4e to 3a298d5 Compare June 23, 2025 13:35
@blockchainluffy blockchainluffy force-pushed the release/keyper/v1.3.9 branch from 3a298d5 to ea086a2 Compare June 23, 2025 13:42
@blockchainluffy blockchainluffy requested review from konradkonrad and ylembachar and removed request for konradkonrad June 23, 2025 14:23
echo "Could not find DAppNode RPC/WS url for this package!"
echo "Please configure 'ETHEREUM_WS' to point to an applicable websocket RPC service."
exit 1;
export SHUTTER_NETWORK_NODE_ETHEREUMURL=ws://execution.${SUPPORTED_NETWORKS}.dncore.dappnode:8545
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUPPORTED_NETWORKS is potentially an array. So this shouldn't apply here.

@@ -33,7 +37,8 @@ fi

export SHUTTER_P2P_ADVERTISEADDRESSES="[\"/ip4/${_DAPPNODE_GLOBAL_PUBLIC_IP}/tcp/${KEYPER_PORT}\", \"/ip4/${_DAPPNODE_GLOBAL_PUBLIC_IP}/udp/${KEYPER_PORT}/quic-v1\"]"

export SHUTTER_NETWORK_NODE_ETHEREUMURL=${ETHEREUM_WS:-$(get_execution_ws_url_from_global_env "$NETWORK" "$SUPPORTED_NETWORKS")}
//FIXME: This is a workaround for the issue with the staker-scripts@v0.1.1 not setting get_execution_ws_url_from_global_env correctly in the environment variables.
export SHUTTER_NETWORK_NODE_ETHEREUMURL=${ETHEREUM_WS:-ws://execution.${SUPPORTED_NETWORKS}.dncore.dappnode:8546}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above: I suggest to use ${NETWORK} instead of the array ${SUPPORTED_NETWORKS}.

konradkonrad
konradkonrad previously approved these changes Jun 23, 2025
Copy link
Contributor

@konradkonrad konradkonrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@konradkonrad konradkonrad dismissed their stale review June 23, 2025 15:03

meant to say: lgtm after addressing the two comments

Copy link
Contributor

@konradkonrad konradkonrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think SUPPORTED_NETWORKS is the right env var for filling the url (see comments). Other than that it looks good to me.

echo "Could not find DAppNode RPC/WS url for this package!"
echo "Please configure 'ETHEREUM_WS' to point to an applicable websocket RPC service."
exit 1;
export SHUTTER_NETWORK_NODE_ETHEREUMURL=ws://execution.${SUPPORTED_NETWORKS}.dncore.dappnode:8545
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the logic here needs to check for both ports and if none of them work, ask the user to configure an ETHEREUM_WS

Copy link
Contributor Author

@blockchainluffy blockchainluffy Jun 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is checking for both, 8546 port is checked initially if it does not find ETHEREUM_WS url, then if it does not work, we check for 8545 port (set in the test_ethereum_url function)

@blockchainluffy blockchainluffy force-pushed the release/keyper/v1.3.9 branch from 355ed8a to 26ad3cc Compare June 24, 2025 08:18
//FIXME: This is a workaround for the issue with the staker-scripts@v0.1.1 not setting get_execution_ws_url_from_global_env correctly in the environment variables.
//Git Issue: https://github.com/dappnode/staker-package-scripts/issues/11
export SHUTTER_NETWORK_NODE_ETHEREUMURL=${ETHEREUM_WS:-ws://execution.${NETWORK}.dncore.dappnode:8546}
echo "[DEBUG | configure] SHUTTER_NETWORK_NODE_ETHEREUMURL is ${SHUTTER_NETWORK_NODE_ETHEREUMURL}"
Copy link
Contributor

@konradkonrad konradkonrad Jun 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For debugging purposes, this echo is now in an awkward spot -- even though it may say ...:8546, we can end up with ...:8545 as the chosen working value.

@blockchainluffy blockchainluffy force-pushed the release/keyper/v1.3.9 branch from 55837bd to 6e5de32 Compare June 24, 2025 11:53
Copy link
Contributor

@konradkonrad konradkonrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@blockchainluffy blockchainluffy force-pushed the release/keyper/v1.3.9 branch from 7ee90c2 to 8105b62 Compare June 25, 2025 12:36
@blockchainluffy blockchainluffy merged commit fc9307f into main Jun 27, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants