Skip to content

Commit

Permalink
Release v1.2.3 (#310)
Browse files Browse the repository at this point in the history
* chore(deps): bump semver from 5.7.1 to 5.7.2 in /docs

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](npm/node-semver@v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update image versions to latest version.

* fix: Show command error when using containers tags (#300)

* test: add new show command test case

* fix: show command error when using containers tag

* chore: update changelog

---------

Co-authored-by: Marcos Antonio Maceo <35319980+stdevMac@users.noreply.github.com>

* Fix Chiado checkpoint sync (#298)

* fix: chiado env templates

* chore: update changelog

---------

Co-authored-by: Marcos Antonio Maceo <35319980+stdevMac@users.noreply.github.com>
Co-authored-by: Miguel Tenorio <46824157+AntiD2ta@users.noreply.github.com>

* Support Erigon in Gnosis (#299)

* feat: add erigon to gnosis templates

* fix: broken tests

* fix: specific gnosis network tests checks

* fix: gnosis network tests checks

* fix: wrong network in test case

* Rename xdai to gnosis (#308)

* doc: Update sedge version in complete-guide.mdx

* doc: Update 1.2.0 to 1.2.1

* doc: Update CHANGELOG

* Release v1.2.2 (#306)

* chore(deps): bump semver from 5.7.1 to 5.7.2 in /docs

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](npm/node-semver@v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update image versions to latest version.

* fix: Show command error when using containers tags (#300)

* test: add new show command test case

* fix: show command error when using containers tag

* chore: update changelog

---------

Co-authored-by: Marcos Antonio Maceo <35319980+stdevMac@users.noreply.github.com>

* Fix Chiado checkpoint sync (#298)

* fix: chiado env templates

* chore: update changelog

---------

Co-authored-by: Marcos Antonio Maceo <35319980+stdevMac@users.noreply.github.com>
Co-authored-by: Miguel Tenorio <46824157+AntiD2ta@users.noreply.github.com>

* [docs] Update documentation and Changelog

* [docs] Update documentation and Changelog

* [fix] typo on doc

* [fix] typo on doc

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: stdevMac <stdevMac@users.noreply.github.com>
Co-authored-by: Carlos Bermudez Porto <43155355+cbermudez97@users.noreply.github.com>
Co-authored-by: Miguel Tenorio <46824157+AntiD2ta@users.noreply.github.com>

* [patch] rename xDai to gnosis

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Miguel Tenorio <46824157+AntiD2ta@users.noreply.github.com>
Co-authored-by: AntiD2ta <mtpotro41@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: stdevMac <stdevMac@users.noreply.github.com>
Co-authored-by: Carlos Bermudez Porto <43155355+cbermudez97@users.noreply.github.com>

* [doc] update readme

* [doc] update documentation

* Update image versions to latest version. (#309)

Co-authored-by: stdevMac <stdevMac@users.noreply.github.com>

* [docs] Update changelog

* [docs] update Changelog

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: stdevMac <stdevMac@users.noreply.github.com>
Co-authored-by: Carlos Bermudez Porto <43155355+cbermudez97@users.noreply.github.com>
Co-authored-by: Miguel Tenorio <46824157+AntiD2ta@users.noreply.github.com>
Co-authored-by: AntiD2ta <mtpotro41@gmail.com>
Co-authored-by: nethermind-machine <76107542+nethermind-machine@users.noreply.github.com>
  • Loading branch information
7 people authored Aug 16, 2023
1 parent e585a03 commit 416c803
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 22 deletions.
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v1.2.3] - 2023-08-16

### Added

- Support for Erigon in Gnosis.

### Fixed

- Issue in Chiado templates with checkpoint sync.
- Fix show error when using containers tags.

### Changed

- Update client images.
- Moved xdai to gnosis on Nethermind config.

## [v1.2.2] - 2023-07-24

### Changed
Expand All @@ -15,7 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Issue in Chiado templates with checkpoint sync
- Issue in Chiado templates with checkpoint sync.
- Fix show error when using containers tags.
- Fix chiado checkpoint sync url.

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ Users acknowledge that no warranty is being made of a successful installation. S

### Gnosis

| Execution | Consensus | Validator |
| ------------- | ---------- | ---------- |
| Nethermind | Lighthouse | Lighthouse |
| Erigon (soon) | Lodestar | Lodestar |
| | Teku | Teku |
| Execution | Consensus | Validator |
|-------------| ---------- | ---------- |
| Nethermind | Lighthouse | Lighthouse |
| Erigon | Lodestar | Lodestar |
| | Teku | Teku |

### Chiado (Gnosis testnet)

Expand Down Expand Up @@ -245,7 +245,7 @@ The following roadmap covers the main features and ideas we want to implement bu

### Version 1.X (Current)

- [ ] Support Erigon on Gnosis
- [x] Support Erigon on Gnosis
- [ ] Include monitoring tool for alerting, tracking validator balance, and tracking sync progress and status of nodes
- [ ] More tests!!!
- [ ] Support for Nimbus client
Expand Down
6 changes: 3 additions & 3 deletions configs/client_images.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
execution:
geth:
name: ethereum/client-go
version: v1.12.0
version: v1.12.1
besu:
name: hyperledger/besu
version: 23.4.4
Expand All @@ -20,7 +20,7 @@ consensus:
version: v1.9.2
teku:
name: consensys/teku
version: 23.6.2
version: 23.8.0
prysm:
name: gcr.io/prysmaticlabs/prysm/beacon-chain
version: v4.0.7
Expand All @@ -33,7 +33,7 @@ validator:
version: v1.9.2
teku:
name: consensys/teku
version: 23.6.2
version: 23.8.0
prysm:
name: gcr.io/prysmaticlabs/prysm/validator
version: v4.0.7
4 changes: 2 additions & 2 deletions docs/docs/quickstart/complete-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ want to use another installation method:
<TabItem value="curl" label="curl">

```
curl -L https://github.com/NethermindEth/sedge/releases/download/v1.2.2/sedge-v1.2.2-linux-amd64 --output sedge
curl -L https://github.com/NethermindEth/sedge/releases/download/v1.2.3/sedge-v1.2.3-linux-amd64 --output sedge
```

</TabItem>
<TabItem value="wget" label="wget">

```
wget https://github.com/NethermindEth/sedge/releases/download/v1.2.2/sedge-v1.2.2-linux-amd64 -O sedge
wget https://github.com/NethermindEth/sedge/releases/download/v1.2.3/sedge-v1.2.3-linux-amd64 -O sedge
```

</TabItem>
Expand Down
4 changes: 2 additions & 2 deletions internal/pkg/clients/clients_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestSupportedClients(t *testing.T) {
want []string
isErr bool
}{
{"execution", "gnosis", []string{"nethermind"}, false},
{"execution", "gnosis", []string{"nethermind", "erigon"}, false},
{"consensus", "gnosis", utils.Filter(AllClients["consensus"], func(c string) bool { return c != "prysm" }), false},
{"execution", "mainnet", AllClients["execution"], false},
{"consensus", "mainnet", AllClients["consensus"], false},
Expand Down Expand Up @@ -132,7 +132,7 @@ func TestClients(t *testing.T) {
map[string][]string{
"validator": {"lighthouse", "teku", "lodestar"},
"consensus": {"lighthouse", "teku", "lodestar"},
"execution": {"nethermind"},
"execution": {"nethermind", "erigon"},
},
[]string{"consensus", "execution", "validator"},
"gnosis",
Expand Down
21 changes: 20 additions & 1 deletion internal/pkg/generate/envs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,26 @@ func TestGenerateEnvFile(t *testing.T) {
"KEYSTORE_DIR": "./keystore",
},
},
{
name: "Check Erigon for Gnosis network",
data: &GenData{
ExecutionClient: &clients.Client{Name: "erigon"},
Network: "gnosis",
},
fieldsToCheck: map[string]string{
"EL_NETWORK": "gnosis",
},
},
{
name: "Check Nethermind for Gnosis network",
data: &GenData{
ExecutionClient: &clients.Client{Name: "nethermind"},
Network: "gnosis",
},
fieldsToCheck: map[string]string{
"EL_NETWORK": "gnosis",
},
},
{
name: "Check wrong network",
data: &GenData{
Expand All @@ -203,7 +223,6 @@ func TestGenerateEnvFile(t *testing.T) {
ConsensusClient: &clients.Client{Name: "teku"},
},
fieldsToCheck: map[string]string{
"EL_NETWORK": "xdai",
"CL_NETWORK": "gnosis",
},
},
Expand Down
13 changes: 8 additions & 5 deletions internal/pkg/generate/generate_scripts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,15 @@ func defaultFunc(t *testing.T, data *GenData, compose, env io.Reader) error {
envData := retrieveEnvData(t, env)
if data.Network == "gnosis" {
// Check that the right network is set
assert.Contains(t, envData, "EL_NETWORK")
assert.Equal(t, "xdai", clean(envData["EL_NETWORK"]))

assert.Contains(t, envData, "CL_NETWORK")
assert.Equal(t, "gnosis", clean(envData["CL_NETWORK"]))
if data.ExecutionClient != nil {
assert.Contains(t, envData, "EL_NETWORK")
assert.Equal(t, "gnosis", clean(envData["EL_NETWORK"]))
}

if data.ConsensusClient != nil {
assert.Contains(t, envData, "CL_NETWORK")
assert.Equal(t, "gnosis", clean(envData["CL_NETWORK"]))
}
} else {
// Check that the right network is set
assert.Contains(t, envData, "NETWORK")
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/testdata/remote_files/good_file/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ TARGET_AGGREGATORS_PER_COMMITTEE: 16
RANDOM_SUBNETS_PER_VALIDATOR: 1
# 2**8 (= 256)
EPOCHS_PER_RANDOM_SUBNET_SUBSCRIPTION: 256
# 6 (estimate from xDai mainnet)
# 6 (estimate from Gnosis mainnet)
SECONDS_PER_ETH1_BLOCK: 6

# Gwei values
Expand Down
2 changes: 1 addition & 1 deletion templates/envs/gnosis/env_base.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{/* docker-compose_base.tmpl */}}
{{ define "env" }}
# --- Global configuration ---
EL_NETWORK=xdai
EL_NETWORK=gnosis
CL_NETWORK=gnosis
{{if .FeeRecipient}}
FEE_RECIPIENT={{.FeeRecipient}}{{end}}
Expand Down
7 changes: 7 additions & 0 deletions templates/envs/gnosis/execution/erigon.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{{/* erigon.tmpl */}}
{{ define "execution" }}
# --- Execution Layer - Execution Node - configuration ---
EC_IMAGE_VERSION={{.ElImage}}
EC_DATA_DIR={{.ElDataDir}}
EC_JWT_SECRET_PATH={{.JWTSecretPath}}
{{ end }}
2 changes: 2 additions & 0 deletions templates/envs/gnosis/execution/nethermind.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{{/* nethermind.tmpl */}}
{{ define "execution" }}
EL_NETWORK=gnosis

# --- Execution Layer - Execution Node - configuration ---
EC_IMAGE_VERSION={{.ElImage}}
NETHERMIND_LOG_LEVEL=INFO
Expand Down

0 comments on commit 416c803

Please sign in to comment.