Module Evm_node_lib_dev.Constants

Etherlink networks supported by this EVM node.

Name of Etherlink network.

type kernel =
  1. | Mainnet_beta
  2. | Mainnet_gamma
  3. | Bifrost
  4. | Calypso
  5. | Calypso2
  6. | Dionysus
  7. | DionysusR1
  8. | Ebisu
  9. | Farfadet
  10. | FarfadetR1
  11. | FarfadetR2
  12. | Latest
val kernel_from_string : string -> kernel option
val kernel_is_older : kernel -> than:kernel -> bool

kernel_is_older a ~than:b returns true if kernel a is strictly older than kernel b.

val kernel_is_newer : kernel -> than:kernel -> bool

kernel_is_newer a ~than:b returns true if kernel a is strictly newer than kernel b.

val root_hash_from_released_kernel : kernel -> Tezos_base.TzPervasives.Hex.t option

Returns the root hash of a released kernel, or None for Latest whose root hash changes over time.