-
Notifications
You must be signed in to change notification settings - Fork 663
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
[WIP] Update upstream tests for Istanbul #1852
Changes from all commits
fe74e9b
c023144
d1b657e
b3eb09c
b413fa9
4b96de7
0d0c58c
cbaeba7
cd3e634
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,8 +43,8 @@ | |
) | ||
|
||
FIRST_TX_GAS_LIMIT = 367724 | ||
SECOND_TX_GAS_LIMIT = 62050 | ||
THIRD_TX_GAS_LIMIT = 104789 | ||
SECOND_TX_GAS_LIMIT = 63042 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Had to increase gas price( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Istanbul reprices some opcodes so I'm relatively sure that this change in the tx gas limit is legit. 👍 |
||
THIRD_TX_GAS_LIMIT = 105781 | ||
FORTH_TX_GAS_LIMIT = 21272 | ||
FIFTH_TX_GAS_LIMIT = 21272 | ||
|
||
|
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 looks suspicious, the previous name
ByzantiumToConstantinopleAt5
was correctly reflected with the selected VMsByzantiumVM
andConstantinopleVM
. But now the transition seems to go fromByzantium
toConstantinopleFix
whereConstantinopleFix
is theethereum/test
way to refer toPetersburgVM
.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.
Thanks for catching this. I need to verify this again. But this was something that I had changed just to get the tests passing. Since the tests didn't complain, I didn't forget to verify this change. If the tests have in fact been renamed then I need to change line 167 to
PetersburgVM
👍 . I will verify this and make sure that I haven't missed any case(since tests didn't raise ValueError, I assume I didn't).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've grepped
fixtures
, and there are no longer instances of stringByzantiumToConstantinopleAt5
there.The upstream test checks for main-net transition from
ByzantiumVM
toPetersburgVM
, it seems. These two files (just one generated test file):