We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e3624 commit 0ae4650Copy full SHA for 0ae4650
1 file changed
pkg/capabilities/v2/actions/confidentialrelay/types.go
@@ -249,13 +249,10 @@ func validateOwnerAddress(s string) error {
249
return nil
250
}
251
252
-// validateExecutionID enforces 32-byte hex with no prefix.
+// validateExecutionID enforces a non-empty value.
253
func validateExecutionID(s string) error {
254
- if len(s) != 64 {
255
- return errors.New("execution_id must be 32 bytes hex-encoded (64 hex chars, no 0x prefix)")
256
- }
257
- if _, err := hex.DecodeString(s); err != nil {
258
+ if s == "" {
+ return errors.New("execution_id must be non-empty")
259
260
261
0 commit comments