Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

devkit avs call fails.

Đang mở
#231 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go, zsh
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu tại cmd/devkit/main.go, khoảng dòng 63, và tái hiện lệnh gọi avs cùng lệnh hoàn tất zsh đã được báo cáo. Theo dõi việc đăng ký lệnh avs call và đường dẫn hoàn tất được hiển thị trong stack trace của urfave/cli; hoàn tất khi tùy chọn signature được xử lý và việc nhấn tab sau --sig không còn gây panic.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

devkit avs call --signature="(uint256,string)" args='(5,"hello")'

Incorrect Usage: flag provided but not defined: -signature

NAME:
   devkit avs call - Submits tasks to the local devnet, triggers off-chain execution, and aggregates results

USAGE:
   devkit avs call [command options]

COMMANDS:
   help, h  Shows a list of commands or help for one command

OPTIONS:
   --verbose, -v        Enable verbose logging (default: false)
   --enable-telemetry   Enable telemetry collection on first run without prompting (default: false)
   --disable-telemetry  Disable telemetry collection on first run without prompting (default: false)
   --help, -h           show help
2025/07/16 14:04:58 flag provided but not defined: -signature

Also the autocomplete on zsh seems broken. When I type devkit avs call --sig and press tab, I get

devkit avs call --sigpanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x30 pc=0x10501b3b8]

goroutine 1 [running]:
flag.(*FlagSet).Args(...)
	/opt/homebrew/Cellar/go/1.24.2/libexec/src/flag/flag.go:741
github.com/urfave/cli/v2.(*Context).Args(...)
	/Users/mm/go/pkg/mod/github.com/urfave/cli/[email protected]/context.go:167
github.com/urfave/cli/v2.checkCompletions(0x1063d8a00?)
	/Users/mm/go/pkg/mod/github.com/urfave/cli/[email protected]/help.go:467 +0x28
github.com/urfave/cli/v2.(*Command).Run(0x1063d8a00, 0x140005cc840, {0x140005cafc0, 0x3, 0x3})
	/Users/mm/go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:160 +0xf0
github.com/urfave/cli/v2.(*Command).Run(0x1063da000, 0x140005cc700, {0x140005cc740, 0x4, 0x4})
	/Users/mm/go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:269 +0x828
github.com/urfave/cli/v2.(*Command).Run(0x140000fd1e0, 0x140005cc500, {0x140000322a0, 0x5, 0x6})
	/Users/mm/go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:269 +0x828
github.com/urfave/cli/v2.(*App).RunContext(0x140001ab000, {0x105ce9940, 0x140005d40a0}, {0x140000322a0, 0x6, 0x6})
	/Users/mm/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:333 +0x51c
main.main()
	/Users/mm/devkit-cli/cmd/devkit/main.go:63 +0x244
Ngôn ngữ chính
Go
Star
28
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Layr-Labs/devkit-cli

Tất cả issue của Layr-Labs/devkit-cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.