Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set address current network for non-mainnet since default is changed #12574

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

masih
Copy link
Member

@masih masih commented Oct 10, 2024

Related Issues

Proposed Changes

Default address.CurrentNetwork was changed in an upstream dependency. Update the build constants for non-mainnet to explicitly set it to Testnet.

Add tests to assert it.

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

Default `address.CurrentNetwork` was changed in an upstream dependency.
Update the build constants for non-mainnet to explicitly set it to
`Testnet`.

Add tests to assert it.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

@masih masih changed the title Set address current network for non-mainnet since default is changed fix: set address current network for non-mainnet since default is changed Oct 10, 2024
@masih masih added the skip/changelog This change does not require CHANGELOG.md update label Oct 10, 2024
@github-actions github-actions bot dismissed their stale review October 10, 2024 12:45

PR title now matches the required format.

@ribasushi
Copy link
Collaborator

@Stebalien
Copy link
Member

Honestly, I'd rather be explicit. Also, we desperately need some form of shared "testnet" params file.

@masih
Copy link
Member Author

masih commented Oct 10, 2024

+1 for explicit setting. But true fix would be to get rid of build params entirely, which is a battle best fought hydrated.

@masih masih merged commit a116278 into master Oct 10, 2024
86 of 89 checks passed
@masih masih deleted the masih/fix-2k-current-net branch October 10, 2024 14:48
rjan90 pushed a commit that referenced this pull request Oct 14, 2024
…12574)

Default `address.CurrentNetwork` was changed in an upstream dependency.
Update the build constants for non-mainnet to explicitly set it to
`Testnet`.

Add tests to assert it.
rjan90 pushed a commit that referenced this pull request Oct 14, 2024
…12574)

Default `address.CurrentNetwork` was changed in an upstream dependency.
Update the build constants for non-mainnet to explicitly set it to
`Testnet`.

Add tests to assert it.
rjan90 pushed a commit that referenced this pull request Oct 14, 2024
…12574)

Default `address.CurrentNetwork` was changed in an upstream dependency.
Update the build constants for non-mainnet to explicitly set it to
`Testnet`.

Add tests to assert it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog This change does not require CHANGELOG.md update
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

5 participants