Skip to content

Commit

Permalink
fix: shorthand and add descriptions (#123)
Browse files Browse the repository at this point in the history
* fix: shorthand and add descriptions
* ci: bump cdk-erigon
  • Loading branch information
vcastellm authored Oct 11, 2024
1 parent 72ed025 commit ef6849a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions crates/cdk/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ pub(crate) struct Cli {

#[derive(Subcommand)]
pub(crate) enum Commands {
/// Run the cdk-node with the provided configuration
Node {
/// The path to the configuration file.
/// The path to the configuration file
#[arg(
long,
short,
short = 'C',
value_hint = ValueHint::FilePath,
env = "CDK_CONFIG_PATH"
)]
Expand All @@ -32,11 +33,12 @@ pub(crate) enum Commands {
)]
components: Option<String>,
},
/// Run cdk-erigon node with the provided default configuration
Erigon {
/// The path to the configuration file.
/// The path to the configuration file
#[arg(
long,
short,
short = 'C',
value_hint = ValueHint::FilePath,
env = "CDK_CONFIG_PATH"
)]
Expand All @@ -51,5 +53,6 @@ pub(crate) enum Commands {
)]
chain: PathBuf,
},
/// Output the corresponding versions of the components
Versions,
}
2 changes: 1 addition & 1 deletion test/combinations/fork11-rollup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ args:
zkevm_contracts_image: leovct/zkevm-contracts:v7.0.0-rc.2-fork.11
zkevm_prover_image: hermeznetwork/zkevm-prover:v7.0.0-RC31-fork.11
zkevm_node_image: hermeznetwork/zkevm-node:v0.7.0-fork11-RC1
cdk_erigon_node_image: hermeznetwork/cdk-erigon:0948e33
cdk_erigon_node_image: hermeznetwork/cdk-erigon:57cda33
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
additional_services:
Expand Down
2 changes: 1 addition & 1 deletion test/combinations/fork12-cdk-validium.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
args:
zkevm_contracts_image: leovct/zkevm-contracts:v8.0.0-rc.3-fork.12
zkevm_prover_image: hermeznetwork/zkevm-prover:v8.0.0-RC10-fork.12
cdk_erigon_node_image: hermeznetwork/cdk-erigon:0948e33
cdk_erigon_node_image: hermeznetwork/cdk-erigon:57cda33
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
additional_services:
Expand Down
2 changes: 1 addition & 1 deletion test/combinations/fork12-rollup.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
args:
zkevm_contracts_image: leovct/zkevm-contracts:v8.0.0-rc.3-fork.12
zkevm_prover_image: hermeznetwork/zkevm-prover:v8.0.0-RC10-fork.12
cdk_erigon_node_image: hermeznetwork/cdk-erigon:0948e33
cdk_erigon_node_image: hermeznetwork/cdk-erigon:57cda33
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
additional_services:
Expand Down
2 changes: 1 addition & 1 deletion test/combinations/fork9-cdk-validium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ args:
zkevm_prover_image: hermeznetwork/zkevm-prover:v6.0.4
zkevm_node_image: hermeznetwork/zkevm-node:v0.7.3-RC1
cdk_validium_node_image: 0xpolygon/cdk-validium-node:0.7.0-cdk
cdk_erigon_node_image: hermeznetwork/cdk-erigon:0948e33
cdk_erigon_node_image: hermeznetwork/cdk-erigon:57cda33
cdk_node_image: cdk
zkevm_use_gas_token_contract: true
additional_services:
Expand Down

0 comments on commit ef6849a

Please sign in to comment.