Hot answers tagged

2 votes

block.timestamp: will my function possibly fail?

Will my function possibly fail if last block mined is closer than 24hrs? Or does block.timestamp get updated with actual current block timestamp before executing my function, even if still not mined ...
Mila A's user avatar
  • 932
1 vote

block.timestamp: will my function possibly fail?

Due to the network distributed nature and transactions propagation time. It could be possible that block producers clock aren't synchronized with the frontend clock. It is feasible that the ...
Ismael's user avatar
  • 30.5k

Only top scored, non community-wiki answers of a minimum length are eligible