-
Notifications
You must be signed in to change notification settings - Fork 19
Token claims and vesting runtime tests #445
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 1 commit
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
d70f977
Simple working test
dmitrylavrenov de32ad4
Use separate vesting balance
dmitrylavrenov d54d7d3
Add comments
dmitrylavrenov aac0162
Add checks to claiming test without vesting
dmitrylavrenov f90999e
Remove file added by mistake
dmitrylavrenov c8764eb
Add claim test with vesting works
dmitrylavrenov 9c11eb8
Change ethereum seed
dmitrylavrenov b4cf0e1
Implement unlock tests
dmitrylavrenov 147ebd8
Genesis config test
dmitrylavrenov b5b68f5
Add tests for built-in chainspecs
dmitrylavrenov 95795a3
Use more realistic block switching
dmitrylavrenov 963d8cb
Move partial test related constants into it
dmitrylavrenov ed142b8
Rename a helper function
dmitrylavrenov 52fa878
Add SignExt tests
dmitrylavrenov 23af4b5
Remove genesis_config test from runtime. Will be used at humanode-peer
dmitrylavrenov 96ccd0c
Change built-in chain specs test according to the review
dmitrylavrenov caae948
Add GenesisConfig parse tests
dmitrylavrenov 2acf825
Edit file doc
dmitrylavrenov eefbb7c
Add genesis claims tests
dmitrylavrenov 17738e5
Proper json input
dmitrylavrenov fa39235
Export genesis raw data into a helper function
dmitrylavrenov b1391c2
Apply little changes after rebasing
dmitrylavrenov 7ec2e9a
Use new EIP-712 utils
dmitrylavrenov 84963d0
Use inline substitution
dmitrylavrenov 249a326
Use assetion helper
dmitrylavrenov b5d3340
Draft dispatch test works
dmitrylavrenov 0845981
Use KeystoreBioauthAccountId
dmitrylavrenov 45a310f
Use dev phrase for alice seed
dmitrylavrenov bc5ceb4
Remove println
dmitrylavrenov 72a6d61
Little improvements
dmitrylavrenov 76b3f72
Remove unused deps
dmitrylavrenov b8709c8
Use Applyable to validate and apply checked extrinsic without using s…
dmitrylavrenov 43f30c2
Use assert_storage_noop
dmitrylavrenov 6794253
Use a helper function to prepare checked_extrinsic, dispatch_info, len
dmitrylavrenov 6923dd1
Add docs and rename
dmitrylavrenov 4edb479
Add dispatch claiming with vesting works test
dmitrylavrenov fdd8503
Add dispatch unlock full balance works test
dmitrylavrenov 8c6f50c
Add dispatch unlock partial balance works test
dmitrylavrenov fd8e353
Add more docs
dmitrylavrenov 1a83c5a
Add dispatch fails tests
dmitrylavrenov ac43932
Removed misadded file
dmitrylavrenov ec90265
Don't use assert_noop for apply
dmitrylavrenov cb64f0a
Add zero balance test
dmitrylavrenov 4865f1c
Add testing for all transaction sources
dmitrylavrenov 207312f
Remove redundant type def
dmitrylavrenov 9ad661d
Rename test ext usage
dmitrylavrenov 9f907c5
Remove redundant signed extensions
dmitrylavrenov 80a2fed
Improve comment for zero balance test
dmitrylavrenov 26dcb2c
Remove redundant dependency
dmitrylavrenov 21d11f2
Add pre dispatch post bad proof test
dmitrylavrenov 1ae3663
Add pre dispatch post no claim test
dmitrylavrenov 45414b8
Remove redundant dependency
dmitrylavrenov d2a6706
Export calls
dmitrylavrenov 404f4ad
Remove redundant pre_dispatch_post_claiming_fails_invalid_call test
dmitrylavrenov bbcd7a8
Remove redundant pre_dispatch_post_claiming_fails_bad_proof test
dmitrylavrenov 8a1b1eb
Rename test to dispatch_claiming_fails_when_eth_signature_invalid
dmitrylavrenov bac76ea
Rename test to dispatch_claiming_fails_when_no_claim
dmitrylavrenov 6b87365
Remove redundant deps
dmitrylavrenov 0481b1b
Simplify a helper function
dmitrylavrenov 3ed23ed
Add direct claiming invalid signature test
dmitrylavrenov 2378dc6
Add direct claiming no claim test
dmitrylavrenov bee8bb4
Direct unlock fails when no vesting test
dmitrylavrenov a0fa379
Return misdeleted dispatch_claiming_fails_when_eth_signature_invalid …
dmitrylavrenov 9254dae
Merge branch 'master' into claims-integration-tests
dmitrylavrenov 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
Add genesis claims tests
- Loading branch information
commit eefbb7cf6ca966b7cb251e60f5aba378a987d3dc
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
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.