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

Add a reference script size query #1008

Closed
dnadales opened this issue Mar 19, 2024 · 1 comment
Closed

Add a reference script size query #1008

dnadales opened this issue Mar 19, 2024 · 1 comment
Assignees

Comments

@dnadales
Copy link
Member

While integrating the latest version of cardano-ledger to cardano-api, to release node-8.10 I encountered that function estimateMinFeeTx now has a new parameter, which is the total size in bytes of the reference scripts. This function is used in cardano-api here.

We need a query that allows us to calculate the total size in bytes of reference scripts. Based on how this is done in the ledger it seems this query will take only transaction inputs, and output the reference script size by looking up the reference scrips those input transactions point to in the whole UTXO set.

@dnadales dnadales moved this to 🔖 Ready in Consensus Team Backlog Mar 19, 2024
@dnadales dnadales self-assigned this Mar 19, 2024
@dnadales dnadales moved this from 🔖 Ready to 🏗 In progress in Consensus Team Backlog Mar 19, 2024
@dnadales
Copy link
Member Author

Superseded by IntersectMBO/cardano-cli#667

@dnadales dnadales closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Consensus Team Backlog Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant