Closed satran004 closed 4 weeks ago
The minFeeRefScriptCostPerByte is missing in the Koios backend response. This will cause issues with tier reference script fee calculations.
minFeeRefScriptCostPerByte
Additionally, we need to map the 'PlutusV3' cost model and the following fields in the KoiosEpochService response.
KoiosEpochService
private BigDecimal dvtPPNetworkGroup; private BigDecimal dvtPPEconomicGroup; private BigDecimal dvtPPTechnicalGroup; private BigDecimal dvtPPGovGroup; private BigDecimal dvtTreasuryWithdrawal; private Integer committeeMinSize; private Integer committeeMaxTermLength; private Integer govActionLifetime; private BigInteger govActionDeposit; private BigInteger drepDeposit; private Integer drepActivity; private BigDecimal minFeeRefScriptCostPerByte;
Workaround for now: You can manually set minFeeRefScriptCostPerByte=15 after retrieving the protocol parameters from the backend provider.
We will fix this in the next release.
@edridudi I am adding these missing attributes as I am modifying a few parts of the KoiosEpochService for this PR.
https://github.com/bloxbean/cardano-client-lib/pull/418
The
minFeeRefScriptCostPerByte
is missing in the Koios backend response. This will cause issues with tier reference script fee calculations.Additionally, we need to map the 'PlutusV3' cost model and the following fields in the
KoiosEpochService
response.Workaround for now: You can manually set minFeeRefScriptCostPerByte=15 after retrieving the protocol parameters from the backend provider.
We will fix this in the next release.