diff --git a/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java b/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java index c332f9ece61..8f3294ad4f8 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java @@ -868,7 +868,7 @@ public EVMExecutor number(final long number) { * SimpleBlockValues} */ public EVMExecutor timestamp(final long timestamp) { - ((SimpleBlockValues) this.blockValues).setTimeStamp(timestamp); + ((SimpleBlockValues) this.blockValues).setTimestamp(timestamp); return this; } diff --git a/evm/src/main/java/org/hyperledger/besu/evm/fluent/SimpleBlockValues.java b/evm/src/main/java/org/hyperledger/besu/evm/fluent/SimpleBlockValues.java index 4b0c1c42e45..6ec60d295a6 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/fluent/SimpleBlockValues.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/fluent/SimpleBlockValues.java @@ -30,7 +30,7 @@ public class SimpleBlockValues implements BlockValues { Bytes32 mixHasOrPrevRandao = Bytes32.ZERO; Optional baseFee = Optional.empty(); long number = 1; - long timeStamp = 1; + long timestamp = 1; long gasLimit = Long.MAX_VALUE; @Override @@ -68,12 +68,13 @@ public void setNumber(final long number) { this.number = number; } - public long getTimeStamp() { - return timeStamp; + @Override + public long getTimestamp() { + return timestamp; } - public void setTimeStamp(final long timeStamp) { - this.timeStamp = timeStamp; + public void setTimestamp(final long timeStamp) { + this.timestamp = timeStamp; } @Override