-
Notifications
You must be signed in to change notification settings - Fork 87
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
Support Withdraw 0 trick in L2 ledger #1795
Labels
💭 idea
An idea or feature request
Comments
This might be wasted work, as Observation scripts will be introduced in PlutusV4 which will entirely replace the withdraw-zero script. |
Do you know the expected timeline for this? This is quite important for the initial design of our product. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why
This started as a user request in #1757 and we also think it would be beneficial for our users to be able to re-use the code they write for L1 on L2. It seems that a lot of people are using the withdraw 0 trick to reduce the tx execution costs and simplify the code logic so we should look into this.
What
Keep track of ledger certificates on L2
How
Currently we don't do anything on L2 ledger to maintain the state of registered stake certificates and only keep track of
UTxO
statehydra/hydra-node/src/Hydra/Ledger/Cardano.hs
Line 78 in af5c305
We could probably keep track of the certificates in the
HeadState
on L2 (needs grooming) and we should be explicit in our documentation that any certificate state on L2 will not/can't be enforced on L1.The text was updated successfully, but these errors were encountered: