-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75fc684
commit 46bbf0d
Showing
5 changed files
with
46 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. | ||
// See the file LICENSE for licensing terms. | ||
|
||
package validatorstest | ||
|
||
import ( | ||
"context" | ||
|
||
"github.com/ava-labs/avalanchego/ids" | ||
|
||
snowvalidators "github.com/ava-labs/avalanchego/snow/validators" | ||
vmvalidators "github.com/ava-labs/avalanchego/vms/platformvm/validators" | ||
) | ||
|
||
var Manager vmvalidators.Manager = manager{} | ||
|
||
type manager struct{} | ||
|
||
func (manager) GetMinimumHeight(context.Context) (uint64, error) { | ||
return 0, nil | ||
} | ||
|
||
func (manager) GetCurrentHeight(context.Context) (uint64, error) { | ||
return 0, nil | ||
} | ||
|
||
func (manager) GetSubnetID(context.Context, ids.ID) (ids.ID, error) { | ||
return ids.Empty, nil | ||
} | ||
|
||
func (manager) GetValidatorSet(context.Context, uint64, ids.ID) (map[ids.NodeID]*snowvalidators.GetValidatorOutput, error) { | ||
return nil, nil | ||
} | ||
|
||
func (manager) OnAcceptedBlockID(ids.ID) {} |