Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Repair geth CI jobs #3945

Merged
merged 7 commits into from
Mar 24, 2021
Merged

Repair geth CI jobs #3945

merged 7 commits into from
Mar 24, 2021

Conversation

eggplantzzz
Copy link
Contributor

No description provided.

@eggplantzzz eggplantzzz changed the title Repair geth tests Repair geth CI jobs Mar 24, 2021
Copy link
Contributor

@gnidan gnidan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swiggity-sweet

@@ -4,7 +4,7 @@ pragma solidity ^0.5.0;
contract Loops {
uint public id;
constructor() public {
for(uint i = 0; i < 10000; i++){
for(uint i = 0; i < 10000000; i++){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why'd this get bumped up?

Copy link
Contributor Author

@eggplantzzz eggplantzzz Mar 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously --targetgaslimit was set to 7000000. I think the default for Geth is 8000000. So it wasn't running out of gas when I removed the option. Note that the purpose of this contract is to run out of gas and is used by a test to ensure things run out of gas correctly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants