-
Notifications
You must be signed in to change notification settings - Fork 24
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 contract E2E test setup #492
Merged
Merged
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9d1f56d
native staking manager abi
cam-schultz 088810d
grab commit from go mod
cam-schultz 17ae18f
update deps
cam-schultz 8174c18
Merge branch 'staking-contract' into e2e-test
cam-schultz 460a943
erc20 staking manager abi
cam-schultz 93cd255
wip
cam-schultz 3d21241
passing
cam-schultz 2436a31
remove dbg code
cam-schultz 5d4e337
update deps
cam-schultz cf8b064
codec id to message formats
cam-schultz ba68b8e
update staking messages to latest spec
cam-schultz 79104a6
delist validator working
cam-schultz 935cd86
scope listing and delisting steps
cam-schultz aa975ac
add back in churn tracker
cam-schultz 4c33139
refactor utils
cam-schultz 5c04d20
staking contract test utils
cam-schultz 662b0d2
enable all tests
cam-schultz ea47515
lint
cam-schultz 63b3884
erc20 staking e2e
cam-schultz b4baff1
format
cam-schultz 50e878b
correct comment
cam-schultz 726f16c
Update tests/flows/erc20_token_staking.go
cam-schultz 2ee977e
Update tests/flows/erc20_token_staking.go
cam-schultz d50cf3f
rename helpers
cam-schultz e1eabfd
set weight via contract helper
cam-schultz 5f5b74a
remove utils suffix from fname
cam-schultz 9a485b9
format comment
cam-schultz a315e0f
(temp) warp validation helpers
cam-schultz 46a8d9e
Merge branch 'e2e-test' of github.com:ava-labs/teleporter into e2e-test
cam-schultz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,198 changes: 1,198 additions & 0 deletions
1,198
abi-bindings/go/staking/ERC20TokenStakingManager/ERC20TokenStakingManager.go
Large diffs are not rendered by default.
Oops, something went wrong.
1,198 changes: 1,198 additions & 0 deletions
1,198
abi-bindings/go/staking/NativeTokenStakingManager/NativeTokenStakingManager.go
Large diffs are not rendered by default.
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
can have a constant for the length
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.
Since these packing/unpacking methods are likely to be refactored/optimized significantly in the future, I'm going to hold off on making further changes for now. Also pointing out that there were no length constants in the previous implementation.