Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix openRPC spec #4748

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions massa-node/base_config/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@
"name": "DataStoreEntryOutputs"
},
"name": "get_datastore_entries",
"summary": "Get a data entry both at the latest final and active executed slots for the given addresses.",
"description": "Get a data entry both at the latest final and active executed slots for the given addresses.\n\nIf an existing final entry (final_value) is found in the active history, it will return its final value in active_value field. If it was deleted in the active history, it will return null in active_value field."
"summary": "Get datastore entries for the given key/addresses pair.",
"description": "Get datastore entries for the given key/addresses pair.\n\n Return both final and candidate value. If key does not exist, return null value."
},
{
"tags": [
Expand Down Expand Up @@ -1982,21 +1982,27 @@
"type": "object",
"properties": {
"candidate_value": {
"description": "",
"description": "The candidate datastore entry value bytes",
"oneOf": [
{
"type": "string"
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
}
]
},
"final_value": {
"description": "",
"description": "The final datastore entry value bytes",
"oneOf": [
{
"type": "string"
"type": "array",
"items": {
"type": "integer"
}
},
{
"type": "null"
Expand Down
Loading