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

PoA e2e test #497

Merged
merged 10 commits into from
Aug 21, 2024
Merged

PoA e2e test #497

merged 10 commits into from
Aug 21, 2024

Conversation

minghinmatthewlam
Copy link

Why this should be merged

Adding a basic PoA e2e test flow

How this works

Deploys a PoAValidatorManager with an owner
Makes sure only owner can call
Initiates and completes a validator registration
Initiates and completes a validator end

Refactors test flows to match contract structure

Copy link
Contributor

@cam-schultz cam-schultz left a comment

Choose a reason for hiding this comment

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

Some minor nits, otherwise LGTM

@@ -22,7 +25,7 @@ const (
upgradabilityLabel = "upgradability"
utilsLabel = "utils"
validatorSetSigLabel = "ValidatorSetSig"
stakingManagerLabel = "StakingManager"
stakingManagerLabel = "ValidatorManager"
Copy link
Contributor

Choose a reason for hiding this comment

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

We can update this var to validatorManagerLabel

tests/flows/staking/poa_validator_manager.go Outdated Show resolved Hide resolved
tests/flows/staking/poa_validator_manager.go Outdated Show resolved Hide resolved
tests/flows/staking/poa_validator_manager.go Outdated Show resolved Hide resolved
@minghinmatthewlam minghinmatthewlam self-assigned this Aug 21, 2024
minghinmatthewlam and others added 4 commits August 21, 2024 14:33
Co-authored-by: cam-schultz <[email protected]>
Signed-off-by: minghinmatthewlam <[email protected]>
Co-authored-by: cam-schultz <[email protected]>
Signed-off-by: minghinmatthewlam <[email protected]>
Co-authored-by: cam-schultz <[email protected]>
Signed-off-by: minghinmatthewlam <[email protected]>
@minghinmatthewlam minghinmatthewlam merged commit 92aa0e6 into staking-contract Aug 21, 2024
9 of 10 checks passed
@minghinmatthewlam minghinmatthewlam deleted the poa-e2e-test branch August 21, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants