-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Celestia bridge bootstrap components (#93)
* Use Celestia and Cosmos binaries from sov-rollup-starter * Add skeleton for celestia crates * Add new wallet config for Celestia, which requires a bridge wallet * Add CanExecCommandWithEnvs * Implement InitCelestiaBridge with exec_command_with_envs * Modify CanStartChainFullNode to return list of child processes * Call InitCosmosChainData from InitCelestiaChainData * Draft more celestia bootstrap implementation * Implement CelestiaAppBootstrap context to wrap around CosmosBootstrap * Move Cosmos integration tests into tests subdirectory * Add test for Celestia bootstrap * Remove CanRaiseError bound from HasRuntime * Draft init bridge implementation * Add CanCreateDir trait * Rename HasTestDir to HasChainStoreDir * Put chain test data into sub-directory of main test * Use milliseconds as test dir postfix * Add CanCopyFile * Finish initial bridge bootstrap implementation * Bridge still needs TrustedHash to run properly * Implement Comet block querier * Call query_block from init_celestia_bridge * Celestia bridge bootstrapping is now working * Add CanInitBridgeData component * Rename CanInitCelestiaBridge to CanBootstrapBridge * Delegate to CelestiaBootstrapComponents in CelestiaBootstrap context * Add HasChainHomeDir trait for ChainDriver context * Pass ChainDriver to bootstrap_bridge * Use RPC and GRPC ports from ChainDriver * Use CanImportBridgeKey to copy bridge key file * Move bridge configuration to UpdateCelestiaBridgeConfig * Configure RPC and GRPC ports in bridge config file * Use abstract Block type * Add genesis height getter * Fix clippy * Add bridge starter component * Use CelestiaBridgeConfig type * Add BridgeDriver type * Separate out bridge bootstrap from chain bootstrap * Add celestia-integration-tests to CI * Fix clippy * Fix CI config * Fix CI config
- Loading branch information
1 parent
7e38bff
commit 4430d34
Showing
110 changed files
with
1,814 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[package] | ||
name = "hermes-celestia-integration-tests" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
keywords = { workspace = true } | ||
repository = { workspace = true } | ||
authors = { workspace = true } | ||
rust-version = { workspace = true } | ||
readme = "README.md" | ||
description = """ | ||
Implementation of an IBC Relayer in Rust, as a library | ||
""" | ||
|
||
[dependencies] | ||
cgp-core = { workspace = true } | ||
cgp-error-eyre = { workspace = true } | ||
ibc-proto = { workspace = true } | ||
ibc-relayer = { workspace = true } | ||
ibc-relayer-types = { workspace = true } | ||
hermes-relayer-runtime = { workspace = true } | ||
hermes-relayer-components = { workspace = true } | ||
hermes-relayer-components-extra = { workspace = true } | ||
hermes-cosmos-relayer = { workspace = true } | ||
hermes-test-components = { workspace = true } | ||
hermes-ibc-test-suite = { workspace = true } | ||
hermes-async-runtime-components = { workspace = true } | ||
hermes-cosmos-client-components = { workspace = true } | ||
hermes-cosmos-test-components = { workspace = true } | ||
hermes-cosmos-integration-tests = { workspace = true } | ||
hermes-celestia-test-components = { workspace = true } | ||
tendermint-rpc = { workspace = true } | ||
|
||
eyre = { workspace = true } | ||
tokio = { workspace = true } | ||
toml = { workspace = true } | ||
serde_json = { workspace = true } | ||
prost = { workspace = true } | ||
|
||
sha2 = { version = "0.10.8" } | ||
stable-eyre = { version = "0.2.2" } | ||
subtle-encoding = { version = "0.5.1" } |
Oops, something went wrong.