diff --git a/blast-geth/cmd/geth/config.go b/blast-geth/cmd/geth/config.go index 237d646c..3846e088 100644 --- a/blast-geth/cmd/geth/config.go +++ b/blast-geth/cmd/geth/config.go @@ -120,7 +120,7 @@ func defaultNodeConfig() node.Config { cfg.Version = params.VersionWithCommit(git.Commit, git.Date) cfg.HTTPModules = append(cfg.HTTPModules, "eth") cfg.WSModules = append(cfg.WSModules, "eth") - cfg.IPCPath = "geth.ipc" + cfg.IPCPath = "blast.ipc" return cfg } diff --git a/blast-geth/cmd/geth/main.go b/blast-geth/cmd/geth/main.go index 0eac5308..94f6876a 100644 --- a/blast-geth/cmd/geth/main.go +++ b/blast-geth/cmd/geth/main.go @@ -49,7 +49,7 @@ import ( ) const ( - clientIdentifier = "geth" // Client identifier to advertise over the network + clientIdentifier = "blast" // Client identifier to advertise over the network ) var ( diff --git a/blast-geth/node/config.go b/blast-geth/node/config.go index dd350c36..4aa2b4f1 100644 --- a/blast-geth/node/config.go +++ b/blast-geth/node/config.go @@ -302,6 +302,8 @@ func (c *Config) NodeName() string { // Backwards compatibility: previous versions used title-cased "Geth", keep that. if name == "geth" || name == "geth-testnet" { name = "Geth" + } else if name == "blast" { + name = "Blast" } if c.UserIdent != "" { name += "/" + c.UserIdent diff --git a/blast-geth/node/node_test.go b/blast-geth/node/node_test.go index 04810a81..1c2f1584 100644 --- a/blast-geth/node/node_test.go +++ b/blast-geth/node/node_test.go @@ -31,6 +31,7 @@ import ( "github.com/ethereum/go-ethereum/p2p" "github.com/ethereum/go-ethereum/rpc" + pble "github.com/cockroachdb/pebble" "github.com/stretchr/testify/assert" ) @@ -152,7 +153,7 @@ func TestNodeCloseClosesDB(t *testing.T) { stack, _ := New(testNodeConfig()) defer stack.Close() - db, err := stack.OpenDatabase("mydb", 0, 0, "", false) + db, err := stack.OpenDatabase("mydb", 0, 0, "", false, pble.FormatMostCompatible) if err != nil { t.Fatal("can't open DB:", err) } @@ -175,7 +176,7 @@ func TestNodeOpenDatabaseFromLifecycleStart(t *testing.T) { var err error stack.RegisterLifecycle(&InstrumentedService{ startHook: func() { - db, err = stack.OpenDatabase("mydb", 0, 0, "", false) + db, err = stack.OpenDatabase("mydb", 0, 0, "", false, pble.FormatMostCompatible) if err != nil { t.Fatal("can't open DB:", err) } @@ -196,7 +197,7 @@ func TestNodeOpenDatabaseFromLifecycleStop(t *testing.T) { stack.RegisterLifecycle(&InstrumentedService{ stopHook: func() { - db, err := stack.OpenDatabase("mydb", 0, 0, "", false) + db, err := stack.OpenDatabase("mydb", 0, 0, "", false, pble.FormatMostCompatible) if err != nil { t.Fatal("can't open DB:", err) } diff --git a/blast-geth/params/version.go b/blast-geth/params/version.go index 499a61c8..b3e103f8 100644 --- a/blast-geth/params/version.go +++ b/blast-geth/params/version.go @@ -32,10 +32,10 @@ const ( // OPVersion is the version of op-geth var ( - OPVersionMajor = 0 // Major version component of the current release - OPVersionMinor = 1 // Minor version component of the current release - OPVersionPatch = 0 // Patch version component of the current release - OPVersionMeta = "unstable" // Version metadata to append to the version string + OPVersionMajor = 1 // Major version component of the current release + OPVersionMinor = 8 // Minor version component of the current release + OPVersionPatch = 0 // Patch version component of the current release + OPVersionMeta = "stable" // Version metadata to append to the version string ) // This is set at build-time by the linker when the build is done by build/ci.go.