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

Revert to using deprecated Shelley.evaluateTransactionFee call #4511

Merged
merged 1 commit into from Mar 27, 2024

Conversation

Anviking
Copy link
Collaborator

@Anviking Anviking commented Mar 27, 2024

This reverts the switch made in the recent node bump out of precaution, as the behaviour of estimateMinFeeTx is different from that of evaluateTransactionFee.

Task for later to properly address this: ADP-3334 (Stop using deprecated ledger function Shelley.evaluateTransactionFee)

Issue Number

ADP-3302, follow-up to #4503

This reverts the switch made in the recent node bump out of precaution,
as the behaviour of `estimateMinFeeTx` is different from that of
`evaluateTransactionFee`
@Anviking Anviking self-assigned this Mar 27, 2024
2.050000,ErrBalanceTxUnableToCreateChange (ErrBalanceTxUnableToCreateChangeError {requiredCost = Coin 170737, shortfall = Coin 120737})
2.100000,ErrBalanceTxUnableToCreateChange (ErrBalanceTxUnableToCreateChangeError {requiredCost = Coin 170737, shortfall = Coin 70737})
2.150000,ErrBalanceTxUnableToCreateChange (ErrBalanceTxUnableToCreateChangeError {requiredCost = Coin 170737, shortfall = Coin 20737})
2.000000,ErrBalanceTxUnableToCreateChange (ErrBalanceTxUnableToCreateChangeError {requiredCost = Coin 170561, shortfall = Coin 170561})
Copy link
Collaborator Author

@Anviking Anviking Mar 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fee differences of 4 bytes in the error messages now reverted. Whether or not there were any other, less desriable changes to observable behaviour remains unclear.

@Anviking Anviking marked this pull request as ready for review March 27, 2024 11:32
@paolino paolino added the Conway PRs to prepare to the Conway bump label Mar 27, 2024
Copy link
Collaborator

@paolino paolino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Anviking Anviking enabled auto-merge March 27, 2024 12:00
@Anviking Anviking added this pull request to the merge queue Mar 27, 2024
Merged via the queue into master with commit 8851da9 Mar 27, 2024
3 checks passed
@Anviking Anviking deleted the anviking/revert-to-evaluateTransactionFee branch March 27, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Conway PRs to prepare to the Conway bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants