You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -157,6 +158,31 @@ func promptOperatorInfo(config *types.OperatorConfig, p utils.Prompter) (types.O
157
158
}
158
159
config.EthRPCUrl=rpcUrl
159
160
161
+
// Prompt for allocation delay
162
+
allocationDelay, err:=p.InputInteger("Enter your allocation delay (in seconds, default is 17.5 days):", "1512000", "",
163
+
func(iint64) error {
164
+
ifi<0 {
165
+
returnerrors.New("allocation delay should be non-negative")
166
+
}
167
+
returnnil
168
+
},
169
+
)
170
+
iferr!=nil {
171
+
return types.OperatorConfig{}, err
172
+
}
173
+
174
+
// confirm again
175
+
confirm, err:=p.Confirm("Are you sure you want to set the allocation delay to "+strconv.FormatInt(allocationDelay, 10) +" seconds? This cannot be changed once set.")
0 commit comments