Skip to content

Commit 3ba4a1d

Browse files
authoredMar 10, 2025··
Beacon chain types refactor (#3995)
massive refactor to our beacon chain types. we are now aware of all forks and forced to handle them. also versioned the ethereum client state, potentially will do the same to the consensus state? includes the changes from #3878 as well. TODO: - [ ] docs on new libraries - [ ] json spec tests for the beacon types (not a hard requirement for merging this pr)
2 parents 102d37f + 539bdf5 commit 3ba4a1d

File tree

134 files changed

+3695
-1563
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+3695
-1563
lines changed
 

‎Cargo.lock

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+11-6
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ members = [
6666
"lib/arbitrum-verifier",
6767
"lib/cometbls-groth16-verifier",
6868
"lib/ethereum-sync-protocol",
69+
"lib/ethereum-sync-protocol-types",
6970
"lib/evm-storage-verifier",
7071
"lib/scroll-verifier",
7172
"lib/tendermint-verifier",
@@ -192,6 +193,7 @@ members = [
192193
"cosmwasm/ucs03-zkgm-token-minter-api",
193194
"cosmwasm/cw20-base",
194195
"lib/scroll-types",
196+
"lib/fork-schedules",
195197
]
196198

197199
[workspace.package]
@@ -216,13 +218,15 @@ opt-level = 3
216218
[workspace.dependencies]
217219
aptos-move-ibc = { path = "generated/rust/aptos-move-ibc", default-features = false }
218220
aptos-verifier = { path = "lib/aptos-verifier", default-features = false }
219-
beacon-api = { path = "lib/beacon-api", default-features = false }
220-
beacon-api-types = { path = "lib/beacon-api-types", default-features = false }
221221
cometbft-rpc = { path = "lib/cometbft-rpc", default-features = false }
222222
cometbft-types = { path = "lib/cometbft-types", default-features = false }
223223
concurrent-keyring = { path = "lib/concurrent-keyring", default-features = false }
224224
cosmos-client = { path = "lib/cosmos-client", default-features = false }
225225

226+
beacon-api = { path = "lib/beacon-api", default-features = false }
227+
beacon-api-types = { path = "lib/beacon-api-types", default-features = false }
228+
fork-schedules = { path = "lib/fork-schedules", default-features = false }
229+
226230
state-lens-light-client-types = { path = "lib/state-lens-light-client-types", default-features = false }
227231

228232
arbitrum-light-client-types = { path = "lib/arbitrum-light-client-types", default-features = false }
@@ -234,10 +238,11 @@ cometbls-light-client-types = { path = "lib/cometbls-light-client-types", defaul
234238

235239
scroll-light-client-types = { path = "lib/scroll-light-client-types", default-features = false }
236240

237-
ethereum-light-client = { path = "cosmwasm/ibc-union/lightclient/ethereum", default-features = false }
238-
ethereum-light-client-types = { path = "lib/ethereum-light-client-types", default-features = false }
239-
ethereum-sync-protocol = { path = "lib/ethereum-sync-protocol", default-features = false }
240-
evm-storage-verifier = { path = "lib/evm-storage-verifier", default-features = false }
241+
ethereum-light-client = { path = "cosmwasm/ibc-union/lightclient/ethereum", default-features = false }
242+
ethereum-light-client-types = { path = "lib/ethereum-light-client-types", default-features = false }
243+
ethereum-sync-protocol = { path = "lib/ethereum-sync-protocol", default-features = false }
244+
ethereum-sync-protocol-types = { path = "lib/ethereum-sync-protocol-types", default-features = false }
245+
evm-storage-verifier = { path = "lib/evm-storage-verifier", default-features = false }
241246

242247
berachain-light-client-types = { path = "lib/berachain-light-client-types", default-features = false }
243248
scroll-api = { path = "lib/scroll-api", default-features = false }

0 commit comments

Comments
 (0)
Please sign in to comment.