-
Notifications
You must be signed in to change notification settings - Fork 31
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
Staking rename -> validator manager #558
Conversation
@@ -6,8 +6,8 @@ import ( | |||
|
|||
"github.com/ava-labs/avalanchego/ids" | |||
"github.com/ava-labs/subnet-evm/accounts/abi/bind" | |||
nativetokenstakingmanager "github.com/ava-labs/teleporter/abi-bindings/go/staking/NativeTokenStakingManager" |
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.
I think similar to the contracts, this test folder should be renamed to validatormanager
, same with the pkg name
tests/utils/staking.go
Outdated
examplerewardcalculator "github.com/ava-labs/teleporter/abi-bindings/go/staking/ExampleRewardCalculator" | ||
nativetokenstakingmanager "github.com/ava-labs/teleporter/abi-bindings/go/staking/NativeTokenStakingManager" | ||
poavalidatormanager "github.com/ava-labs/teleporter/abi-bindings/go/staking/PoAValidatorManager" | ||
erc20tokenstakingmanager "github.com/ava-labs/teleporter/abi-bindings/go/validatorManager/ERC20TokenStakingManager" |
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.
this utils can also be renamed to validator manager
Honestly not sure if we have a standard here or not yet...but what do people prefer between |
https://github.com/ava-labs/awm-relayer/tree/main/signature-aggregator |
I agree I will make the change |
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 this should be merged
Closes #545
How this works
How this was tested
based off of staking-rewards so once those tests are fixed these should pass as well
How is this documented