Skip to content

Commit a536e32

Browse files
authored
Merge branch 'develop' into jack/add-offline-pubkeys
2 parents 9994ff7 + 74aa984 commit a536e32

25 files changed

+373
-372
lines changed

.circleci/config.yml

+39-55
Original file line numberDiff line numberDiff line change
@@ -39,30 +39,28 @@ docs_update: &docs_deploy
3939
environment:
4040
AWS_REGION: us-east-1
4141

42-
4342
############
4443

45-
jobs:
44+
deps: &dependencies
45+
run:
46+
name: dependencies
47+
command: |
48+
export PATH="$GOBIN:$PATH"
49+
make get_vendor_deps
4650
51+
jobs:
4752
setup_dependencies:
4853
<<: *linux_defaults
4954
steps:
5055
- run: mkdir -p /tmp/workspace/bin
5156
- run: mkdir -p /tmp/workspace/profiles
5257
- checkout
53-
- restore_cache:
54-
keys:
55-
- v1-pkg-cache
5658
- run:
5759
name: tools
5860
command: |
5961
export PATH="$GOBIN:$PATH"
6062
make tools
61-
- run:
62-
name: dependencies
63-
command: |
64-
export PATH="$GOBIN:$PATH"
65-
make get_vendor_deps
63+
- *dependencies
6664
- run:
6765
name: binaries
6866
command: |
@@ -82,11 +80,7 @@ jobs:
8280
- attach_workspace:
8381
at: /tmp/workspace
8482
- checkout
85-
- run:
86-
name: dependencies
87-
command: |
88-
export PATH="$GOBIN:$PATH"
89-
make get_vendor_deps
83+
- *dependencies
9084
- run:
9185
name: Get metalinter
9286
command: |
@@ -105,11 +99,7 @@ jobs:
10599
- attach_workspace:
106100
at: /tmp/workspace
107101
- checkout
108-
- run:
109-
name: dependencies
110-
command: |
111-
export PATH="$GOBIN:$PATH"
112-
make get_vendor_deps
102+
- *dependencies
113103
- run:
114104
name: Test cli
115105
command: |
@@ -124,11 +114,7 @@ jobs:
124114
- attach_workspace:
125115
at: /tmp/workspace
126116
- checkout
127-
- run:
128-
name: dependencies
129-
command: |
130-
export PATH="$GOBIN:$PATH"
131-
make get_vendor_deps
117+
- *dependencies
132118
- run:
133119
name: Test individual module simulations
134120
command: |
@@ -142,11 +128,7 @@ jobs:
142128
- attach_workspace:
143129
at: /tmp/workspace
144130
- checkout
145-
- run:
146-
name: dependencies
147-
command: |
148-
export PATH="$GOBIN:$PATH"
149-
make get_vendor_deps
131+
- *dependencies
150132
- run:
151133
name: Test full Gaia simulation
152134
command: |
@@ -160,11 +142,7 @@ jobs:
160142
- attach_workspace:
161143
at: /tmp/workspace
162144
- checkout
163-
- run:
164-
name: dependencies
165-
command: |
166-
export PATH="$GOBIN:$PATH"
167-
make get_vendor_deps
145+
- *dependencies
168146
- run:
169147
name: Test Gaia import/export simulation
170148
command: |
@@ -178,34 +156,40 @@ jobs:
178156
- attach_workspace:
179157
at: /tmp/workspace
180158
- checkout
181-
- run:
182-
name: dependencies
183-
command: |
184-
export PATH="$GOBIN:$PATH"
185-
make get_vendor_deps
159+
- *dependencies
186160
- run:
187161
name: Test Gaia import/export simulation
188162
command: |
189163
export PATH="$GOBIN:$PATH"
190164
make test_sim_gaia_simulation_after_import
191165
192-
test_sim_gaia_multi_seed:
166+
test_sim_gaia_multi_seed_long:
193167
<<: *linux_defaults
194168
parallelism: 1
195169
steps:
196170
- attach_workspace:
197171
at: /tmp/workspace
198172
- checkout
173+
- *dependencies
199174
- run:
200-
name: dependencies
175+
name: Test multi-seed Gaia simulation long
201176
command: |
202177
export PATH="$GOBIN:$PATH"
203-
make get_vendor_deps
178+
scripts/multisim.sh 800 50 TestFullGaiaSimulation
179+
180+
test_sim_gaia_multi_seed:
181+
<<: *linux_defaults
182+
parallelism: 1
183+
steps:
184+
- attach_workspace:
185+
at: /tmp/workspace
186+
- checkout
187+
- *dependencies
204188
- run:
205-
name: Test multi-seed Gaia simulation
189+
name: Test multi-seed Gaia simulation short
206190
command: |
207191
export PATH="$GOBIN:$PATH"
208-
scripts/multisim.sh 25 TestFullGaiaSimulation
192+
scripts/multisim.sh 50 10 TestFullGaiaSimulation
209193
210194
test_cover:
211195
<<: *linux_defaults
@@ -214,11 +198,7 @@ jobs:
214198
- attach_workspace:
215199
at: /tmp/workspace
216200
- checkout
217-
- run:
218-
name: dependencies
219-
command: |
220-
export PATH="$GOBIN:$PATH"
221-
make get_vendor_deps
201+
- *dependencies
222202
- run: mkdir -p /tmp/logs
223203
- run:
224204
name: Run tests
@@ -244,11 +224,7 @@ jobs:
244224
- attach_workspace:
245225
at: /tmp/workspace
246226
- checkout
247-
- run:
248-
name: dependencies
249-
command: |
250-
export PATH="$GOBIN:$PATH"
251-
make get_vendor_deps
227+
- *dependencies
252228
- run:
253229
name: gather
254230
command: |
@@ -368,6 +344,14 @@ workflows:
368344
- test_sim_gaia_multi_seed:
369345
requires:
370346
- setup_dependencies
347+
- test_sim_gaia_multi_seed_long:
348+
requires:
349+
- setup_dependencies
350+
filters:
351+
branches:
352+
only:
353+
- master
354+
- develop
371355
- test_cover:
372356
requires:
373357
- setup_dependencies

PENDING.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ BREAKING CHANGES
2222

2323
* SDK
2424
* [stake] \#2513 Validator power type from Dec -> Int
25+
* [stake] \#3233 key and value now contain duplicate fields to simplify code
2526
* [\#3064](https://github.com/cosmos/cosmos-sdk/issues/3064) Sanitize `sdk.Coin` denom. Coins denoms are now case insensitive, i.e. 100fooToken equals to 100FOOTOKEN.
2627

2728
* Tendermint
@@ -56,11 +57,13 @@ IMPROVEMENTS
5657

5758
* Gaia REST API
5859
* [\#3176](https://github.com/cosmos/cosmos-sdk/issues/3176) Validate tx/sign endpoint POST body.
60+
* [\#2948](https://github.com/cosmos/cosmos-sdk/issues/2948) Swagger UI now makes requests to light client node
5961

6062
* Gaia CLI (`gaiacli`)
6163
* [\#3224](https://github.com/cosmos/cosmos-sdk/pull/3224) Support adding offline public keys to the keystore
6264

6365
* Gaia
66+
* [\#2186](https://github.com/cosmos/cosmos-sdk/issues/2186) Add Address Interface
6467
* [\#3158](https://github.com/cosmos/cosmos-sdk/pull/3158) Validate slashing genesis
6568
* [\#3172](https://github.com/cosmos/cosmos-sdk/pull/3172) Support minimum fees
6669
in a local testnet.
@@ -75,8 +78,8 @@ IMPROVEMENTS
7578
* Tendermint
7679

7780
* CI
78-
* \#2498 Added macos CI job to CircleCI
79-
81+
* \#2498 Added macos CI job to CircleCI
82+
* [#142](https://github.com/tendermint/devops/issues/142) Increased the number of blocks to be tested during multi-sim
8083

8184
BUG FIXES
8285

@@ -90,6 +93,7 @@ BUG FIXES
9093
* \#3181 Correctly reset total accum update height and jailed-validator bond height / unbonding height on export-for-zero-height
9194
* [\#3172](https://github.com/cosmos/cosmos-sdk/pull/3172) Fix parsing `gaiad.toml`
9295
when it already exists.
96+
* \#3223 Fix unset governance proposal queues when importing state from old chain
9397
* [#3187](https://github.com/cosmos/cosmos-sdk/issues/3187) Fix `gaiad export`
9498
by resetting each validator's slashing period.
9599

client/lcd/swagger-ui/swagger.yaml

+14-13
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ tags:
1818
- name: ICS23
1919
description: Slashing module APIs
2020
- name: ICS24
21-
description: Fee distribution module APIs
21+
description: WIP - Fee distribution module APIs
2222
- name: version
2323
description: Query app version
2424
schemes:
2525
- https
26+
host: fabo.interblock.io:1317
2627
securityDefinitions:
2728
kms:
2829
type: basic
@@ -796,20 +797,20 @@ paths:
796797
/stake/redelegations:
797798
parameters:
798799
- in: query
799-
name: delegator
800-
description: Bech32 AccAddress of Delegator
801-
required: false
802-
type: string
800+
name: delegator
801+
description: Bech32 AccAddress of Delegator
802+
required: false
803+
type: string
803804
- in: query
804-
name: validator_from
805-
description: Bech32 ValAddress of SrcValidator
806-
required: false
807-
type: string
805+
name: validator_from
806+
description: Bech32 ValAddress of SrcValidator
807+
required: false
808+
type: string
808809
- in: query
809-
name: validator_to
810-
description: Bech32 ValAddress of DstValidator
811-
required: false
812-
type: string
810+
name: validator_to
811+
description: Bech32 ValAddress of DstValidator
812+
required: false
813+
type: string
813814
get:
814815
summary: Get all redelegations (filter by query params)
815816
tags:

docs/DOCS_README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,25 @@ to send users to the GitHub.
6666

6767
To build and serve the documentation locally, run:
6868

69-
```
69+
```bash
7070
npm install -g vuepress
7171
```
7272

7373
then change the following line in the `config.js`:
7474

75-
```
75+
```js
7676
base: "/docs/",
7777
```
7878

7979
to:
8080

81-
```
81+
```js
8282
base: "/",
8383
```
8484

8585
Finally, go up one directory to the root of the repo and run:
8686

87-
```
87+
```bash
8888
# from root of repo
8989
vuepress build docs
9090
cd dist/docs
@@ -113,14 +113,14 @@ much as possible with its [counterpart in the Tendermint Core repo](https://gith
113113
### Update and Build the RPC docs
114114

115115
1. Execute the following command at the root directory to install the swagger-ui generate tool.
116-
```
116+
```bash
117117
make tools
118118
```
119119
2. Edit API docs
120120
1. Directly Edit API docs manually: `client/lcd/swagger-ui/swagger.yaml`.
121-
2. Edit API docs within [SwaggerHub](https://app.swaggerhub.com). Please refer to this [document](https://app.swaggerhub.com/help/index) for how to use the about website to edit API docs.
121+
2. Edit API docs within the [Swagger Editor](https://editor.swagger.io/). Please refer to this [document](https://swagger.io/docs/specification/2-0/basic-structure/) for the correct structure in `.yaml`.
122122
3. Download `swagger.yaml` and replace the old `swagger.yaml` under fold `client/lcd/swagger-ui`.
123123
4. Compile gaiacli
124-
```
124+
```bash
125125
make install
126126
```
Binary file not shown.

0 commit comments

Comments
 (0)