Skip to content

Conversation

@NikolasHaimerl
Copy link
Contributor

Previously if we started the indexer locally the finalizer that publishes the burn events would error.
In this PR we add a finalizer publishing mode to distinguish between activating, deactivation or activating the finalizer with only attestations.

@NikolasHaimerl NikolasHaimerl changed the base branch from master to stage December 19, 2025 14:27
signature,
);

if (this.config.cctpFinalizerMode === CctpFinalizerMode.Full) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mode is attesation-only here

Comment on lines 239 to 241
const enableCctpFinalizer = env.ENABLE_CCTP_FINALIZER
? env.ENABLE_CCTP_FINALIZER === "true"
: false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we good to remove this?

Comment on lines +256 to +261
} else if (env.ENABLE_CCTP_FINALIZER) {
cctpFinalizerMode =
env.ENABLE_CCTP_FINALIZER === "true"
? CctpFinalizerMode.Full
: CctpFinalizerMode.Off;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove the support for ENABLE_CCTP_FINALIZER env entirely?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not removing the support for ENABLE_CCTP_FINALIZER, the variable still exists. If ENABLE_CCTP_FINALIZER is false then the mode is going to be off if it is true and the mode is not set then the mode is set to full

@NikolasHaimerl NikolasHaimerl marked this pull request as ready for review December 19, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants