Skip to content

Commit 2c787be

Browse files
authored
Merge pull request #2360 from vegaprotocol/release/v0.26.0
Release v0.26.0
2 parents 54bb616 + c8f3211 commit 2c787be

213 files changed

Lines changed: 14673 additions & 5524 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.drone-github.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ steps:
183183
from_secret: DEVNET_DEPLOY_SSH_PRIVATE_KEY
184184
DEVNET_DEPLOY_HOSTS:
185185
from_secret: DEVNET_DEPLOY_HOSTS
186+
DEVNET_DEPLOY_HOSTS_VALIDATORS:
187+
from_secret: DEVNET_DEPLOY_HOSTS_VALIDATORS
188+
DEVNET_DEPLOY_HOSTS_NONVALIDATORS:
189+
from_secret: DEVNET_DEPLOY_HOSTS_NONVALIDATORS
186190
DEVNET_DEPLOY_SSH_KNOWN_HOSTS:
187191
from_secret: DEVNET_DEPLOY_SSH_KNOWN_HOSTS
188192
DEVNET_FAUCET_SERVER:
@@ -202,6 +206,8 @@ steps:
202206
- export DRONE_COMMIT_MESSAGE="$$(git log -n1 --pretty=oneline | cut -d ' ' -f 2-)"
203207
# The deploy script requires vars:
204208
# - DEVNET_DEPLOY_HOSTS
209+
# - DEVNET_DEPLOY_HOSTS_VALIDATORS
210+
# - DEVNET_DEPLOY_HOSTS_NONVALIDATORS
205211
# - DEVNET_DEPLOY_SSH_KNOWN_HOSTS
206212
# - DEVNET_DEPLOY_SSH_PRIVATE_KEY
207213
# - SLACK_HOOK_URL

.spelling

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# global dictionary is at the start, file overrides afterwards
44
# one word per line, to define a file override use ' - filename'
55
# where filename is relative to this configuration file
6+
allowlist
7+
allowlisted
68
api
79
barnabee
810
base64
@@ -26,6 +28,7 @@ multisig
2628
mutex
2729
mutexes
2830
nodewallet
31+
non-allowlisted
2932
notarising
3033
proto
3134
protobuf

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,71 @@
11
# Changelog
22

3+
## 0.26.0
4+
5+
*2020–10-20*
6+
7+
The events API added in 0.25.0 had some reliability issues when a large volume of events were being emitted. This release addresses that in two ways:
8+
- The gRPC event stream now takes a parameter that sets a batch size. A client will receive the events when the batch limit is hit.
9+
- GraphQL is now limited to one event type per subscription, and we also removed the ALL event type as an option. This was due to the GraphQL gateway layer taking too long to process the full event stream, leading to sporadic disconnections.
10+
11+
These two fixes combined make both the gRPC and GraphQL streams much more reliable under reasonably heavy load. Let us know if you see any other issues. The release also adds some performance improvements to the way the core processes Tendermint events, some documentation improvements, and some additional debug tools.
12+
13+
### New
14+
- [#2319](https://github.com/vegaprotocol/vega/pull/2319) Add fee estimate API endpoints to remaining APIs
15+
- [#2321](https://github.com/vegaprotocol/vega/pull/2321) 🔥 Change `estimateFee` to `estimateOrder` in GraphQL
16+
- [#2327](https://github.com/vegaprotocol/vega/pull/2327) 🔥 GraphQL: Event bus API - remove ALL type & limit subscription to one event type
17+
- [#2343](https://github.com/vegaprotocol/vega/pull/2343) 🔥 Add batching support to stream subscribers
18+
19+
### Improvements
20+
- [#2229](https://github.com/vegaprotocol/vega/pull/2229) Add Price Monitoring module
21+
- [#2246](https://github.com/vegaprotocol/vega/pull/2246) Add new market depth subscription methods
22+
- [#2298](https://github.com/vegaprotocol/vega/pull/2298) Improve error messages for Good For Auction/Good For Normal rejections
23+
- [#2301](https://github.com/vegaprotocol/vega/pull/2301) Add validation for GFA/GFN orders
24+
- [#2307](https://github.com/vegaprotocol/vega/pull/2307) Implement app state hash
25+
- [#2312](https://github.com/vegaprotocol/vega/pull/2312) Add validation for market proposal risk parameters
26+
- [#2313](https://github.com/vegaprotocol/vega/pull/2313) Add transaction replay protection
27+
- [#2314](https://github.com/vegaprotocol/vega/pull/2314) GraphQL: Improve response when market does not exist
28+
- [#2315](https://github.com/vegaprotocol/vega/pull/2315) GraphQL: Improve response when party does not exist
29+
- [#2316](https://github.com/vegaprotocol/vega/pull/2316) Documentation: Improve documentation for fee estimate endpoint
30+
- [#2318](https://github.com/vegaprotocol/vega/pull/2318) Documentation: Improve documentation for governance data endpoints
31+
- [#2324](https://github.com/vegaprotocol/vega/pull/2324) Cache transactions already seen by `checkTX`
32+
- [#2328](https://github.com/vegaprotocol/vega/pull/2328) Add test covering context cancellation mid data-sending
33+
- [#2331](https://github.com/vegaprotocol/vega/pull/2331) Internal refactor of network parameter storage
34+
- [#2334](https://github.com/vegaprotocol/vega/pull/2334) Rewrite `vegastream` to use the event bus
35+
- [#2333](https://github.com/vegaprotocol/vega/pull/2333) Fix context for events, add block hash and event id
36+
- [#2335](https://github.com/vegaprotocol/vega/pull/2335) Add ABCI event recorder
37+
- [#2341](https://github.com/vegaprotocol/vega/pull/2341) Ensure event slices cannot be empty
38+
- [#2345](https://github.com/vegaprotocol/vega/pull/2345) Handle filled orders in the market depth service before new orders are added
39+
- [#2346](https://github.com/vegaprotocol/vega/pull/2346) CI: Add missing environment variables
40+
- [#2348](https://github.com/vegaprotocol/vega/pull/2348) Use cached transactions in `checkTX`
41+
- [#2349](https://github.com/vegaprotocol/vega/pull/2349) Optimise accounts map accesses
42+
- [#2351](https://github.com/vegaprotocol/vega/pull/2351) Fix sequence ID related to market `OnChainTimeUpdate`
43+
- [#2355](https://github.com/vegaprotocol/vega/pull/2355) Update coding style doc with info on log levels
44+
- [#2358](https://github.com/vegaprotocol/vega/pull/2358) Add documentation and comments for `events.proto`
45+
- [#2359](https://github.com/vegaprotocol/vega/pull/2359) Fix out of bounds index crash
46+
- [#2364](https://github.com/vegaprotocol/vega/pull/2364) Add mutex to protect map access
47+
- [#2366](https://github.com/vegaprotocol/vega/pull/2366) Auctions: Reject IOC/FOK orders
48+
- [#2368](https://github.com/vegaprotocol/vega/pull/2370) Tidy up genesis market instantiation
49+
- [#2369](https://github.com/vegaprotocol/vega/pull/2369) Optimise event bus to reduce CPU usage
50+
- [#2370](https://github.com/vegaprotocol/vega/pull/2370) Event stream: Send batches instead of single events
51+
- [#2376](https://github.com/vegaprotocol/vega/pull/2376) GraphQL: Remove verbose logging
52+
- [#2377](https://github.com/vegaprotocol/vega/pull/2377) Update tendermint stats less frequently for Vega stats API endpoint
53+
- [#2381](https://github.com/vegaprotocol/vega/pull/2381) Event stream: Reduce CPU load, depending on batch size
54+
- [#2382](https://github.com/vegaprotocol/vega/pull/2382) GraphQL: Make event stream batch size mandatory
55+
- [#2401](https://github.com/vegaprotocol/vega/pull/2401) Event stream: Fix CPU spinning after stream close
56+
- [#2404](https://github.com/vegaprotocol/vega/pull/2404) Auctions: Add fix for crash during auction exit
57+
- [#2419](https://github.com/vegaprotocol/vega/pull/2419) Make the price level wash trade check configurable
58+
- [#2432](https://github.com/vegaprotocol/vega/pull/2432) Use `EmitDefaults` on `jsonpb.Marshaler`
59+
- [#2431](https://github.com/vegaprotocol/vega/pull/2431) GraphQL: Add price monitoring
60+
- [#2433](https://github.com/vegaprotocol/vega/pull/2433) Validate amend orders with GFN and GFA
61+
- [#2436](https://github.com/vegaprotocol/vega/pull/2436) Return a permission denied error for a non-allowlisted public key
62+
- [#2437](https://github.com/vegaprotocol/vega/pull/2437) Undo accidental code removal
63+
- [#2438](https://github.com/vegaprotocol/vega/pull/2438) GraphQL: Fix a resolver error when markets are in auction mode
64+
- [#2441](https://github.com/vegaprotocol/vega/pull/2441) GraphQL: Remove unnecessary validations
65+
- [#2442](https://github.com/vegaprotocol/vega/pull/2442) GraphQL: Update library; improve error responses
66+
- [#2447](https://github.com/vegaprotocol/vega/pull/2447) REST: Fix HTTP verb for network parameters query
67+
- [#2443](https://github.com/vegaprotocol/vega/pull/2443) Auctions: Add check for opening auction duration during market creation
68+
369
## 0.25.1
470

571
*2020-10-14*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vega
22

3-
Version 0.25.1.
3+
Version 0.26.0.
44

55
A decentralised trading platform that allows pseudo-anonymous trading of derivatives on a blockchain.
66

api/mocks/blockchain_mock.go

Lines changed: 50 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/mocks/deposit_service_mock.go

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/mocks/event_service_mock.go

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/mocks/market_service_mock.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/mocks/net_params_service_mock.go

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/mocks/risk_service_mock.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)