From ee5ffc6041bd2323f11351a9e78cc3b0facff9db Mon Sep 17 00:00:00 2001 From: Alex Mikhalevich <2990126+alexmikhalevich@users.noreply.github.com> Date: Thu, 23 May 2024 16:23:57 +0200 Subject: [PATCH] feat: add prev_randao field --- rollup.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/rollup.yaml b/rollup.yaml index 3e5bfa8..dab444e 100644 --- a/rollup.yaml +++ b/rollup.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: title: Cartesi Rollup HTTP API - version: 0.8.1 + version: 0.9 license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -341,11 +341,6 @@ components: example: "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266" pattern: "^0x([0-9a-fA-F]{40})$" format: address - epoch_index: - type: integer - format: uint64 - description: Deprecated. Always receives 0. - example: 0 input_index: type: integer format: uint64 @@ -361,14 +356,20 @@ components: format: uint64 description: Unix timestamp of block in milliseconds. example: 1588598533000 + prev_randao: + type: string + description: The latest RANDAO mix of the post beacon state of the previous block. + example: "0x0000000000000000000000000000000000000000000000000000000000000001" + pattern: "^0x([0-9a-fA-F]{64})$" + format: hex required: - chain_id - app_contract - msg_sender - - epoch_index - input_index - block_number - block_timestamp + - prev_randao Payload: type: string @@ -450,7 +451,7 @@ components: domain: type: integer format: uint16 - description: An arbitrary number representing the request domain. + description: An arbitrary number representing the request domain. Domains less then 0x10 are reserved. example: 16 id: type: string