@@ -53,11 +53,6 @@ def sync_node():
53
53
help = TEXTS ['init' ]['archive' ],
54
54
is_flag = True
55
55
)
56
- @click .option (
57
- '--catchup' ,
58
- help = TEXTS ['init' ]['catchup' ],
59
- is_flag = True
60
- )
61
56
@click .option (
62
57
'--historic-state' ,
63
58
help = TEXTS ['init' ]['historic_state' ],
@@ -71,13 +66,13 @@ def sync_node():
71
66
help = 'Ip of the node from to download snapshot from'
72
67
)
73
68
@streamed_cmd
74
- def _init_sync (env_file , archive , catchup , historic_state , snapshot_from : Optional [str ]):
69
+ def _init_sync (env_file , archive , historic_state , snapshot_from : Optional [str ]):
75
70
if historic_state and not archive :
76
71
error_exit (
77
72
'--historic-state can be used only is combination with --archive' ,
78
73
exit_code = CLIExitCodes .FAILURE
79
74
)
80
- init_sync (env_file , archive , catchup , historic_state , snapshot_from )
75
+ init_sync (env_file , archive , historic_state , snapshot_from )
81
76
82
77
83
78
@sync_node .command ('update' , help = 'Update sync node from .env file' )
@@ -106,11 +101,6 @@ def _update_sync(env_file, unsafe_ok):
106
101
help = TEXTS ['init' ]['archive' ],
107
102
is_flag = True
108
103
)
109
- @click .option (
110
- '--catchup' ,
111
- help = TEXTS ['init' ]['catchup' ],
112
- is_flag = True
113
- )
114
104
@click .option (
115
105
'--historic-state' ,
116
106
help = TEXTS ['init' ]['historic_state' ],
@@ -126,13 +116,11 @@ def _update_sync(env_file, unsafe_ok):
126
116
@streamed_cmd
127
117
def _repair_sync (
128
118
archive : str ,
129
- catchup : str ,
130
119
historic_state : str ,
131
120
snapshot_from : Optional [str ] = None
132
121
) -> None :
133
122
repair_sync (
134
123
archive = archive ,
135
- catchup = catchup ,
136
124
historic_state = historic_state ,
137
125
snapshot_from = snapshot_from
138
126
)
0 commit comments