Skip to content

Update scripts #232

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 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions install/scripts/start-bn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,14 @@ if [ "$CC_CLIENT" = "lighthouse" ]; then
--eth1-blocks-per-log-query 150 \
--disable-upnp \
--staking \
--http-allow-sync-stalled \
--execution-jwt=/secrets/jwtsecret \
--historic-state-cache-size 2 \
$BN_ADDITIONAL_FLAGS"

# Performance tuning for ARM systems
UNAME_VAL=$(uname -m)
if [ "$UNAME_VAL" = "arm64" ] || [ "$UNAME_VAL" = "aarch64" ]; then
CMD="$CMD --execution-timeout-multiplier 2 --disable-lock-timeouts"
CMD="$CMD --execution-timeout-multiplier 2"
fi

if [ ! -z "$MEV_BOOST_URL" ]; then
Expand Down Expand Up @@ -216,7 +215,7 @@ if [ "$CC_CLIENT" = "prysm" ]; then
echo "Prysm has been configured to employ Holesky, with the genesis state being a prerequisite."
if [ ! -f "/ethclient/holesky-genesis.ssz" ]; then
echo "Downloading genesis..."
wget https://github.com/eth-clients/holesky/raw/main/custom_config_data/genesis.ssz -O /ethclient/holesky-genesis.ssz
wget https://github.com/eth-clients/holesky/blob/main/metadata/genesis.ssz -O /ethclient/holesky-genesis.ssz
echo "Download complete."
else
echo "The genesis state has already been downloaded, and the process will proceed accordingly."
Expand Down
1 change: 1 addition & 0 deletions install/scripts/start-ec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ if [ "$CLIENT" = "besu" ]; then
--engine-rpc-port=${EC_ENGINE_PORT:-8551} \
--engine-host-allowlist=* \
--engine-jwt-secret=/secrets/jwtsecret \
--Xbonsai-full-flat-db-enabled=true \
$EC_ADDITIONAL_FLAGS"

if [ ! -z "$ETHSTATS_LABEL" ] && [ ! -z "$ETHSTATS_LOGIN" ]; then
Expand Down
1 change: 0 additions & 1 deletion shared/services/config/mev-boost-config.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ func createDefaultRelays() []config.MevRelay {
Description: "Titan Relay is a neutral, Rust-based MEV-Boost Relay optimized for low latency throughput, geographical distribution, and robustness. Select this to enable the \"non-filtering\" relay from Titan.",
Urls: map[config.Network]string{
config.Network_Mainnet: "https://0x8c4ed5e24fe5c6ae21018437bde147693f68cda427cd1122cf20819c30eda7ed74f72dece09bb313f2a1855595ab677d@global.titanrelay.xyz",
config.Network_Holesky: "https://0xaa58208899c6105603b74396734a6263cc7d947f444f396a90f7b7d3e65d102aec7e5e5291b27e08d02c50a050825c2f@holesky.titanrelay.xyz",
},
Regulated: false,
NoSandwiching: false,
Expand Down
10 changes: 10 additions & 0 deletions stader-cli/service/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ func migrate(c *cli.Context) (runBeforeUpgrades, rundAfterUpgrades []ConfigUpgra
return nil, nil, err
}

v164, err := parseVersion("1.6.4")
if err != nil {
return nil, nil, err
}

// Create the collection of upgraders
upgraders := []ConfigUpgrader{
{
Expand Down Expand Up @@ -120,6 +125,11 @@ func migrate(c *cli.Context) (runBeforeUpgrades, rundAfterUpgrades []ConfigUpgra
upgradeFunc: func(_ *cli.Context) error { return nil },
needInstall: true,
},
{
version: v164,
upgradeFunc: func(_ *cli.Context) error { return nil },
needInstall: true,
},
}

staderClient, err := stader.NewClientFromCtx(c)
Expand Down
Loading