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.
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(forge): selectively enable Etherscan trace resolving when a test in ran in a forked environment and return block number in trace on a failed test #7606
fix(forge): selectively enable Etherscan trace resolving when a test in ran in a forked environment and return block number in trace on a failed test #7606
Changes from 23 commits
68bfdb8
7251ef4
5eca07c
004dc11
46ae039
acba4c4
f3fc621
d63e4fc
0ff4a3f
c42c3a6
f9ad7c0
c5a4690
15a9bfd
7e4bb99
c473f01
7f1f3c2
efc05d3
d2ba46b
5ae23e5
4edb749
8fb7445
676b249
d48c3b3
b48a587
5404c5c
059decc
5799cc2
07dde75
07fceb5
bfca63c
85bb139
39807c9
56e1006
52e2ca5
28986ac
ad74f98
4fcbdce
a2ba880
dd2592b
715d8b2
f6310ff
00897fa
163e337
e5037d1
2b6865f
b311550
1536799
af34ff8
d42eb2e
2e5918b
c0775aa
747e17c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
what if the test uses multiple forks at different heights?
what are we using the block number for?
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.
the block number is used for #7574
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.
Since been updated, I've added a test case for tracking multiple forks. For now we collect the block heights of the multiple forks but only refer to the last one (the failure case) when we decorate the failure case with the block height