baking-bad / tezos-on-tezos

Michelson VM and Tezos OS in Rust
MIT License
25 stars 1 forks source link

More precise batch timestamps #17

Closed m-kus closed 1 year ago

m-kus commented 1 year ago

Currently batch timestamps are calculated as the timestamp of the previous block on L1 plus BLOCK_TIME constant.
Depending on the underlying L1 network actual block time can differ, so we need a better mechanism for predicting the block ts.

Possible alternative: dynamically adjust block time by saving timestamp of block #(N-2)