Tendermint version v0.31.1 with the patch from #3118
ABCI app: Ercoin
What happened:
If create_empty_blocks is set to false and a block is created, then time of that block is not the current time, but it refers to the time at which the previous block was created.
What you expected to happen:
Block time should be current. Past time may make transactions invalid if their validity is time-dependent. If a transaction is created with a current timestamp, then a block in which that transaction is included must not contain a lower time value in block header.
Have you tried the latest version: yes
How to reproduce it (as minimally and precisely as possible):
- Set
create_empty_blocks to false and create_empty_blocks_interval to a reasonably high value.
- Observe the time of the block header.