Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Koios] minFeeRefScriptCostPerByte is missing in Koios backend #425

Closed
satran004 opened this issue Sep 5, 2024 · 1 comment
Closed

[Koios] minFeeRefScriptCostPerByte is missing in Koios backend #425

satran004 opened this issue Sep 5, 2024 · 1 comment
Assignees
Milestone

Comments

@satran004
Copy link
Member

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.

    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.

@satran004 satran004 added this to the 0.6.0-beta2 milestone Sep 5, 2024
@satran004
Copy link
Member Author

@edridudi I am adding these missing attributes as I am modifying a few parts of the KoiosEpochService for this PR.

#418

@satran004 satran004 self-assigned this Sep 5, 2024
edridudi pushed a commit to adabox-aio/cardano-client-lib that referenced this issue Sep 6, 2024
satran004 added a commit that referenced this issue Sep 7, 2024
[Koios] minFeeRefScriptCostPerByte is missing in Koios backend #425
@edridudi edridudi self-assigned this Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants