Packages

object WrongEVMBytecode extends ErrorCode

Annotations
@Explanation("""Canton validates on startup that the configured address on the blockchain contains the EVM bytecode of the
| sequencer smart contract in the latest block. This error indicates that no bytecode or the wrong bytecode was found.
| This is a serious error and means that the sequencer can't sequence events.
|"""
)
@Resolution("""This frequently error occurs when updating the Canton system without updating the sequencer
|contract deployed on the blockchain. Validate that the sequencer contract corresponding to the current Canton release
| is deployed in the latest blockchain blocks on the configured address (see also `ethereum.deploy_sequencer_contract`).
| Another common reason for this error is that the wrong contract address was configured.
|"""
)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WrongEVMBytecode
  2. ErrorCode
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Error(foundBytecode: String)(implicit loggingContext: ErrorLoggingContext) extends Impl with Product with Serializable

Value Members

  1. def asGrpcError(err: BaseError)(implicit loggingContext: ContextualizedErrorLogger): StatusRuntimeException
    Definition Classes
    ErrorCode
  2. def asGrpcStatus(err: BaseError)(implicit loggingContext: ContextualizedErrorLogger): Status
    Definition Classes
    ErrorCode
  3. val category: ErrorCategory
    Definition Classes
    ErrorCode
  4. implicit val code: ErrorCode
    Definition Classes
    ErrorCode
  5. def codeStr(correlationId: Option[String]): String
    Definition Classes
    ErrorCode
  6. val id: String
    Definition Classes
    ErrorCode
  7. def logLevel: Level
    Definition Classes
    ErrorCode
  8. implicit val parent: ErrorClass
    Definition Classes
    ErrorCode
  9. def toMsg(cause: => String, correlationId: Option[String]): String
    Definition Classes
    ErrorCode