Skip to content
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

Update SLOAD_GAS cost to 200 in Aztlan Gas Calculator (#23) #382

Merged
merged 9 commits into from
Feb 20, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
public class AztlanGasCalculator extends IstanbulGasCalculator {
private static final Gas BALANCE_OPERATION_GAS_COST = Gas.of(400);
private static final Gas EXTCODE_HASH_COST = Gas.of(400);
private static final Gas SLOAD_GAS = Gas.of(200);

@Override
// As per https://eips.ethereum.org/EIPS/eip-1884
public Gas getSloadOperationGasCost() {
return SLOAD_GAS;
}

@Override
public Gas getBalanceOperationGasCost() {
Expand Down