package octez-protocol-alpha-libs
Octez protocol alpha libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/State_ai_flags/AI_Activation/index.html
Module State_ai_flags.AI_Activation
Source
This module takes care of the flags force_activation
and activation_vote_enable
, and updates and check the record field ai_activation_cycle
in the state.
AI_Activation
is enabled iff either of the above flags are set to true, or the vote threshold is set to 0 (regardless of votes). "Enabled" here means that AI *can* be activated (either by vote or by force), but does not mean that AI is activated
Source
val check_activation_cycle :
Block.t ->
State.t ->
State.t Tezos_base.TzPervasives.tzresult Lwt.t
Checks the ai_activation_cycle
is set as expected. Run at the beginning, and after every block to check the activation cycle is set only once ever.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>