-
Notifications
You must be signed in to change notification settings - Fork 0
test: voting contract integration test #2
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
Merged
Merged
Changes from 17 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
9f4aa1e
test: basic tests
linguists 225fa0e
test: initialization
linguists 24e097a
test: fix test failure
linguists 8cf95fa
chore: near-workspaces
linguists 9da9e84
chore: cargo lock
linguists f94126b
style: format code
linguists dead2b0
test: refactor test utils
linguists 4f965aa
test: mock staking pool contract
linguists 94ace61
test: simple vote with mock staking pool
linguists e3bf88b
style: cargo fmt
linguists ccd21be
test: view validate stake after stake
linguists ad7672b
chore: rust version 1.86.0
linguists 5860416
fix: callback function
linguists 3d39015
refactor: test
arkff202310 4702ce3
fix: build
arkff202310 b1b18c3
test: vote many
arkff202310 d8c6e4d
test: fix integration test
linguists b200c97
style: cargo fmt
linguists a921c2e
ci: install cargo near before test
linguists 0d0e31b
fix: test
arkff202310 6952f98
fix: test
arkff202310 95eafb5
fix: read file
arkff202310 5a09745
refactor: test in different epochs
arkff202310 a598ff0
chore: lint
arkff202310 dd1abfb
chore: skip test_many_votes
arkff202310 2608bdf
test: view
arkff202310 ffdab32
test: expiration
arkff202310 8b6c7cc
test: withdraw vote
arkff202310 84c5ee0
test: unstake after voting
arkff202310 3776197
style: lint
arkff202310 808ea28
test: update mock staking pool
linguists f3469c8
chore: rename feature
arkff202310 1c933d7
test: mock staking pool
arkff202310 a7e3f1f
test: mock staking pool
arkff202310 d002a57
feat: update test scritps
linguists 5aca39f
test: remove redundant sandbox
linguists 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
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -1 +1,3 @@ | ||
/target | ||
**/target | ||
tests/res | ||
res |
This file contains hidden or 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,8 @@ | ||
# This configuration file was automatically generated by Gitpod. | ||
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) | ||
# and commit this file to your remote git repository to share the goodness with others. | ||
|
||
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart | ||
|
||
tasks: | ||
- init: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/latest/download/cargo-near-installer.sh | sh |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.