-
Notifications
You must be signed in to change notification settings - Fork 324
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
[e2etest] add more test #4322
[e2etest] add more test #4322
Conversation
@@ -470,3 +471,43 @@ func SignedMigrateStake( | |||
} | |||
return selp, nil | |||
} | |||
|
|||
func SignedClaimRewardLegacy( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO, functions in this file should be auxiliary functions in test files, since the tx builder and signing is clear already.
@@ -471,6 +472,78 @@ func TestBlockEpochReward(t *testing.T) { | |||
} | |||
} | |||
|
|||
func TestClaimReward(t *testing.T) { | |||
t.Skip("") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why skip the test?
You can refer to changes in integrity_test.go
, need to register a poll protocol (so that it will return a valid candidate, whose rewardAddr you can claim reward from it)
Quality Gate failedFailed conditions |
Description
add more tests on claimreward, new staking contract indexer, transfer ownership and revise endorsement
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: