Skip to content

Commit

Permalink
feat: add capella mainnet configs (#219)
Browse files Browse the repository at this point in the history
* feat: add capella mainnet configs

* add epoch

* bumb version
  • Loading branch information
ncitron authored Apr 1, 2023
1 parent 2e6b948 commit 8bd91d3
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "helios"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
autobenches = false
exclude = [
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cargo-features = ["different-binary-name"]

[package]
name = "cli"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "client"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "common"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "config"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion config/src/networks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub fn mainnet() -> BaseConfig {
fork_version: hex_str_to_bytes("0x02000000").unwrap(),
},
capella: Fork {
epoch: u64::MAX, // TODO: set epoch when known
epoch: 194048,
fork_version: hex_str_to_bytes("0x03000000").unwrap(),
},
},
Expand Down
2 changes: 1 addition & 1 deletion consensus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "consensus"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion execution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "execution"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[dependencies]
Expand Down
7 changes: 6 additions & 1 deletion helios-ts/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
set -e

(&>/dev/null lcp --proxyUrl https://eth-mainnet.g.alchemy.com/v2/23IavJytUwkTtBMpzt_TZKwgwAarocdT --port 9001 &)
if [ -z $ETH_RPC_URL ]; then
echo "ETH_RPC_URL not set"
exit 1
fi

(&>/dev/null lcp --proxyUrl $ETH_RPC_URL --port 9001 &)
(&>/dev/null lcp --proxyUrl https://www.lightclientdata.org --port 9002 &)

npm run build
Expand Down

0 comments on commit 8bd91d3

Please sign in to comment.