Skip to content

fix: allow all proposal parameters to be nullable, remove unused `non… #690

fix: allow all proposal parameters to be nullable, remove unused `non…

fix: allow all proposal parameters to be nullable, remove unused `non… #690

Triggered via push January 21, 2025 10:26
Status Failure
Total duration 43s
Artifacts

CI.yaml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
test/tests/get-schema-for-endpoint.test.ts > getSchemaForEndpoint > generateSchemas: test/tests/get-schema-for-endpoint.test.ts#L1803
Error: Snapshot `getSchemaForEndpoint > generateSchemas 1` mismatched - Expected + Received @@ -12600,10 +12600,11 @@ "parameters": { "properties": { "a0": { "description": "Pool pledge influence", "example": 0.3, + "nullable": true, "type": "number", }, "coins_per_utxo_size": { "description": "Cost per UTxO word for Alonzo. Cost per UTxO byte for Babbage and later.", "example": "34482", @@ -12652,10 +12653,11 @@ "type": "object", }, "decentralisation_param": { "description": "Percentage of blocks produced by federated nodes", "example": 0.5, + "nullable": true, "type": "number", }, "drep_activity": { "description": "DRep activity period. New in 13.2-Conway.", "format": "word64type", @@ -12719,15 +12721,17 @@ "type": "number", }, "e_max": { "description": "Epoch bound on pool retirement", "example": 18, + "nullable": true, "type": "integer", }, "epoch": { "description": "Epoch number", "example": 225, + "nullable": true, "type": "integer", }, "extra_entropy": { "description": "Seed for extra entropy", "example": null, @@ -12747,10 +12751,11 @@ "type": "string", }, "key_deposit": { "description": "The amount of a key registration deposit in Lovelaces", "example": "2000000", + "nullable": true, "type": "string", }, "max_block_ex_mem": { "description": "The maximum number of execution memory allowed to be used in a single block", "example": "50000000", @@ -12764,15 +12769,17 @@ "type": "string", }, "max_block_header_size": { "description": "Maximum block header size", "example": 1100, + "nullable": true, "type": "integer", }, "max_block_size": { "description": "Maximum block body size in Bytes", "example": 65536, + "nullable": true, "type": "integer", }, "max_collateral_inputs": { "description": "The maximum number of collateral inputs allowed in a transaction", "example": 3, @@ -12792,10 +12799,11 @@ "type": "string", }, "max_tx_size": { "description": "Maximum transaction size", "example": 16384, + "nullable": true, "type": "integer", }, "max_val_size": { "description": "The maximum Val size", "example": "5000", @@ -12803,44 +12811,45 @@ "type": "string", }, "min_fee_a": { "description": "The linear factor for the minimum fee calculation for given epoch", "example": 44, + "nullable": true, "type": "integer", }, "min_fee_b": { "description": "The constant factor for the minimum fee calculation", "example": 155381, + "nullable": true, "type": "integer", }, "min_fee_ref_script_cost_per_byte": { "nullable": true, "type": "number",
build (20.x)
Process completed with exit code 1.
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636