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

Cannot close head in Conway #1545

Closed
ch1bo opened this issue Aug 1, 2024 · 1 comment · Fixed by #1553
Closed

Cannot close head in Conway #1545

ch1bo opened this issue Aug 1, 2024 · 1 comment · Fixed by #1553
Assignees
Labels
bug 🐛 Something isn't working
Milestone

Comments

@ch1bo
Copy link
Collaborator

ch1bo commented Aug 1, 2024

Context & versions

Hydra commit 209de1d, but any version should have this issue.

Trying to close the head we had open on preview, opened in Babbage and now to close in Conway.

Steps to reproduce

  1. Open a head in Babbage
  2. Network forks into Conway
  3. Try to close the head

Actual behavior

Failed to post tx:

{"failureReason":"TxValidationErrorInCardanoMode (ShelleyTxValidationError ShelleyBasedEraConway (ApplyTxError (ConwayUtxowFailure (UtxoFailure (FeeTooSmallUTxO (Coin 1882369) (Coin 1746353))) :| [])))","tag":"FailedToPostTx"}
2024-08-01.18-45-24.mp4

Expected behavior

  • Can close the head in Conway
  • An end-to-end test to have captured this

Hypothesis

The fee calculation (also for Babbage transactions) changed in Conway era / protocol version 9 to include costs proportional to reference script size. Our internal wallet seems to not incorporate that or is slightly off.

Weirdly, this was not captured by our end-to-end test that opens a head in babbage, forks into conway and closes a head again?

Could be related to the cost model; does that change when the eras are forked in our tests?

@ch1bo ch1bo added the bug 🐛 Something isn't working label Aug 1, 2024
@ch1bo ch1bo added this to the 0.18.0 milestone Aug 1, 2024
@ch1bo
Copy link
Collaborator Author

ch1bo commented Aug 5, 2024

Reproduced by setting "minFeeRefScriptCostPerByte": 15 in our hydra-cluster/config/devnet/genesis-conway.json used for end to end tests.

@ch1bo ch1bo linked a pull request Aug 7, 2024 that will close this issue
4 tasks
@ch1bo ch1bo self-assigned this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants