Skip to content

fix(rpc): Fix bugs and performance of getnetworksolps & getnetworkhashps RPCs #11606

fix(rpc): Fix bugs and performance of getnetworksolps & getnetworkhashps RPCs

fix(rpc): Fix bugs and performance of getnetworksolps & getnetworkhashps RPCs #11606

Triggered via pull request October 10, 2023 04:38
@teor2345teor2345
synchronize #7647
fix-hashps
Status Success
Total duration 18s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
8s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '6464798921', status: 422, response: { url: 'https://api.github.com/repos/ZcashFoundation/zebra/releases/119746161', status: 422, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-length': '195', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Tue, 10 Oct 2023 04:38:45 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '2A40:2A0E:CC3E1F:1A4C373:6524D554', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '983', 'x-ratelimit-reset': '1696916318', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '17', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/ZcashFoundation/zebra/releases/119746161', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## [Zebra 1.3.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.3.0) - *TODO*: date\\n\\nThis release *TODO*: a summary of the significant user-visible changes in the release\\n\\n### Breaking Changes\\n\\nThis release has the following breaking changes:\\n- *TODO*: Check the `Removed` and `Deprecated` sections for any breaking changes\\n- *TODO*: Add a short description of the user impact of each breaking change, and any actions users need to take\\n\\n- Test `z_getsubtreesbyindex` using a lightwalletd gRPC request ([#7521](https://github.com/ZcashFoundation/zebra/pull/7521))\\n- Add snapshot tests for the `z_getsubtreesbyindex` RPC ([#7514](https://github.com/ZcashFoundation/zebra/pull/7514))\\n- Fix typo ([#7516](https://github.com/ZcashFoundation/zebra/pull/7516))\\n- change(state): Check database format is valid every 5 minutes, to catch format errors in new block code ([#7602](https://github.com/ZcashFoundation/zebra/pull/7602))\\n- change(state): Check database format is valid on shutdown, to catch format errors in new block code ([#7606](https://github.com/ZcashFoundation/zebra/pull/7606))\\n- change(state): Put chain data into an inner struct ([#7608](https://github.com/ZcashFoundation/zebra/pull/7608))\\n- change(state): Refactor docs for `z_getsubtreesbyindex` RPC state requests ([#7462](https://github.com/ZcashFoundation/zebra/pull/7462))\\n- change(state): Restrict access to types for database writes ([#7440](https://github.com/ZcashFoundation/zebra/pull/7440))\\n- fix(chain): Return errors instead of panicking in methods for `Height`s ([#7591](https://github.com/ZcashFoundation/zebra/pull/7591))\\n- fix(note-commitment-trees): Populate subtrees ([#7636](https://github.com/ZcashFoundation/zebra/pull/7636))\\n- fix(rpc): Match
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '6464798921', name: 'pull_request', payload: { action: 'synchronize', after: 'f9442da25212c8a608f2143d1b21416fabc52471', before: 'c9609d8625485473dd5b17ee07075928dfd32a4e', number: 7647, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/26173891?v=4', description: '', events_url: 'https://api.github.com/orgs/ZcashFoundation/events', hooks_url: 'https://api.github.com/orgs/ZcashFoundation/hooks', id: 26173891, issues_url: 'https://api.github.com/orgs/ZcashFoundation/issues', login: 'ZcashFoundation', members_url: 'https://api.github.com/orgs/ZcashFoundation/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjI2MTczODkx', public_members_url: 'https://api.github.com/orgs/ZcashFoundation/public_members{/member}', repos_url: 'https://api.github.com/orgs/ZcashFoundation/repos', url: 'https://api.github.com/orgs/ZcashFoundation' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/ZcashFoundation/zebra/issues/7647/comments' }, commits: { href: 'https://api.github.com/repos/ZcashFoundation/zebra/pulls/7647/commits' }, html: { href: 'https://github.com/ZcashFoundation/zebra/pull/7647' }, issue: { href: 'https://api.github.com/repos/ZcashFoundation/zebra/issues/7647' }, review_comment: { href: 'https://api.github.com/repos/ZcashFoundation/zebra/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/ZcashFoundation/zebra/pulls/7647/comments' }, self: { href: 'https://api.github.com/repos/ZcashFoundation/zebra/pulls/7647' }, statuses: { href: 'https://api.github.com/repos/ZcashFoundation/zebra/statuses/f9442da25212c8a608f2143d1b21416fabc52471' } }, active_lock_reason: null, additions: 385, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/8951843?v=4', events_url: 'https://api.github.com/users/teor2345/events{/privacy}', followers_url: 'https://api.github.com/users/teor2345/followers', following_url: 'https://api.github.com/users/teor2345/following{/other_user}', gists_url: 'https://api.github.com/users/teor2345/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/teor2345', id: 8951843, login: 'teor2345', node_id: 'MDQ6VXNlcjg5NTE4NDM=', organizations_url: 'https://api.github.com/users/teor2345/orgs', received_events_url: 'https://api.github.com/users/teor2345/received_events', repos_url: 'https://api.github.com/users/teor2345/repos', site_admin: false, starred_url: 'https://api.github.com/users/teor2345/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/teor2345/subscriptions', type: 'User', url: 'https://api.github.com/users/teor2345' }, assignees: [ { avatar_url: 'https://avatars.githubusercontent.com/u/8951843?v=4', events_url: 'https://api.github.com/users/teor2345/events{/privacy}', followers_url: 'https://api.github.com/users/teor2345/followers', following_url: 'https://api.github.com/users/teor2345/following{/other_user}', gists_url: 'https://api.github.com/users/teor2345/gists{/gist_i