@@ -38,7 +38,7 @@ pub struct Cli {
3838}
3939
4040/// Common parameters for key management in a subcommand.
41- // TODO: for adapters , this should not be required and for query submit it should
41+ // TODO: for docks , this should not be required and for query submit it should
4242// be. Unfortunately, clap doesn't support this easily so it is handled manually
4343// within the command execution for submit.
4444#[ derive( clap:: Args , Debug ) ]
@@ -62,9 +62,9 @@ pub struct KeyManagementParams {
6262 pub submit_private_key : Option < std:: path:: PathBuf > ,
6363}
6464
65- /// Common parameters for the adapter subcommands.
65+ /// Common parameters for the subcommands that run docks .
6666#[ derive( clap:: Args , Debug ) ]
67- pub struct AdapterServerParams {
67+ pub struct DockParams {
6868 /// The address on which the shim should listen for incoming connections from the rollup nodes.
6969 #[ clap( short, long, default_value = "127.0.0.1" , group = "listen" ) ]
7070 pub address : String ,
@@ -79,7 +79,7 @@ pub struct AdapterServerParams {
7979 ) ]
8080 pub port : u16 ,
8181
82- // TODO: e.g. prometheus stuff, enabled adapters , etc.
82+ // TODO: e.g. prometheus stuff, enabled docks , etc.
8383}
8484
8585/// Common parameters for that commands that connect to the sugondat-node.
@@ -90,8 +90,8 @@ pub struct SugondatRpcParams {
9090 pub node_url : String ,
9191}
9292
93- impl AdapterServerParams {
94- /// Whether the sovereign adapter should be enabled.
93+ impl DockParams {
94+ /// Whether the sovereign dock should be enabled.
9595 pub fn enable_sovereign ( & self ) -> bool {
9696 true
9797 }
@@ -110,7 +110,7 @@ pub enum Commands {
110110pub mod serve {
111111 //! CLI definition for the `serve` subcommand.
112112
113- use super :: { AdapterServerParams , KeyManagementParams , SugondatRpcParams } ;
113+ use super :: { DockParams , KeyManagementParams , SugondatRpcParams } ;
114114 use clap:: Args ;
115115
116116 #[ derive( Debug , Args ) ]
@@ -119,7 +119,7 @@ pub mod serve {
119119 pub rpc : SugondatRpcParams ,
120120
121121 #[ clap( flatten) ]
122- pub adapter : AdapterServerParams ,
122+ pub dock : DockParams ,
123123
124124 #[ clap( flatten) ]
125125 pub key_management : KeyManagementParams ,
0 commit comments