Skip to content

Conversation

@pdp2121
Copy link
Collaborator

@pdp2121 pdp2121 commented Apr 22, 2025

High Level Overview of Change

Versions 4.2.1 -> 4.2.4 of xrpl were compromised. Set the caret version to the latest rectified version 4.2.5.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Translation Updates
  • Release

@pdp2121 pdp2121 marked this pull request as draft April 22, 2025 20:33
@pdp2121 pdp2121 marked this pull request as ready for review April 22, 2025 21:21
const holder = tx.Holder
const amount = findAssetAmount(meta, tx.Asset, tx)
if (tx.Flags) {
// @ts-expect-error - MPT is not being supported for AMM transactions until https://github.com/XRPLF/rippled/pull/5285 is merged
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm surprised that you are getting these Typescript transpiler errors in this PR. They must have been observed in prior PRs too.

Did you upgrade your ts-node version?

Copy link
Collaborator Author

@pdp2121 pdp2121 Apr 22, 2025

Choose a reason for hiding this comment

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

This PR was included in 4.2.5:
XRPLF/xrpl.js#2919
Which breaks the current code type-check due to MPT formatted differently.
However, MPT is not supported for AMM transactions until XRPLF/rippled#5285 is released. So once that is merged we can make necessary changes to both xrpl.js and Explorer
For now it would not break anything, other than type-check

@pdp2121 pdp2121 merged commit 54ee274 into staging Apr 22, 2025
4 checks passed
@pdp2121 pdp2121 deleted the update-xrpl-4.2.5 branch April 22, 2025 21:42
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

Successfully merging this pull request may close these issues.

4 participants