Skip to content

Commit

Permalink
Merge pull request #82 from starkware-libs/minor_fixes
Browse files Browse the repository at this point in the history
add required to declarev2 & add from_address to messages (#82)
  • Loading branch information
ArielElp authored Apr 24, 2023
2 parents c48e80d + e7ed7f0 commit 47727a8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,10 @@
"description": "The hash of the Cairo assembly resulting from the Sierra compilation",
"$ref": "#/components/schemas/FELT"
}
}
},
"required": [
"compiled_class_hash"
]
}
]
},
Expand Down Expand Up @@ -1972,6 +1975,10 @@
"MSG_TO_L1": {
"type": "object",
"properties": {
"from_address": {
"description": "The address of the L2 contract sending the message",
"$ref": "#/components/schemas/FELT"
},
"to_address": {
"description": "The target L1 address the message is sent to",
"$ref": "#/components/schemas/FELT"
Expand All @@ -1985,6 +1992,7 @@
}
},
"required": [
"from_address",
"to_address",
"payload"
]
Expand Down

0 comments on commit 47727a8

Please sign in to comment.