Added tracing, find all addresses in trace - #140
Merged
Conversation
ocasta181
previously approved these changes
Mar 27, 2023
ocasta181
left a comment
Contributor
There was a problem hiding this comment.
ADDRESSES USED IN QUOTE: [0xDf2b71D831476DbCff5f9DCed068A0c6305A6C54]{"level":"info","path":"/heartbeat","method":"GET","status_code":200,"request_id":"QkcUZIGSm7PfTOBUO0SzELEkvUDrjCm7","host":"localhost:5555","latency":0.031917,"env":"local","message":"request"}
saito-sv
reviewed
Mar 28, 2023
| if err != nil { | ||
| return res, 0, libcommon.StringError(err) | ||
| } | ||
| fmt.Printf("\n\nADDRESSES USED IN QUOTE: %v", addresses) |
Contributor
Author
There was a problem hiding this comment.
This is being used to print the output for testing this PR. It will be removed in my next task, of implementing the tracer logic.
ocasta181
previously approved these changes
Mar 28, 2023
ocasta181
self-requested a review
March 28, 2023 19:43
saito-sv
self-requested a review
March 28, 2023 20:00
ocasta181
approved these changes
Mar 28, 2023
alcalawil
approved these changes
Mar 28, 2023
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I've added a tracer on the Avalanche Testnet (Fuji). The Quote endpoint is using it to find all addresses associated with a requested transaction.
To test:
you will need to restart docker because there is a new migration file and updated data seeding