File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,11 @@ def protocol_param(self) -> ProtocolParameters:
108
108
max_collateral_inputs = result ["maxCollateralInputs" ],
109
109
coins_per_utxo_word = result ["coinsPerUtxoWord" ],
110
110
)
111
+
112
+ args = {"query" : "genesisConfig" }
113
+ result = self ._request (method , args )
114
+ param .min_utxo = result ["protocolParameters" ]["minUtxoValue" ]
115
+
111
116
self ._protocol_param = param
112
117
return self ._protocol_param
113
118
Original file line number Diff line number Diff line change 41
41
"slotLength" : 1 ,
42
42
"updateQuorum" : 2 ,
43
43
"maxLovelaceSupply" : 1000000000000 ,
44
+ "protocolParameters" : {
45
+ "minUtxoValue" : 1000000 ,
46
+ }
44
47
}
45
48
46
49
UTXOS = [
@@ -108,7 +111,7 @@ def test_protocol_param(self):
108
111
extra_entropy = "neutral" ,
109
112
protocol_major_version = 5 ,
110
113
protocol_minor_version = 0 ,
111
- min_utxo = None ,
114
+ min_utxo = 1000000 ,
112
115
min_pool_cost = 0 ,
113
116
price_mem = 0.1 ,
114
117
price_step = 0.1 ,
You can’t perform that action at this time.
0 commit comments