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

FIX: okchain issue #47, remove param msdLimited in config/default_params.go #6028

Closed
wants to merge 108 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
07a0a1b
Remove pending log entries + update CHANGELOG
alexanderbez Jul 18, 2019
41bdff3
Update clog & Tags (#4761)
alexanderbez Jul 23, 2019
3def608
Merge PR #4767: Sort genesis JSON before printing
alexanderbez Jul 23, 2019
19fee31
Update pending log/change log
alexanderbez Jul 23, 2019
70d13c3
Merge PR #4768: Sort JSON during migration
alexanderbez Jul 23, 2019
85f939d
Merge PR #4770: Migrate Validators v0.36
alexanderbez Jul 23, 2019
9ba9e68
Merge PR #4731: Save sim params and export app state to file
fedekunze Jul 19, 2019
9a8d517
Merge PR #4750: Allow the use of a custom genesis time in simulations
alexanderbez Jul 19, 2019
87bf29c
Merge PR #4772: Add New Events Attributes
alexanderbez Jul 24, 2019
037f3ee
Remove pending
alexanderbez Jul 24, 2019
7942d8f
Merge PR #4777: Fix Height Queries
jackzampolin Jul 26, 2019
a8c2eea
Remove pending log entries and update change log
alexanderbez Jul 26, 2019
186d780
Merge PR #4810: CheckTx msg routing
fedekunze Jul 30, 2019
04df183
Remove pending log entries and update change log
alexanderbez Jul 30, 2019
2561490
Merge PR #4823: fix DefaultUnbondingTime
fedekunze Jul 31, 2019
bdf3653
Remove pending log entries and update change log
alexanderbez Jul 31, 2019
a621441
Merge PR #4798: Deprecate remove and add permissions in ModuleAccount
colin-axner Jul 31, 2019
7a7c69f
Remove pending log entry
alexanderbez Jul 31, 2019
68c2201
Merge PR #4800: Organize store keys in app.go into a map
rigelrozanski Jul 31, 2019
ed8433b
Merge PR #4797: blacklist module accounts from receiving txs
fedekunze Jul 31, 2019
ae5e647
Merge PR #4790: Fix multisig output
fedekunze Jul 31, 2019
5d238b6
Remove pending log entries and update change log
alexanderbez Jul 31, 2019
7e965c5
Merge PR #4829: Fix a bunch of broken/incorrect links
rigelrozanski Aug 1, 2019
97663cb
Merge PR #4830: Edit link in docs should point to the master branch
fadeev Aug 1, 2019
c47f020
Merge PR #4788: Query genesis transactions
colin-axner Aug 1, 2019
f722dc4
Remove pending log entries and update change log
alexanderbez Aug 2, 2019
1cc7ec2
Merge PR #4831: Prevent community spend proposal from transferring fu…
fedekunze Aug 2, 2019
4bfcd8d
Remove pending log entries and update change log
alexanderbez Aug 2, 2019
a0c96a6
Merge PR #4757: update x/genutil to match module spec
fedekunze Jul 24, 2019
caba29e
Remove pending log entries and update change log
alexanderbez Aug 2, 2019
32f7f31
Merge PR #4836: Upgrade Tendermint and IAVL
alexanderbez Aug 2, 2019
f8fcbee
Remove pending log entries and update change log
alexanderbez Aug 2, 2019
318e7cc
CI configuration refactor (#4776)
Jul 25, 2019
78f302d
Remove pending log entries and update change log
alexanderbez Aug 2, 2019
868328b
Merge PR #4837: Cleanup node_info Endpoint
alexanderbez Aug 2, 2019
f4088fb
Remove pending log entries and update change log
alexanderbez Aug 2, 2019
9116349
Merge PR #4840: Various Updates for Gaia
alexanderbez Aug 3, 2019
9467629
Merge PR #4846: Add RegisterEvidences
alexanderbez Aug 5, 2019
efd2322
Remove pending log entries and update change log
alexanderbez Aug 5, 2019
b458b7e
Merge PR #4848: Rely on rpcserver.DefaultConfig() to inherit default …
Aug 5, 2019
c3b8c7a
v0.36.0-rc2 Cherry Picks from Master
alexanderbez Aug 5, 2019
9f12f58
Merge PR #4852: Cleanup Supply Genesis State
alexanderbez Aug 6, 2019
8e3ce57
Merge PR #4854: Crisis Module Manager Fixes
alexanderbez Aug 6, 2019
d93b04e
Merge PR #4854: Crisis Module Manager Fixes
alexanderbez Aug 6, 2019
43132de
Merge PR #4739: deleted concepts, moved tx-lifecycle
glozow Aug 7, 2019
7f341ed
Merge PR #4872: Disable "withdraw-all-rewards" command when "--genera…
alexanderbez Aug 8, 2019
51ed68a
Merge PR #4871: fix vuepress
gamarin2 Aug 8, 2019
d65bf09
Merge PR #4873: Set New EventManager in Context#CacheContext
alexanderbez Aug 8, 2019
73d8fac
Remove pending log entries and update change log
alexanderbez Aug 8, 2019
939398e
Merge PR #4784: JSON representation of event stats
fedekunze Jul 26, 2019
2a922e6
Merge PR #4791: resume simulations at a given height
fedekunze Aug 2, 2019
84f8011
Merge PR #4832: print all failed invariants only
colin-axner Aug 5, 2019
b40b303
Merge PR #4861: Simulation Fixes
alexanderbez Aug 7, 2019
f74a68e
Remove pending log entries and update change log
alexanderbez Aug 8, 2019
75225e1
Merge PR #4863: Fix doc links
colin-axner Aug 8, 2019
5742d13
v0.36.0-rc5 🍒 Picks
alexanderbez Aug 9, 2019
3261ed4
Merge PR #4884: Fix standalone execution
Aug 11, 2019
d7e8860
Merge PR #4880: Fix IAVL Store Commit
alexanderbez Aug 11, 2019
ca2238c
Merge PR #4890: Fix broken gaia links in translated READEME.md
hqueue Aug 12, 2019
4cf0850
Merge PR #4892: Update Slashing Spec (Liveness)
alexanderbez Aug 12, 2019
cacd759
Merge PR #4895: Lite Client Query Height Fix
alexanderbez Aug 13, 2019
12557e9
Merge PR #4876: Fix BroadcastTxCommit Response
alexanderbez Aug 13, 2019
f4b3455
Update changelog and remove pending log entries
alexanderbez Aug 13, 2019
118aa61
v0.36.0-rc6 🍒 Picks
alexanderbez Aug 13, 2019
6ade294
Merge PR #4902: Changelog Flow Updates
alexanderbez Aug 13, 2019
049273d
Merge PR #4905: Various Height Query Fixes
alexanderbez Aug 14, 2019
5aa93e6
Update version in changelog (v0.36.1 => v0.37.0)
alexanderbez Aug 16, 2019
a6f265c
Merge PR #4913: Fix Module Account Blacklisting in SimApp
colin-axner Aug 15, 2019
1a2bd70
Merge PR #4919: Fix GetConfirmation User Input Bug
haasted Aug 19, 2019
6b8655e
Merge PR #4924: Return Height on Query Errors + Update Account Endpoint
alexanderbez Aug 19, 2019
8d1f9bb
Merge PR #4932: Fix gov query vote cmd
alexanderbez Aug 20, 2019
87067e4
v0.37.0 rc2 cherry picks
alexanderbez Aug 21, 2019
93f61a9
Update version release date in change log
alexanderbez Aug 21, 2019
da6e9ad
Merge PR #5054: v0.37.1 RC1 Cherry Picks
alexanderbez Sep 19, 2019
d6b9b72
Merge PR #5138: v0.37.2-RC1 Cherry-Picks
alexanderbez Oct 8, 2019
6bdc684
Merge PR #5177: Bump Tendermint version to v0.32.6
alexanderbez Oct 10, 2019
3c89325
Set release date
alexanderbez Oct 10, 2019
eef3ec7
Merge PR #5262: v0.37.4-rc1 Cherry Picks
alexanderbez Oct 30, 2019
c257487
set version release date
alexanderbez Nov 4, 2019
7f433a7
Merge PR #5418: RC1 v0.37.5 Cherry Picks
alexanderbez Dec 19, 2019
09705d9
Merge PR #5482: Update Query Txs by Events Command
alexanderbez Jan 7, 2020
d1aa47f
Add release date
alexanderbez Jan 7, 2020
260ac62
v0.37.6 rc1 (#5544)
fedekunze Jan 21, 2020
2c0f61e
Merge PR #5628: v0.37.7-RC1
alexanderbez Feb 10, 2020
4ebe0aa
Set v0.37.7 release date
alexanderbez Feb 10, 2020
6a9f7a5
Prep changelog
alexanderbez Mar 10, 2020
9c64b02
Merge PR #5499: Cleanup genesis state validation + Genutil
alexanderbez Jan 9, 2020
9da1fb5
Merge PR #5497: ensure non-nil gentxs
cbarraford Feb 10, 2020
88e10b3
Merge PR #5775: Fix x/genutil ExportGenesis
alexanderbez Mar 10, 2020
9e1f37c
Merge PR #5648: Add min-height and max-height filters to TxSearch
gagbo Feb 17, 2020
779f19c
Merge PR #5655: Fix TestParseHTTPArgs
alexanderbez Feb 17, 2020
0e81432
Merge PR #5508: Fix and Return Height in x/distribution REST Handlers
alexanderbez Jan 10, 2020
b611c32
Merge PR #5777: v0.37.8-RC1 Cherry Picks
alexanderbez Mar 11, 2020
efb3fc6
Set v0.37.8 release date
alexanderbez Mar 11, 2020
469463a
Merge PR #5968: v0.37.9 RC1
alexanderbez Apr 9, 2020
c6aa66c
okchain patch
zhongqiuwood Apr 10, 2020
4c1f26f
Merge branch 'v0.37.8_patched' into HEAD
zhongqiuwood Apr 10, 2020
60c587b
Change system fee to gas fee
Apr 15, 2020
590d19f
remove minimum-gas-prices from the server/start.go
Apr 15, 2020
ef0f771
fix backend default config
Apr 16, 2020
92b44fe
Remove some meaningless comments and some default value of flags
Apr 16, 2020
cde1ea8
Merge pull request #1 from louisliu2048/xiong/gas-fee
zhongqiuwood Apr 16, 2020
a517062
Merge pull request #2 from okex/fix-backend-config
zhongqiuwood Apr 16, 2020
8291845
fix the mock test func
Apr 16, 2020
55a481a
Merge pull request #3 from okex/xiong/gas-ut
zhongqiuwood Apr 16, 2020
9171e92
set defaultMinGasPrices = "0.00000001okt"
zhongqiuwood Apr 17, 2020
be5e2ea
Merge pull request #4 from okex/defaultMinGasPrices
qzhongwood Apr 17, 2020
3fcd88c
FIX: issue #47, remove param msdLimited in config/default_params.go
RevelationOfTuring Apr 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
283 changes: 92 additions & 191 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,157 +1,108 @@
version: 2

defaults: &linux_defaults
working_directory: /go/src/github.com/cosmos/cosmos-sdk
docker:
- image: circleci/golang:1.12.5

############
#
# Configure docs deployment

docs_update: &docs_deploy
working_directory: ~/repo
docker:
- image: tendermintdev/jq_curl
environment:
AWS_REGION: us-east-1
version: 2.1

executors:
golang:
docker:
- image: circleci/golang:1.13
docs:
docker:
- image: tendermintdev/docker-website-deployment
environment:
AWS_REGION: us-east-1

commands:
make:
parameters:
description:
type: string
target:
type: string
steps:
- attach_workspace:
at: /tmp/workspace
- restore_cache:
name: "Restore source code cache"
keys:
- go-src-v1-{{ .Revision }}
- checkout
- restore_cache:
name: "Restore go modules cache"
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: << parameters.description >>
command: |
make << parameters.target >>

jobs:
setup_dependencies:
<<: *linux_defaults
executor: golang
steps:
- run: mkdir -p /tmp/workspace/bin
- run: mkdir -p /tmp/workspace/profiles
- checkout
- restore_cache:
name: "Restore go modules cache"
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: tools
command: |
make runsim tools TOOLS_DESTDIR=/tmp/workspace/bin
cp $GOPATH/bin/runsim /tmp/workspace/bin
cp $GOPATH/bin/statik /tmp/workspace/bin
name: Cache go modules
command: make go-mod-cache
- run:
name: cache go modules
command: |
make go-mod-cache
name: Build
command: make build
- run:
name: Git garbage collection
command: git gc
- save_cache:
name: "Save go modules cache"
key: go-mod-v1-{{ checksum "go.sum" }}
paths:
- "/go/pkg/mod"
- run:
name: build
command: |
make build
- persist_to_workspace:
root: /tmp/workspace
- save_cache:
name: "Save source code cache"
key: go-src-v1-{{ .Revision }}
paths:
- bin
- profiles

test_sim_app_nondeterminism:
<<: *linux_defaults
parallelism: 1
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Test individual module simulations
command: |
make test_sim_app_nondeterminism
- ".git"

test_sim_app_fast:
<<: *linux_defaults
parallelism: 1
test_sim_nondeterminism:
executor: golang
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Test full application simulation
command: |
make test_sim_app_fast
- make:
target: test_sim_nondeterminism
description: "Test individual module simulations"

test_sim_app_import_export:
<<: *linux_defaults
parallelism: 1
test_sim_import_export:
executor: golang
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Test application import/export simulation
command: |
export GO111MODULE=on
/tmp/workspace/bin/runsim -j 4 github.com/cosmos/cosmos-sdk/simapp 50 5 TestAppImportExport
- make:
target: test_sim_import_export
description: "Test application import/export simulation"

test_sim_app_simulation_after_import:
<<: *linux_defaults
parallelism: 1
test_sim_after_import:
executor: golang
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Test application import/export simulation
command: |
export GO111MODULE=on
/tmp/workspace/bin/runsim -j 4 github.com/cosmos/cosmos-sdk/simapp 50 5 TestAppSimulationAfterImport
- make:
target: test_sim_after_import
description: "Test simulation after import"

test_sim_app_multi_seed_long:
<<: *linux_defaults
parallelism: 1
test_sim_multi_seed_long:
executor: golang
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Test multi-seed application simulation long
command: |
export GO111MODULE=on
/tmp/workspace/bin/runsim -j 4 github.com/cosmos/cosmos-sdk/simapp 500 50 TestFullAppSimulation
- make:
target: test_sim_multi_seed_long
description: "Test multi-seed simulation (long)"

test_sim_app_multi_seed:
<<: *linux_defaults
parallelism: 1
test_sim_multi_seed_short:
executor: golang
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: Test multi-seed application simulation short
command: |
export GO111MODULE=on
/tmp/workspace/bin/runsim -j 4 github.com/cosmos/cosmos-sdk/simapp 50 10 TestFullAppSimulation
- make:
target: test_sim_multi_seed_short
description: "Test multi-seed simulation (short)"

test_cover:
<<: *linux_defaults
executor: golang
parallelism: 4
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- run: mkdir -p /tmp/logs
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
Expand All @@ -160,7 +111,8 @@ jobs:
command: |
export VERSION="$(git describe --tags --long | sed 's/v\(.*\)/\1/')"
export GO111MODULE=on
for pkg in $(go list ./... | grep -v '/simulation' | circleci tests split --split-by=timings); do
mkdir -p /tmp/logs /tmp/workspace/profiles
for pkg in $(go list ./... | grep -v '/simulation' | circleci tests split); do
id=$(echo "$pkg" | sed 's|[/.]|_|g')
go test -mod=readonly -timeout 8m -race -coverprofile=/tmp/workspace/profiles/$id.out -covermode=atomic -tags='ledger test_ledger_mock' "$pkg" | tee "/tmp/logs/$id-$RANDOM.log"
done
Expand All @@ -172,17 +124,14 @@ jobs:
path: /tmp/logs

upload_coverage:
<<: *linux_defaults
parallelism: 1
executor: golang
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- run:
name: gather
command: |
set -ex

echo "--> Concatenating profiles:"
ls /tmp/workspace/profiles/
echo "mode: atomic" > coverage.txt
Expand All @@ -201,53 +150,12 @@ jobs:
name: upload
command: bash <(curl -s https://codecov.io/bash) -f coverage.txt

deploy_docs:
<<: *docs_deploy
steps:
- checkout
- run:
name: Trigger website build
command: |
curl --silent \
--show-error \
-X POST \
--header "Content-Type: application/json" \
-d "{\"branch\": \"$CIRCLE_BRANCH\"}" \
"https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$WEBSITE_REPO_NAME/build?circle-token=$TENDERBOT_API_TOKEN" > response.json

RESULT=`jq -r '.status' response.json`
MESSAGE=`jq -r '.message' response.json`

if [[ ${RESULT} == "null" ]] || [[ ${RESULT} -ne "200" ]]; then
echo "CircleCI API call failed: $MESSAGE"
exit 1
else
echo "Website build started"
fi

check_statik:
<<: *linux_defaults
parallelism: 1
executor: golang
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
- run:
name: check if statik.go is up-to-date
command: |
set -ex
export PATH=/tmp/workspace/bin:$PATH

make update-swagger-docs
if [ -n "$(git status --porcelain)" ]; then
echo "swagger docs out of sync";
exit 1
else
echo "swagger docs are in sync";
fi
- make:
target: update-swagger-docs
description: "Check if statik.go is up-to-date"

workflows:
version: 2
Expand All @@ -256,41 +164,34 @@ workflows:
- check_statik:
requires:
- setup_dependencies
- deploy_docs:
filters:
branches:
only:
- master
- develop
- setup_dependencies:
# filters here are needed to enable this job also for tags
# This filter enables the job for tags
filters:
tags:
only:
- /^v.*/
- test_sim_app_nondeterminism:
requires:
- setup_dependencies
- test_sim_app_fast:
- test_sim_nondeterminism:
requires:
- setup_dependencies
- test_sim_app_import_export:
- test_sim_import_export:
requires:
- setup_dependencies
- test_sim_app_simulation_after_import:
- test_sim_after_import:
requires:
- setup_dependencies
- test_sim_app_multi_seed:
- test_sim_multi_seed_short:
requires:
- setup_dependencies
- test_sim_app_multi_seed_long:
- test_sim_multi_seed_long:
requires:
- setup_dependencies
# These filters ensure that the long sim only runs during release
filters:
branches:
ignore: /.*/
tags:
only:
- master
- develop
- /^v.*/
- test_cover:
requires:
- setup_dependencies
Expand Down
9 changes: 0 additions & 9 deletions .clog.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ v If a checkbox is n/a - please still include it but + a little note why
- [ ] Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Wrote tests
- [ ] Updated relevant documentation (`docs/`)
- [ ] Added a relevant changelog entry: `clog add [section] [stanza] [message]`
- [ ] rereviewed `Files changed` in the github PR explorer
- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
- [ ] Re-reviewed `Files changed` in the github PR explorer

______

Expand Down
4 changes: 0 additions & 4 deletions .pending/breaking/sdk/3565-Updates-to-the-governance-module

This file was deleted.

1 change: 0 additions & 1 deletion .pending/breaking/sdk/3775-unify-sender-tag

This file was deleted.

Loading