Skip to content

Commit

Permalink
feat: add prev_randao field
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmikhalevich committed Jun 26, 2024
1 parent 8c8c75c commit ee5ffc6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions rollup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ee5ffc6

Please sign in to comment.