Skip to content

Commit

Permalink
chore(go/mod): bump go-ethereum (#1023)
Browse files Browse the repository at this point in the history
`go: upgraded github.com/ethereum/go-ethereum v1.14.0 => v1.14.2`

Also update geth genesis difficulty to 0 as per [geth
PR](ethereum/go-ethereum#29579).

task: none
  • Loading branch information
corverroos committed May 9, 2024
1 parent 39c0a71 commit 2833c7f
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion e2e/app/geth/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

// Version defines the geth version deployed to all networks.
const Version = "v1.14.0"
const Version = "v1.14.2"

// Config is the configurable options for the standard omni geth config.
type Config struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
labels:
e2e: true
container_name: omni_evm_0-init
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command: --state.scheme=path --datadir=/geth init /geth/genesis.json
volumes:
- ./omni_evm_0:/geth
Expand All @@ -88,7 +88,7 @@ services:
labels:
e2e: true
container_name: omni_evm_0
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command:
- --config=/geth/config.toml
# Flags not available via config.toml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
labels:
e2e: true
container_name: omni_evm_0-init
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command: --state.scheme=path --datadir=/geth init /geth/genesis.json
volumes:
- ./omni_evm_0:/geth
Expand All @@ -88,7 +88,7 @@ services:
labels:
e2e: true
container_name: omni_evm_0
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command:
- --config=/geth/config.toml
# Flags not available via config.toml
Expand Down
4 changes: 2 additions & 2 deletions e2e/docker/testdata/TestComposeTemplate_main_explorer.golden
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ services:
labels:
e2e: true
container_name: omni_evm_0-init
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command: --state.scheme=path --datadir=/geth init /geth/genesis.json
volumes:
- ./omni_evm_0:/geth
Expand All @@ -88,7 +88,7 @@ services:
labels:
e2e: true
container_name: omni_evm_0
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command:
- --config=/geth/config.toml
# Flags not available via config.toml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
labels:
e2e: true
container_name: validator01_evm-init
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command: --state.scheme=path --datadir=/geth init /geth/genesis.json
volumes:
- ./validator01_evm:/geth
Expand All @@ -43,7 +43,7 @@ services:
labels:
e2e: true
container_name: validator01_evm
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command:
- --config=/geth/config.toml
# Flags not available via config.toml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
labels:
e2e: true
container_name: validator02_evm-init
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command: --state.scheme=path --datadir=/geth init /geth/genesis.json
volumes:
- ./validator02_evm:/geth
Expand All @@ -43,7 +43,7 @@ services:
labels:
e2e: true
container_name: validator02_evm
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command:
- --config=/geth/config.toml
# Flags not available via config.toml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
labels:
e2e: true
container_name: seed01_evm-init
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command: --state.scheme=path --datadir=/geth init /geth/genesis.json
volumes:
- ./seed01_evm:/geth
Expand All @@ -43,7 +43,7 @@ services:
labels:
e2e: true
container_name: seed01_evm
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command:
- --config=/geth/config.toml
# Flags not available via config.toml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
labels:
e2e: true
container_name: fullnode01_evm-init
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command: --state.scheme=path --datadir=/geth init /geth/genesis.json
volumes:
- ./fullnode01_evm:/geth
Expand All @@ -43,7 +43,7 @@ services:
labels:
e2e: true
container_name: fullnode01_evm
image: "ethereum/client-go:v1.14.0"
image: "ethereum/client-go:v1.14.2"
command:
- --config=/geth/config.toml
# Flags not available via config.toml
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ require (
github.com/cosmos/cosmos-sdk v0.50.6
github.com/cosmos/gogoproto v1.4.12
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0
github.com/ethereum/go-ethereum v1.14.0
github.com/ethereum/go-ethereum v1.14.2
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/google/go-cmp v0.6.0
github.com/google/gofuzz v1.2.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU
github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew=
github.com/ethereum/c-kzg-4844 v1.0.0 h1:0X1LBXxaEtYD9xsyj9B9ctQEZIpnvVDeoBx8aHEwTNA=
github.com/ethereum/c-kzg-4844 v1.0.0/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0=
github.com/ethereum/go-ethereum v1.14.0 h1:xRWC5NlB6g1x7vNy4HDBLuqVNbtLrc7v8S6+Uxim1LU=
github.com/ethereum/go-ethereum v1.14.0/go.mod h1:1STrq471D0BQbCX9He0hUj4bHxX2k6mt5nOQJhDNOJ8=
github.com/ethereum/go-ethereum v1.14.2 h1:3ketymsXTLiXmtnCrXab/EUsV+X8KhwUqv572TriDaU=
github.com/ethereum/go-ethereum v1.14.2/go.mod h1:1STrq471D0BQbCX9He0hUj4bHxX2k6mt5nOQJhDNOJ8=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
Expand Down
2 changes: 1 addition & 1 deletion halo/evmengine/keeper/abci_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func (m *mockEngineAPI) nextBlock(t *testing.T, height uint64, timestamp uint64,
header.MixDigest = parentHash

// Convert header to block
block := types.NewBlock(&header, nil, nil, nil, trie.NewStackTrie(nil))
block := types.NewBlock(&header, nil, nil, trie.NewStackTrie(nil))

// Convert block to payload
env := eengine.BlockToExecutableData(block, big.NewInt(0), nil)
Expand Down
2 changes: 1 addition & 1 deletion halo/genutil/evm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func MakeGenesis(network netconf.ID) (core.Genesis, error) {
Config: defaultChainConfig(network),
GasLimit: miner.DefaultConfig.GasCeil,
BaseFee: big.NewInt(params.InitialBaseFee),
Difficulty: big.NewInt(1),
Difficulty: big.NewInt(0),
Alloc: allocs,
}, nil
}
Expand Down
2 changes: 1 addition & 1 deletion halo/genutil/evm/testdata/TestMakeGenesis.golden
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"timestamp": "0x0",
"extraData": "0x",
"gasLimit": "0x1c9c380",
"difficulty": "0x1",
"difficulty": "0x0",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
Expand Down
2 changes: 1 addition & 1 deletion lib/ethclient/enginemock.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func makePayload(fuzzer *fuzz.Fuzzer, height uint64, timestamp uint64, parentHas
header.Coinbase = feeRecipient // this corresponds to SuggestedFeeRecipient field in PayloadAttributes

// Convert header to block
block := types.NewBlock(&header, nil, nil, nil, trie.NewStackTrie(nil))
block := types.NewBlock(&header, nil, nil, trie.NewStackTrie(nil))

// Convert block to payload
env := engine.BlockToExecutableData(block, big.NewInt(0), nil)
Expand Down
2 changes: 1 addition & 1 deletion lib/ethclient/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func NewFuzzer(seed int64) *fuzz.Fuzzer {
var header types.Header
c.Fuzz(&header)

block := types.NewBlock(&header, nil, nil, nil, trie.NewStackTrie(nil))
block := types.NewBlock(&header, nil, nil, trie.NewStackTrie(nil))

*b = *block //nolint:govet // Copy lock isn't a problem since we are creating a new object.
},
Expand Down

0 comments on commit 2833c7f

Please sign in to comment.