Skip to main content
Version: Next

emulator.emulator.setcommitteestate

Home > @blaze-cardano/emulator > Emulator > setCommitteeState

Emulator.setCommitteeState() method

Replaces the current constitutional committee and resets cached hot credentials. Clearing the committee also clears the last enacted constitution per Conway §5.5.

Signature:

setCommitteeState(committee: Committee, input?: {
hotCredentials?: Record<string, CredentialCore | undefined>;
}): void;

Parameters

Parameter

Type

Description

committee

Committee

New committee configuration to apply.

{ hotCredentials, }

(not declared)

(Optional)

input

{ hotCredentials?: Record<string, CredentialCore | undefined>; }

(Optional)

Returns:

void

{void}