CardanoInfo

scalus.cardano.ledger.CardanoInfo
See theCardanoInfo companion class
object CardanoInfo

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def verify(expected: CardanoInfo, actual: CardanoInfo): Either[Seq[ParamDiff], CardanoInfo]

Verify that actual CardanoInfo matches expected. Returns Right(actual) if they match, Left with differences otherwise. Checks network, slotConfig, and all protocol parameter fields.

Verify that actual CardanoInfo matches expected. Returns Right(actual) if they match, Left with differences otherwise. Checks network, slotConfig, and all protocol parameter fields.

Attributes

Concrete fields

lazy val mainnet: CardanoInfo

Cardano info for current Cardano Mainnet

Cardano info for current Cardano Mainnet

We use protocol params from epoch 645, major protocol version 11 (van Rossem hard fork, enacted 2026-07-18 at the epoch 643/644 boundary) with the van Rossem cost models enacted on 2026-06-18 (PlutusV1/V2 extended to 332 entries, PlutusV3 to 350)

Attributes

lazy val preprod: CardanoInfo

Cardano info for Preprod testnet, epoch 303, major protocol version 11 (van Rossem hard fork)

Cardano info for Preprod testnet, epoch 303, major protocol version 11 (van Rossem hard fork)

Attributes

lazy val preview: CardanoInfo

Cardano info for Preview testnet, epoch 1370, major protocol version 11 (van Rossem hard fork)

Cardano info for Preview testnet, epoch 1370, major protocol version 11 (van Rossem hard fork)

Attributes