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

Unify json #992

Merged
merged 5 commits into from
Nov 20, 2023
Merged

Unify json #992

merged 5 commits into from
Nov 20, 2023

Conversation

cindyyan317
Copy link
Collaborator

@cindyyan317 cindyyan317 commented Nov 20, 2023

Unify transaction json for v2, the changes include:
1 tx
2 transaction_entry
3 account_tx
4 ledger
5 nfts_history (Clio only)
#962

Fix mismatches for v1 #981 #982 close_time_iso

One thing worth to mention:
Currently the ledger_index in ledger handler is a string. Rippled might fix it in 2.0. We will keep an eye on it and change accordingly. For now, let us get the current changes tested.

tx update

transaction_entry

account_tx

ledger

ledger test

nft_history
kuznetsss
kuznetsss previously approved these changes Nov 20, 2023
Copy link
Collaborator

@kuznetsss kuznetsss left a comment

Choose a reason for hiding this comment

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

LGTM

unittests/rpc/handlers/AccountTxTests.cpp Outdated Show resolved Hide resolved
@cindyyan317 cindyyan317 merged commit db08de4 into XRPLF:develop Nov 20, 2023
3 checks passed
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.

2 participants