Skip to content
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

R4R: Simulation framework, including staking simulation #1620

Merged
merged 45 commits into from
Jul 19, 2018
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
6a119f6
Work-in-progress staking invariants
cwgoes Jul 10, 2018
a332293
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 10, 2018
940cfa9
Invariants & random Msgs in progress
cwgoes Jul 11, 2018
a3d8b38
Add several simulated Msgs
cwgoes Jul 11, 2018
27f157a
CacheContext()
cwgoes Jul 11, 2018
5e3cd77
Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 11, 2018
0572a27
Changes from merge
cwgoes Jul 11, 2018
53138fb
'make test_sim', simulation folder
cwgoes Jul 11, 2018
88364c8
TestMsgBeginUnbonding
cwgoes Jul 11, 2018
4623923
Add 'test_sim' to CircleCI
cwgoes Jul 11, 2018
f9f326c
Move files
cwgoes Jul 11, 2018
50d384a
Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 12, 2018
601251d
Update Gopkg.lock & Makefile
cwgoes Jul 12, 2018
bb217b9
Actual Gaia app
cwgoes Jul 12, 2018
d8ec44e
Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 12, 2018
9bd09e6
Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 12, 2018
c272db0
Delegation bug fixed!
cwgoes Jul 12, 2018
405bb53
Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 14, 2018
a6dd96d
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 17, 2018
a4e7216
Fix gocyclo check
cwgoes Jul 17, 2018
9ad3d62
Updates from merge
cwgoes Jul 17, 2018
a49f9d6
Restructure
cwgoes Jul 17, 2018
cbcd0f0
Restructure contd.
cwgoes Jul 17, 2018
d171dbf
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 17, 2018
cbc9d7d
Genesis state
cwgoes Jul 17, 2018
af206bd
Update stake simulation
cwgoes Jul 17, 2018
eda7eb4
Gaia simulation needs internal field access
cwgoes Jul 17, 2018
253b82f
Makefile changes
cwgoes Jul 17, 2018
5918ab1
Restructure (probably) complete
cwgoes Jul 17, 2018
c61b1aa
Event stats
cwgoes Jul 17, 2018
6c61577
Misc, environment variables
cwgoes Jul 18, 2018
966f26d
Remove print, quickfix
cwgoes Jul 18, 2018
bf83385
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 18, 2018
ad410c1
Linter fixes
cwgoes Jul 18, 2018
8bd54f0
Refactor bank tests
cwgoes Jul 18, 2018
05ceff5
Deterministic 'make test_sim' on CircleCI; bank test fix
cwgoes Jul 18, 2018
cea2be6
Fix loose tokens invariant
cwgoes Jul 18, 2018
dc14eef
Clarify 'nop', linter fix
cwgoes Jul 18, 2018
dcbd13c
Environment variables
cwgoes Jul 18, 2018
2c0cd73
Remove old randomized pool testing, redundant
cwgoes Jul 18, 2018
16d4e07
Update changelog
cwgoes Jul 18, 2018
423d0c4
Merge remote-tracking branch 'origin/develop' into cwgoes/a-random-wa…
rigelrozanski Jul 19, 2018
1e5a799
Environment variables => flags
cwgoes Jul 19, 2018
ee29e10
RandomKey, RandomAmount
cwgoes Jul 19, 2018
7e88a50
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
cwgoes Jul 19, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ jobs:
export PATH="$GOBIN:$PATH"
make test_cli

test_sim:
<<: *defaults
parallelism: 1
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
key: v1-pkg-cache
- restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: Test simulation
command: |
export PATH="$GOBIN:$PATH"
make test_sim

test_cover:
<<: *defaults
parallelism: 4
Expand Down Expand Up @@ -144,6 +160,9 @@ workflows:
- test_cli:
requires:
- setup_dependencies
- test_sim:
requires:
- setup_dependencies
- test_cover:
requires:
- setup_dependencies
Expand Down
Loading