Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Unreleased changes are in the `master` branch.

## [Unreleased]

### Fixed

- Allow all proposal parameters to be nullable, remove unused `nonce` param

## [0.1.72] - 2025-01-16

### Added
Expand Down
23 changes: 18 additions & 5 deletions blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6682,58 +6682,72 @@ components:
type: integer
example: 225
description: Epoch number
nullable: true
min_fee_a:
type: integer
example: 44
description: The linear factor for the minimum fee calculation for given epoch
nullable: true
min_fee_b:
type: integer
example: 155381
description: The constant factor for the minimum fee calculation
nullable: true
max_block_size:
type: integer
example: 65536
description: Maximum block body size in Bytes
nullable: true
max_tx_size:
type: integer
example: 16384
description: Maximum transaction size
nullable: true
max_block_header_size:
type: integer
example: 1100
description: Maximum block header size
nullable: true
key_deposit:
type: string
example: '2000000'
description: The amount of a key registration deposit in Lovelaces
nullable: true
pool_deposit:
type: string
example: '500000000'
description: The amount of a pool registration deposit in Lovelaces
nullable: true
e_max:
type: integer
example: 18
description: Epoch bound on pool retirement
nullable: true
n_opt:
type: integer
example: 150
description: Desired number of pools
nullable: true
a0:
type: number
example: 0.3
description: Pool pledge influence
nullable: true
rho:
type: number
example: 0.003
description: Monetary expansion
nullable: true
tau:
type: number
example: 0.2
description: Treasury expansion
nullable: true
decentralisation_param:
type: number
example: 0.5
description: Percentage of blocks produced by federated nodes
nullable: true
extra_entropy:
type: string
nullable: true
Expand All @@ -6743,22 +6757,22 @@ components:
type: integer
example: 2
description: Accepted protocol major version
nullable: true
protocol_minor_ver:
type: integer
example: 0
description: Accepted protocol minor version
nullable: true
min_utxo:
type: string
example: '1000000'
description: Minimum UTXO value
nullable: true
min_pool_cost:
type: string
example: '340000000'
description: Minimum stake cost forced on the pool
nonce:
type: string
example: 1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81
description: Epoch number only used once
nullable: true
cost_models:
additionalProperties: true
type: object
Expand Down Expand Up @@ -6944,7 +6958,6 @@ components:
- protocol_minor_ver
- min_utxo
- min_pool_cost
- nonce
- cost_models
- price_mem
- price_step
Expand Down
23 changes: 18 additions & 5 deletions docs/blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7010,60 +7010,74 @@ components:
type: integer
example: 225
description: Epoch number
nullable: true
min_fee_a:
type: integer
example: 44
description: >-
The linear factor for the minimum fee calculation for given
epoch
nullable: true
min_fee_b:
type: integer
example: 155381
description: The constant factor for the minimum fee calculation
nullable: true
max_block_size:
type: integer
example: 65536
description: Maximum block body size in Bytes
nullable: true
max_tx_size:
type: integer
example: 16384
description: Maximum transaction size
nullable: true
max_block_header_size:
type: integer
example: 1100
description: Maximum block header size
nullable: true
key_deposit:
type: string
example: '2000000'
description: The amount of a key registration deposit in Lovelaces
nullable: true
pool_deposit:
type: string
example: '500000000'
description: The amount of a pool registration deposit in Lovelaces
nullable: true
e_max:
type: integer
example: 18
description: Epoch bound on pool retirement
nullable: true
n_opt:
type: integer
example: 150
description: Desired number of pools
nullable: true
a0:
type: number
example: 0.3
description: Pool pledge influence
nullable: true
rho:
type: number
example: 0.003
description: Monetary expansion
nullable: true
tau:
type: number
example: 0.2
description: Treasury expansion
nullable: true
decentralisation_param:
type: number
example: 0.5
description: Percentage of blocks produced by federated nodes
nullable: true
extra_entropy:
type: string
nullable: true
Expand All @@ -7073,22 +7087,22 @@ components:
type: integer
example: 2
description: Accepted protocol major version
nullable: true
protocol_minor_ver:
type: integer
example: 0
description: Accepted protocol minor version
nullable: true
min_utxo:
type: string
example: '1000000'
description: Minimum UTXO value
nullable: true
min_pool_cost:
type: string
example: '340000000'
description: Minimum stake cost forced on the pool
nonce:
type: string
example: 1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81
description: Epoch number only used once
nullable: true
cost_models:
additionalProperties: true
type: object
Expand Down Expand Up @@ -7318,7 +7332,6 @@ components:
- protocol_minor_ver
- min_utxo
- min_pool_cost
- nonce
- cost_models
- price_mem
- price_step
Expand Down
2 changes: 1 addition & 1 deletion json-schema.json

Large diffs are not rendered by default.

60 changes: 36 additions & 24 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -9142,72 +9142,86 @@
"epoch": {
"type": "integer",
"example": 225,
"description": "Epoch number"
"description": "Epoch number",
"nullable": true
},
"min_fee_a": {
"type": "integer",
"example": 44,
"description": "The linear factor for the minimum fee calculation for given epoch"
"description": "The linear factor for the minimum fee calculation for given epoch",
"nullable": true
},
"min_fee_b": {
"type": "integer",
"example": 155381,
"description": "The constant factor for the minimum fee calculation"
"description": "The constant factor for the minimum fee calculation",
"nullable": true
},
"max_block_size": {
"type": "integer",
"example": 65536,
"description": "Maximum block body size in Bytes"
"description": "Maximum block body size in Bytes",
"nullable": true
},
"max_tx_size": {
"type": "integer",
"example": 16384,
"description": "Maximum transaction size"
"description": "Maximum transaction size",
"nullable": true
},
"max_block_header_size": {
"type": "integer",
"example": 1100,
"description": "Maximum block header size"
"description": "Maximum block header size",
"nullable": true
},
"key_deposit": {
"type": "string",
"example": "2000000",
"description": "The amount of a key registration deposit in Lovelaces"
"description": "The amount of a key registration deposit in Lovelaces",
"nullable": true
},
"pool_deposit": {
"type": "string",
"example": "500000000",
"description": "The amount of a pool registration deposit in Lovelaces"
"description": "The amount of a pool registration deposit in Lovelaces",
"nullable": true
},
"e_max": {
"type": "integer",
"example": 18,
"description": "Epoch bound on pool retirement"
"description": "Epoch bound on pool retirement",
"nullable": true
},
"n_opt": {
"type": "integer",
"example": 150,
"description": "Desired number of pools"
"description": "Desired number of pools",
"nullable": true
},
"a0": {
"type": "number",
"example": 0.3,
"description": "Pool pledge influence"
"description": "Pool pledge influence",
"nullable": true
},
"rho": {
"type": "number",
"example": 0.003,
"description": "Monetary expansion"
"description": "Monetary expansion",
"nullable": true
},
"tau": {
"type": "number",
"example": 0.2,
"description": "Treasury expansion"
"description": "Treasury expansion",
"nullable": true
},
"decentralisation_param": {
"type": "number",
"example": 0.5,
"description": "Percentage of blocks produced by federated nodes"
"description": "Percentage of blocks produced by federated nodes",
"nullable": true
},
"extra_entropy": {
"type": "string",
Expand All @@ -9218,27 +9232,26 @@
"protocol_major_ver": {
"type": "integer",
"example": 2,
"description": "Accepted protocol major version"
"description": "Accepted protocol major version",
"nullable": true
},
"protocol_minor_ver": {
"type": "integer",
"example": 0,
"description": "Accepted protocol minor version"
"description": "Accepted protocol minor version",
"nullable": true
},
"min_utxo": {
"type": "string",
"example": "1000000",
"description": "Minimum UTXO value"
"description": "Minimum UTXO value",
"nullable": true
},
"min_pool_cost": {
"type": "string",
"example": "340000000",
"description": "Minimum stake cost forced on the pool"
},
"nonce": {
"type": "string",
"example": "1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81",
"description": "Epoch number only used once"
"description": "Minimum stake cost forced on the pool",
"nullable": true
},
"cost_models": {
"additionalProperties": true,
Expand Down Expand Up @@ -9464,7 +9477,6 @@
"protocol_minor_ver",
"min_utxo",
"min_pool_cost",
"nonce",
"cost_models",
"price_mem",
"price_step",
Expand Down
Loading
Loading