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

fix: always specify api_version: 1 #835

Merged
merged 4 commits into from
Sep 25, 2023

Conversation

ckniffen
Copy link
Collaborator

High Level Overview of Change

clio defaults the api_version to 2 and rippledto1`.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

`clio` default the `api_version` to `2` and rippled` to `1`.
src/rippled/lib/rippled.js Outdated Show resolved Hide resolved
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
@ckniffen ckniffen merged commit aade03b into staging Sep 25, 2023
4 checks passed
@ckniffen ckniffen deleted the bugfix/always-specify-api-version-1 branch September 25, 2023 20:05
ckniffen added a commit that referenced this pull request Sep 28, 2023
Viewing old transactions was broken by #835. When sending
`api_version: 1` to clio it will currently forward to a rippled node
which is not full history. That will be addresses soon but until then
wont send now that for every request.

Explicitly send api_version to get `account_info` because we only want
the result from the most recently validated ledger.
ckniffen added a commit that referenced this pull request Sep 28, 2023
Viewing old transactions was broken by #835. When sending `api_version:
1` to clio it will currently forward to a rippled node which is not full
history. That will be addresses soon but until then wont send now that
for every request.

Explicitly send `api_version` when getting `account_info` because we
only want the result from the most recently validated ledger.
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.

None yet

3 participants