Module Octez_smart_rollup_node.Protocol_pluginsSource

Sourcetype proto_plugin = (module Protocol_plugin_sig.S)
Sourceval register : proto_plugin -> unit

Register a protocol plugin for a specific protocol to be used by the rollup node.

Sourceval registered_protocols : unit -> Tezos_base.TzPervasives.Protocol_hash.t list

Returns the list of registered protocols.

Using the correct protocol plugin

Return the protocol plugin for a given protocol (or an error if not supported).

Sourceval proto_plugin_for_level : _ Node_context.t -> int32 -> proto_plugin Tezos_base.TzPervasives.tzresult Lwt.t

Return the protocol plugin for a given level (or an error if not supported).

Return the protocol plugin for a given block (or an error if not supported).

Returns the plugin corresponding to the last protocol seen by the rollup node.