internal/ethapi/simulate.go — Version Comparison
|
v1.16.8 |
v1.17.3 |
| Branch |
etc/v1.16.8-full-node |
etc/v1.17.3-full-node |
| Delta |
+1 -1 |
+1 -1 |
ETC delta on v1.16.8 (+1 -1)
diff --git a/internal/ethapi/simulate.go b/internal/ethapi/simulate.go
index 0d1a59b37..09ad99bab 100644
--- a/internal/ethapi/simulate.go
+++ b/internal/ethapi/simulate.go
@@ -210,7 +210,7 @@ func (sim *simulator) processBlock(ctx context.Context, block *simBlock, header,
// Set header fields that depend only on parent block.
// Parent hash is needed for evm.GetHashFn to work.
header.ParentHash = parent.Hash()
- if sim.chainConfig.IsLondon(header.Number) {
+ if sim.chainConfig.IsEIP1559(header.Number) {
// In non-validation mode base fee is set to 0 if it is not overridden.
// This is because it creates an edge case in EVM where gasPrice < baseFee.
// Base fee could have been overridden.
ETC delta on v1.17.3 (+1 -1)
diff --git a/internal/ethapi/simulate.go b/internal/ethapi/simulate.go
index e3a14bf5d..7999ec031 100644
--- a/internal/ethapi/simulate.go
+++ b/internal/ethapi/simulate.go
@@ -259,7 +259,7 @@ func (sim *simulator) processBlock(ctx context.Context, block *simBlock, header,
// Set header fields that depend only on parent block.
// Parent hash is needed for evm.GetHashFn to work.
header.ParentHash = parent.Hash()
- if sim.chainConfig.IsLondon(header.Number) {
+ if sim.chainConfig.IsEIP1559(header.Number) {
// In non-validation mode base fee is set to 0 if it is not overridden.
// This is because it creates an edge case in EVM where gasPrice < baseFee.
// Base fee could have been overridden.
← Back to Version Comparison