From 4fbc9727d8194e04400829707201baa6bc9aba65 Mon Sep 17 00:00:00 2001 From: andri lim Date: Tue, 12 Nov 2019 13:20:29 +0700 Subject: [PATCH] revert accidentally changed GasQuadDivisor --- nimbus/vm/interpreter/gas_costs.nim | 2 +- nimbus/vm/precompiles.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nimbus/vm/interpreter/gas_costs.nim b/nimbus/vm/interpreter/gas_costs.nim index 77070770c..01783b5a7 100644 --- a/nimbus/vm/interpreter/gas_costs.nim +++ b/nimbus/vm/interpreter/gas_costs.nim @@ -664,4 +664,4 @@ const # The Yellow Paper is special casing the GasQuadDivisor. # It is defined in Appendix G with the other GasFeeKind constants # instead of Appendix E for precompiled contracts - GasQuadDivisor* = 100 + GasQuadDivisor* = 20 diff --git a/nimbus/vm/precompiles.nim b/nimbus/vm/precompiles.nim index cb7285281..818c75e76 100644 --- a/nimbus/vm/precompiles.nim +++ b/nimbus/vm/precompiles.nim @@ -14,7 +14,7 @@ type paModExp, paEcAdd, paEcMul, - paPairing + paPairing, # Istanbul paBlake2bf = 9