Skip to content

feat: allow finality config to be set via DeployTokenPoolInput#2100

Merged
chris-de-leon-cll merged 3 commits into
mainfrom
feat/set-finality-config-using-deploy-pool-input
May 28, 2026
Merged

feat: allow finality config to be set via DeployTokenPoolInput#2100
chris-de-leon-cll merged 3 commits into
mainfrom
feat/set-finality-config-using-deploy-pool-input

Conversation

@chris-de-leon-cll
Copy link
Copy Markdown
Collaborator

@chris-de-leon-cll chris-de-leon-cll commented May 28, 2026

At the moment the token pool finality config can only be set via TokenExpansion using ConfigureTokensForTransfersInput.AllowedFinalityConfig

This is a bit awkward to use because if there are multiple connections being made to the same pool, then you can technically specify different finality configs for the same pool in the YAML, which can lead to confusion about what will actually make it on-chain

Instead, this PR makes AllowedFinalityConfig a property of DeployTokenPoolInput so that there is less ambiguity about what the finality config will be in these situations

This comment was marked as resolved.

This comment was marked as resolved.

This comment was marked as outdated.

This comment was marked as resolved.

This comment was marked as resolved.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread deployment/tokens/configure_tokens_for_transfers.go
@github-actions
Copy link
Copy Markdown

Metric feat/set-finality-config-using-deploy-pool-input main
Coverage 69.9% 69.7%

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@chris-de-leon-cll chris-de-leon-cll added this pull request to the merge queue May 28, 2026
Merged via the queue into main with commit 0db35f0 May 28, 2026
60 checks passed
@chris-de-leon-cll chris-de-leon-cll deleted the feat/set-finality-config-using-deploy-pool-input branch May 28, 2026 23:27
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.

4 participants