-
Notifications
You must be signed in to change notification settings - Fork 490
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
algod: Migrate internal uses of v1 algod API to v2 #4684
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
86fd07e
Delete kmd API affinity
algochoi c7f6cea
Delete affinity in algod
algochoi d3277ed
Migrate GetPendingTransactions
algochoi 9dca911
Fix response field
algochoi 5c846ba
Migrate Assets and Accounts to V2
algochoi ff0fb61
Fix linting and change pending transactions by addr
algochoi ad0606a
Change pending transaction and params/fee for v2 api
algochoi 0e6c5ff
Change v1 block to v2/bookkeeping block response
algochoi 60c2cba
Merge branch 'master' into v2-goal-migration
algochoi 55f1662
Revise transaction parsing in tests
algochoi af4ae19
Fix asset call to include creatables
algochoi 2ec5fc2
Fix asset field derefs
algochoi 292b4f6
Try reverting goal waitfortxn
algochoi ca0eda3
Fix transaction encoding again
algochoi 96bf392
Check for empty asset unit names to pass expect tests
algochoi 08f14f1
Convert v1 endpoints to similar v2 endpoints and change tests
algochoi f69c7d3
Fix note test that was changed for debugging
algochoi 5b0e7a7
Change pingpong tests to V2 api
algochoi 1acdf98
Merge branch 'master' into v2-goal-migration
algochoi 478dbec
Fix algoh mockClient tests
algochoi 3125af5
Change send transaction API from v1 to v2
algochoi 5c36058
Fix some tests regarding send transaction
algochoi 8b212cb
Minor changes on comments and change expect test cases so error messa…
algochoi 8c14f9c
Delete extraneous comments in client test
algochoi 6e5f5bf
Rename PendingTransactionsStruct to PendingTransactions (#25)
michaeldiamant 5ccca0d
use stateproof v2 api on tests
066d463
Delete extraneous function makeTestBlock inline
algochoi 37a0812
Add blockstats test to check for event details (#26)
algochoi 6af0e28
Merge branch 'v2-goal-migration' of https://github.com/algochoi/go-al…
algochoi 99f2d2c
Change mockclient in algoh to make block with round number
algochoi bfe1a2f
Update cmd/algoh/blockstats.go
algochoi e1e2a4b
Add more error formatting for REST responses (#27)
jasonpaulos bb260ab
Change error messages on tests after client side parsing
algochoi bb5170f
Merge branch 'v2-goal-migration' of https://github.com/algochoi/go-al…
algochoi d21a9d6
Change http response message in SPFullPool test
algochoi 5b680e3
Revise error message check
algochoi 52f3b85
Delete old error message
algochoi 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
Fix asset call to include creatables
- Loading branch information
commit af4ae1950a1092e17a313dd2c74d33daed972785
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
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.
I think
client.AccountAssetInformation(*asset.Params.Reserve, assetID)
could be used instead ofclient.AccountInformationV2
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.
Followed up offline: It looks like we'd want to change the behavior so that
goal asset info
fails if the reserve doesn’t hold the asset - this will likely involve changing a test (test/scripts/e2e_subs/asset-misc.sh
) to address this in a follow-up PR.