Skip to content

Commit

Permalink
fix openRPC spec
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Oct 23, 2024
1 parent 07b093c commit 3f64dd1
Showing 1 changed file with 12 additions and 6 deletions.
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

0 comments on commit 3f64dd1

Please sign in to comment.