Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Enable eip1283Mode only in EVMSchedule for Constantinople
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Sep 17, 2019
1 parent 45c1767 commit 988c8cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libethcore/EVMSchedule.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct EVMSchedule
bool staticCallDepthLimit() const { return !eip150Mode; }
bool emptinessIsNonexistence() const { return eip158Mode; }
bool zeroValueTransferChargesNewAccountGas() const { return !eip158Mode; }
bool sstoreNetGasMetering() const { return eip1283Mode; }
bool sstoreNetGasMetering() const { return eip1283Mode || eip2200Mode; }
bool sstoreThrowsIfGasBelowCallStipend() const { return eip2200Mode; }
};

Expand Down Expand Up @@ -158,7 +158,6 @@ static const EVMSchedule IstanbulSchedule = [] {
schedule.extcodehashGas = 700;
schedule.haveChainID = true;
schedule.haveSelfbalance = true;
schedule.eip1283Mode = true;
schedule.eip2200Mode = true;
schedule.sstoreUnchangedGas = 800;
return schedule;
Expand Down

0 comments on commit 988c8cf

Please sign in to comment.