-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: simulate
RPC to dry-run a tx (XLS-69d)
#5069
Open
mvadari
wants to merge
77
commits into
XRPLF:develop
Choose a base branch
from
mvadari:simulate
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,725
−187
Open
Changes from 69 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
7520ed4
Initial simulate implementation (correct error code, no metadata)
mvadari d151a20
fix print statement
mvadari 4ab69aa
get metadata to work
mvadari 360ed6a
clean up
mvadari 628e1e3
add basic tx_json support
mvadari 0149c65
basic tests
mvadari f555b73
autofill fee
mvadari 51cf3c6
autofill Sequence/SigningPubKey/TxnSignature
mvadari 04e76d2
better erroring
mvadari eb691dc
run tx_blob through autofilling
mvadari 26f3bb6
cleanup
mvadari 3b4b354
simplify transaction engine exceptions
mvadari 5c383a9
fix rebase issues
mvadari b6bf4c5
fix clang-format
mvadari d703935
add ledger_index
mvadari 4489fae
update API changelog
mvadari 449b2c6
better param validation
mvadari fa246bb
add tests
mvadari 3fadb8d
add command line version
mvadari 08b65d0
rename params
mvadari e217dc1
better binary/tx_blob testing
mvadari d824daf
test CLI version
mvadari cc011c0
improve codecov
mvadari db7ad89
more codecov tests
mvadari b30b3b9
fix tests
mvadari f222f44
add public key support
mvadari a3c0bb4
update field names
mvadari 6c6ecc4
fix fee issues
mvadari c8f3862
backwards compatibility
mvadari 03cae0d
add tests
mvadari 4aa5a3f
add comment
mvadari a0c472f
add test for sign-and-submit higher base fee tx
mvadari b3ec935
add NetworkID support
mvadari d712dc9
add Signers and Signer to jss
mvadari 834965b
Revert "add NetworkID support"
mvadari 96599a2
Merge branch 'develop' into simulate
mvadari 22fdaf7
handle blob errors better
mvadari c977d97
Merge branch 'develop' into simulate
mvadari 4c1f93f
remove unneeded check
mvadari 270fd02
fix tests
mvadari a3510c4
add signing failure test
mvadari 588ed7f
Merge branch 'develop' into simulate
mvadari edfb185
Merge branch 'develop' into simulate
mvadari 856c9fa
Merge branch 'develop' into simulate
mvadari 01e5683
Merge branch 'develop' into simulate
mvadari c94c137
Merge branch 'develop' into simulate
mvadari 45088d0
Merge branch 'develop' into simulate
mvadari fcea237
Merge branch 'develop' into simulate
mvadari 6108fd9
fix merge issues
mvadari abed90c
Merge branch 'develop' into simulate
mvadari 64378d5
Merge branch 'develop' into simulate
mvadari 7f947d1
Merge branch 'develop' into simulate
mvadari ea59f60
fix spacing, compile error
mvadari 92bd751
fix tests
mvadari 8357e89
Merge branch 'develop' into simulate
mvadari 6ff73ea
Merge branch 'develop' into simulate
mvadari ba499a9
Merge branch 'develop' into simulate
mvadari acaffb1
respond to comments
mvadari fcd7b1f
Merge branch 'develop' into simulate
mvadari e2f78a9
respond to comments
mvadari 6b32c33
Merge branch 'develop' into simulate
mvadari 05f1e59
Merge branch 'develop' into simulate
mvadari 1c0b3a6
respond to comments
mvadari 00f4f81
fix JSONRPC test
mvadari 661219c
add tests
mvadari 6b03bf9
rename ApplyResult -> ApplyTransactionResult and TxApplyResult -> App…
mvadari 923ddc2
add more consts
mvadari 3166396
clean up
mvadari 929fd6a
Merge branch 'develop' into simulate
mvadari f1ac9b8
fix fees
mvadari 8f65672
metadata helper function
mvadari b042607
Merge branch 'develop' into simulate
mvadari 301868d
Merge branch 'develop' into simulate
mvadari 0bbf589
more fixes
mvadari 705ba58
Merge branch 'develop' into simulate
mvadari 7a634df
fix flag due to conflict with Batch
mvadari ffa1c53
add &
mvadari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is curiously inconsistent with other entries in this file, why ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can remove it in all the other ones (or leave it in) if you like - it's unnecessary.