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

Use feature rpc for EnableAmendment #1052

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from

Conversation

pdp2121
Copy link
Collaborator

@pdp2121 pdp2121 commented Oct 2, 2024

High Level Overview of Change

With the new feature RPC introduced in rippled 2.2.0, EnableAmendment tx Simple page can populate its data using amendment id without dependence on xrpl.org and rippled docs (which change pretty frequently):

https://github.com/ripple/explorer/blob/staging/src/containers/shared/amendmentUtils.ts

The logic would be simplified and consistency would be improved

This resolves: #1001

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 changed the title Use feature rpc for AmendmentEnable Use feature rpc for EnableAmendment Oct 2, 2024
</I18nextProvider>
</Router>,
)

beforeEach(() => {
client = new MockWsClient()
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe these have to be torn down

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.

Use feature RPC to populate EnableAmendment tx Simple page.
2 participants