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

Pool deposit is given for every pool registration operation, including those which are only updates #493

Open
pbjc opened this issue Aug 2, 2022 · 0 comments

Comments

@pbjc
Copy link

pbjc commented Aug 2, 2022

The pool deposit is only paid when a pool is first registered. After that, further pool registration operations may occur which update the pool parameters. However, currently this is not accounted for and the pool deposit amount is added unconditionally to the metadata of every pool registration operation.

For example, this transaction contains a pool registration: https://cardanoscan.io/transaction/500928bd8bd5e24dcc13610b1e7308dace1caec1bedc481c2d2834c14978b780?tab=poolcertificates

It is clear from the inputs and outputs that no deposit has been paid. Looking at all of the pool registration for this pool, we can see that the deposit is only paid the first time.

Summary:

  • Expected: For a given pool ID, the pool deposit is present in the metadata if only if it is the first pool registration for that pool ID.
  • Actual: The pool deposit is given for every pool registration.
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

1 participant