@@ -32,7 +32,6 @@ use walrus_sdk::config::UploadMode;
3232use  walrus_sui:: { 
3333    client:: { ExpirySelectionPolicy ,  ReadClient ,  SuiContractClient } , 
3434    types:: { StorageNode ,  move_structs:: Authorized } , 
35-     utils:: SuiNetwork , 
3635} ; 
3736use  walrus_utils:: read_blob_from_file; 
3837
@@ -488,35 +487,6 @@ pub enum CliCommands {
488487        #[ serde( default  = "default::staking_amounts_frost" ) ]  
489488        amounts :  Vec < u64 > , 
490489    } , 
491-     /// Generates a new Sui wallet. 
492-      GenerateSuiWallet  { 
493-         /// The path where the wallet configuration will be stored. 
494-          /// 
495-          /// If not specified, the command will try to create the wallet configuration at the default 
496-          /// location `$HOME/.sui/sui_config/`. If the directory already exists, an error will be 
497-          /// returned specifying to use the Sui CLI to manage the existing wallets. 
498-          #[ arg( long) ]  
499-         path :  Option < PathBuf > , 
500-         /// Sui network for which the wallet is generated. 
501-          /// 
502-          /// Available options are `devnet`, `testnet`, `mainnet`, and `localnet`. 
503-          #[ arg( long,  default_value_t = default :: sui_network( ) ) ]  
504-         #[ serde( default  = "default::sui_network" ) ]  
505-         sui_network :  SuiNetwork , 
506-         /// Whether to attempt to get SUI tokens from the faucet. 
507-          #[ arg( long) ]  
508-         #[ serde( default ) ]  
509-         use_faucet :  bool , 
510-         /// Timeout for the faucet call. 
511-          #[ arg(  
512-             long,  
513-             value_parser = humantime:: parse_duration,  
514-             default_value = "1min" ,  
515-             requires = "use_faucet" )  
516-         ]  
517-         #[ serde( default  = "default::faucet_timeout" ) ]  
518-         faucet_timeout :  Duration , 
519-     } , 
520490    /// Exchange SUI for WAL through the configured exchange. This command is only available on 
521491     /// Testnet. 
522492     GetWal  { 
@@ -690,7 +660,6 @@ impl CliCommands {
690660            CliCommands :: ListBlobs  {  .. }  => "list-blobs" , 
691661            CliCommands :: Delete  {  .. }  => "delete" , 
692662            CliCommands :: Stake  {  .. }  => "stake" , 
693-             CliCommands :: GenerateSuiWallet  {  .. }  => "generate-sui-wallet" , 
694663            CliCommands :: GetWal  {  .. }  => "get-wal" , 
695664            CliCommands :: BurnBlobs  {  .. }  => "burn-blobs" , 
696665            CliCommands :: FundSharedBlob  {  .. }  => "fund-shared-blob" , 
@@ -1814,8 +1783,6 @@ impl EpochArg {
18141783pub ( crate )  mod  default { 
18151784    use  std:: { net:: SocketAddr ,  time:: Duration } ; 
18161785
1817-     use  walrus_sui:: utils:: SuiNetwork ; 
1818- 
18191786    pub ( crate )  fn  max_body_size_kib ( )  -> usize  { 
18201787        10_240 
18211788    } 
@@ -1883,14 +1850,6 @@ pub(crate) mod default {
18831850        500_000_000  // 0.5 SUI 
18841851    } 
18851852
1886-     pub ( crate )  fn  sui_network ( )  -> SuiNetwork  { 
1887-         SuiNetwork :: Testnet 
1888-     } 
1889- 
1890-     pub ( crate )  fn  faucet_timeout ( )  -> Duration  { 
1891-         Duration :: from_secs ( 60 ) 
1892-     } 
1893- 
18941853    pub ( crate )  fn  allowed_headers ( )  -> Vec < String >  { 
18951854        vec ! [ 
18961855            "content-type" . to_string( ) , 
0 commit comments