Skip to content

Commit

Permalink
Merge branch 'add-validator-fee-apis' into p-chain-api-alphabetize
Browse files Browse the repository at this point in the history
Signed-off-by: Meaghan FitzGerald <[email protected]>
  • Loading branch information
meaghanfitzgerald authored Jan 14, 2025
2 parents 8716b5d + ef1e51e commit 2190869
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions vms/platformvm/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -695,14 +695,14 @@ platform.getCurrentValidators({
- `delegators` is the list of delegators to this validator.
Omitted if `subnetID` is not a PoS Subnet.
Omitted unless `nodeIDs` specifies a single NodeID.
- `txID` is the delegator transaction.
- `startTime` is the Unix time when the delegator started.
- `endTime` is the Unix time when the delegator stops.
- `stakeAmount` is the amount of nAVAX this delegator staked.
- `nodeID` is the validating node’s node ID.
- `rewardOwner` is an `OutputOwners` output which includes `locktime`, `threshold` and array of
- `txID` is the delegator transaction.
- `startTime` is the Unix time when the delegator started.
- `endTime` is the Unix time when the delegator stops.
- `stakeAmount` is the amount of nAVAX this delegator staked.
- `nodeID` is the validating node’s node ID.
- `rewardOwner` is an `OutputOwners` output which includes `locktime`, `threshold` and array of
`addresses`.
- `potentialReward` is the potential reward earned from staking
- `potentialReward` is the potential reward earned from staking

**Example Call:**

Expand Down
2 changes: 1 addition & 1 deletion vms/platformvm/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ func TestGetFeeConfig(t *testing.T) {
}

func FuzzGetFeeState(f *testing.F) {
f.Fuzz(func(t *testing.T, capacity, excess, l1ValidatorExcess uint64) {
f.Fuzz(func(t *testing.T, capacity, excess uint64) {
require := require.New(t)

service, _ := defaultService(t)
Expand Down

0 comments on commit 2190869

Please sign in to comment.