Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
batphonghan committed May 21, 2024
1 parent 6305bab commit 8e236b3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
".NETCoreApp,Version=v8.0": {
"NethermindPruneStarter/1.0.1": {
"dependencies": {
"Newtonsoft.Json": "13.0.2"
Expand Down Expand Up @@ -38,4 +38,4 @@
"hashPath": "newtonsoft.json.13.0.2.nupkg.sha512"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"runtimeOptions": {
"tfm": "net7.0",
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "7.0.0"
"version": "8.0.2"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}
}
1 change: 1 addition & 0 deletions install/scripts/start-bn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ if [ "$CC_CLIENT" = "teku" ]; then
--eth1-deposit-contract-max-request-size=150 \
--log-destination=CONSOLE \
--ee-jwt-secret-file=/secrets/jwtsecret \
--shut-down-when-validator-slashed-enabled=true \
--beacon-liveness-tracking-enabled \
$BN_ADDITIONAL_FLAGS"

Expand Down
6 changes: 0 additions & 6 deletions install/scripts/start-ec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ if [ "$CLIENT" = "geth" ]; then

fi

# Use Pebble if requested
if [ "$GETH_USE_PEBBLE" = "true" ]; then
DB_ENGINE="--db.engine=pebble"
fi



# Check for the prune flag and run that first if requested
if [ -f "/ethclient/prune.lock" ]; then
Expand Down
2 changes: 1 addition & 1 deletion shared/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package shared

const BinaryBucket string = "/stader-node-build/permissionless"
const DockerAccount string = "staderlabs"
const StaderVersion string = "1.6.0"
const StaderVersion string = "1.6.1"

const Logo string = `
_____ _ _ _ _ 𝅺
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 @@ -64,6 +64,11 @@ func migrate(c *cli.Context) (runBeforeUpgrades, rundAfterUpgrades []ConfigUpgra
return nil, nil, err
}

v161, err := parseVersion("1.6.1")
if err != nil {
return nil, nil, err
}

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

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

0 comments on commit 8e236b3

Please sign in to comment.