Skip to content

Remove data flags from remote pool policy - #2403

Merged
matYang merged 7 commits into
mainfrom
remove-flags-from-remote-pool-policy
Nov 9, 2026
Merged

matYang merged 7 commits into
mainfrom
remove-flags-from-remote-pool-policy

Conversation

@matYang

@matYang matYang commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

The flags are never used in the policy, they are now enforced to be always false because remote pool policies assume remote to be MTTP exclusively.

They were there from the beginning, then kept to be consistent with inline records after our decision that remote pool policy will assume remote to be MTTP.

@matYang
matYang marked this pull request as ready for review November 7, 2026 16:01
@matYang
matYang requested a review from a team as a code owner November 7, 2026 16:01
PolicyConfig.Policies private s_remotePoolPolicies;
mapping(bytes32 policyName => mapping(uint64 remoteChainSelector => RemotePoolRecord record)) private
s_policyRemotePoolRecords;
mapping(bytes32 policyName => mapping(uint64 remoteChainSelector => EnumerableSet.Bytes32Set remotePoolHashes))

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

remote pool policy just use hash set

0xsuryansh
0xsuryansh previously approved these changes Nov 7, 2026
0xsuryansh
0xsuryansh previously approved these changes Nov 8, 2026
@matYang
matYang requested a review from 0xsuryansh November 8, 2026 10:30
@matYang
matYang enabled auto-merge November 8, 2026 10:36
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Metric remove-flags-from-remote-pool-policy main
Coverage 69.3% 69.1%

@matYang
matYang added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit 0c3e2d3 Nov 9, 2026
42 checks passed
@matYang
matYang deleted the remove-flags-from-remote-pool-policy branch November 9, 2026 00:04
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