Staking-info command returns a ResourceExhausted error
@chasefleming đang làm issue này rồi.
Từ ngày 23/11/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Instructions
Problem
flow accounts staking-info 0xbf91cf149c03a3b3 -n mainnet
❌ Command Error: error getting total stake for node: client: rpc error: code = ResourceExhausted desc = request is rate limited
Acceptance Criteria
This command should return the staking info.
Context
The error is incorrect. The rate limits are definitely high enough to accommodate to one request per second.
The command however works against a different access node -
$ flow accounts staking-info 0xbf91cf149c03a3b3 --host="access-001.mainnet24.nodes.onflow.org:9000"
If a 50ms sleep is added here https://github.com/onflow/flow-cli/blob/master/internal/accounts/staking-info.go#L120 then the command works against the public access node (access.mainnet.nodes.onflow.org:9000) as well. This indicates that the flow cli times out prematurely and throws an incorrect error after that.
- Ngôn ngữ chính
- Go
- Star
- 209
- Fork
- 88
- 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
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của onflow/flow-cli
-
Simplify MCP contract sorting with slices helpersCó thể đã có người làm @luangucun đã nhận 46 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
`flow cadence lint` lints importsCó thể đã có người làm @holyfuchs đã nhận 185 ngày trước. Đang mởBug Improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
flow test prints unreadable outputCó thể đã có người làm @holyfuchs đã nhận 183 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
Feature
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Tất cả issue của onflow/flow-cli
Issue tương tự
-
agent-butler-finding chore
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
jordansmall/spindrift#5575 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JakeChampion/lang#12684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
goose sub-agent runs are never indexed: blame finds no session for any file a `delegate` child wroteĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
C-bug O-community X-blathers-triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cockroachdb/cockroach#176150 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 12 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
wakatime/wakatime-cli#1649 ·
Maintainer thường phản hồi trong vòng 1 ngày