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 way to specify that Pool deposit is not required for add_change_if_needed() #608

Open
0xtrossets opened this issue Apr 7, 2023 · 1 comment

Comments

@0xtrossets
Copy link

Transactions with pool-registration certificate is assumed to require the pool-deposit (500ADA) when doing the automatic change calculation.

Pool deposit is only required if the pool is not yet registered. Pool registration certificates are still required to update pool-reg information like metadata, relays, etc, when the pool is already registered, and a deposit is not required.

We need a way to specify that the pool-reg cert is an update for an existing pool-reg, so that add_change_if_needed() can calculate the change properly.

@lisicky
Copy link
Contributor

lisicky commented Apr 10, 2023

Hi @0xtrossets ! Thanks for your issue. Until we add the function for that case you can try to set zero pool_deposit in TransactionBuilderConfig as workaround.

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