package tezt-tezos
module Time = Tezos_base.Time.System
Run Tezos client with commands related to `demo_protocol`.
val activate :
?endpoint:Client.endpoint ->
?fitness:int ->
?key:string ->
?timestamp:Client.timestamp ->
Client.t ->
unit Lwt.t
Run octez-client activate protocol
with `demo_protocol`.
If timestamp
is not specified explicitely, it is set to Ago
timestamp_delay
, where timestamp_delay
is 365 days, which allows to bake plenty of blocks before their timestamp reach the present (at which point one would have to wait between each block so that peers do not reject them for being in the future).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>