Skip to content

test: add missing pack for grant role timelock#39

Merged
ajaskolski merged 2 commits intomainfrom
tests-add-grant-role-missing-pack
May 6, 2026
Merged

test: add missing pack for grant role timelock#39
ajaskolski merged 2 commits intomainfrom
tests-add-grant-role-missing-pack

Conversation

@ajaskolski
Copy link
Copy Markdown
Contributor

No description provided.

@ajaskolski ajaskolski marked this pull request as ready for review May 6, 2026 09:09
@ajaskolski ajaskolski requested a review from a team as a code owner May 6, 2026 09:09
Copilot AI review requested due to automatic review settings May 6, 2026 09:09
@ajaskolski ajaskolski changed the title tests: add missing pack for grant role timelock test: Add missing pack for grant role timelock May 6, 2026
@ajaskolski ajaskolski changed the title test: Add missing pack for grant role timelock test: add missing pack for grant role timelock May 6, 2026
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

Adds a new Go test suite to validate GrantRoleTimelockSolana.VerifyPreconditions, ensuring expected failures for misconfigured environments/configs and confirming valid configurations pass.

Changes:

  • Introduces table-driven tests for successful precondition validation (including MCMS: nil).
  • Adds negative test cases for: no Solana chains, missing chain selector in environment, invalid MCMS action, and incomplete MCMS/timelock address fixtures.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread mcms/changesets/grant_role_timelock_test.go
@ajaskolski ajaskolski enabled auto-merge (squash) May 6, 2026 13:00
@ajaskolski ajaskolski merged commit 14d730e into main May 6, 2026
12 checks passed
@ajaskolski ajaskolski deleted the tests-add-grant-role-missing-pack branch May 6, 2026 13:02
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