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

Setting P-Chain blockchain id constant #562

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

minghinmatthewlam
Copy link

Why this should be merged

P-Chain blockchain id is bytes32(0) for all Avalanche networks, no need to pass in as a parameter

How this works

adds a constant, and removes the parameter

How this was tested

CI

How is this documented

comment

@minghinmatthewlam minghinmatthewlam requested a review from a team as a code owner September 19, 2024 15:43
@minghinmatthewlam minghinmatthewlam changed the base branch from main to staking-contract September 19, 2024 15:43
Copy link
Contributor

@geoff-vball geoff-vball left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Collaborator

@felipemadero felipemadero left a comment

Choose a reason for hiding this comment

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

you have some issues in tests/utils/staking.go

@minghinmatthewlam minghinmatthewlam merged commit ef2425c into staking-contract Sep 19, 2024
12 checks passed
@minghinmatthewlam minghinmatthewlam deleted the p-chain-id branch September 19, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants