From 5e4b813eb8caa050cbffa3fa60162536801116f2 Mon Sep 17 00:00:00 2001 From: ElderMillenial Date: Mon, 2 Sep 2024 00:55:56 +0200 Subject: [PATCH] Added Conway parameters to blockfrost --- pycardano/backend/blockfrost.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pycardano/backend/blockfrost.py b/pycardano/backend/blockfrost.py index 40c9ccc7..e2c8e0b8 100644 --- a/pycardano/backend/blockfrost.py +++ b/pycardano/backend/blockfrost.py @@ -165,6 +165,13 @@ def protocol_param(self) -> ProtocolParameters: cost_models={ k: v.to_dict() for k, v in params.cost_models.to_dict().items() }, + # TODO: Update these when tiered pricing is enabled in Conway + maximum_reference_scripts_size={"bytes": 200000}, + min_fee_reference_scripts={ + "base": params.min_fee_ref_script_cost_per_byte, + "range": 200000, + "multiplier": 1, + }, ) return self._protocol_param