docs(specs): update OpenRPC specifications from Daikon [Bot] - #1613
Conversation
🔗 Preview Mode
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7350749be5
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
The Daikon spec update PR added a `$ref` for `arc_getCertificate` in `src/openrpc/chains/arc/arc.yaml` but no matching entry exists in `_components/custom/methods.yaml`. This commit adds the definition so the reference resolves and the method renders under Arc's API reference.
Sourced from:
- circlefin/arc-node `crates/types/src/commit_http.rs` (`HttpCommitCertificate` struct: `height` u64, `round` i64, `block_hash` ValueId, `signatures` Vec<{address, base64 signature}>)
- circlefin/arc-node `crates/evm-node/src/rpc/openapi/openapi.yaml` (error mapping: -32004 Certificate not found, -32602 Invalid params)
- Live call against arc-testnet.g.alchemy.com/v2 confirming the wire shape and error semantics.
The height parameter accepts both a decimal integer (`7`) and a hex-encoded quantity string (`"0x7"`), matching the Arc v0.7.x CHANGELOG note.
Refs Daikon PR #1613
Requested-by: @dslovinsky
|
Added the missing
The example response value was captured from that same live call so the Try It default matches the actual server behavior. Not adding |
🤖 Automated update of OpenRPC specs
This PR updates JSON-RPC method references based on the latest Daikon config. See this comprehensive guide
1 chain created or updated:
This workflow run:
Something look wrong? If you are an Alchemy employee please open a PR with changes in Daikon. If you are a member of the public please reach out to our team.