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, { hotCredentials, }?: {
hotCredentials?: Record<string, CredentialCore | undefined>;
}): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
committee |
Committee |
New committee configuration to apply. |
|
{ hotCredentials, } |
{ hotCredentials?: Record<string, CredentialCore | undefined>; } |
(Optional) |
Returns:
void
{void}