Skip to content

Conversation

@michaelkaplan13
Copy link
Contributor

Why this should be merged

Makes the TestGetStakingSigner unit test cleaner and more robust for pre-releases.

See failure on pre-release branch here: https://github.com/ava-labs/avalanchego/actions/runs/18601415517/job/53040501469

How this works

Sets the UT network name to local.

How this was tested

UT

See success on pre-release branch here: https://github.com/ava-labs/avalanchego/actions/runs/18604733876/job/53051490526?pr=4423

Need to be documented in RELEASES.md?

No.

@Copilot Copilot AI review requested due to automatic review settings October 17, 2025 21:08
Copy link
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

Updates the TestGetStakingSigner unit test to use a non-mainnet network name (Fuji) by default to prevent test failures on pre-release branches that don't support mainnet configurations.

  • Removes the unused viperKeys field from the test struct
  • Sets the network name to Fuji instead of relying on mainnet as the default
  • Adds constants package import for network name constants

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@michaelkaplan13 michaelkaplan13 force-pushed the michaelkaplan13/fix-test-get-staking-signer branch from 1f3be0e to 44424bb Compare October 17, 2025 21:09
@michaelkaplan13 michaelkaplan13 changed the title Avoid mainnet network name in GetStakingSigner test chore: Fix TestGetStakingSigner for pre-release builds Oct 17, 2025
@StephenButtolph StephenButtolph added this pull request to the merge queue Oct 20, 2025
Merged via the queue into master with commit 41b0b4b Oct 20, 2025
34 of 35 checks passed
@StephenButtolph StephenButtolph deleted the michaelkaplan13/fix-test-get-staking-signer branch October 20, 2025 14:00
@github-project-automation github-project-automation bot moved this from In Progress 🏗️ to Done 🎉 in avalanchego Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done 🎉

Development

Successfully merging this pull request may close these issues.

3 participants