Skip to content

Commit 4eedee4

Browse files
committed
Merge branch 'dev' into dvush-new-sc
2 parents 1c1412e + 176362d commit 4eedee4

File tree

258 files changed

+10122
-4209
lines changed

Some content is hidden

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

258 files changed

+10122
-4209
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
!docker/exit-tool/exit-tool-entry.sh
44
!docker/exit-tool/configs
55
!docker/keybase-secrets/entrypoint.sh
6+
!docker/ci-integration-test/entrypoint.sh
67
!etc/env/dev.env.example
78
!etc/tokens
89
!keys/packed

.github/bors.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
status = ["ci-all"]
2+
delete_merged_branches = true
3+
update_base_for_deletes = true

.github/workflows/ci.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ name: CI
22

33
on:
44
pull_request:
5+
push:
56
branches:
6-
- '*'
7+
- staging
8+
- trying
79

810
jobs:
911
ci-all:
1012
# We currently have two self-hosted runners, one of which is marked "DEV-CI" and other one is marder "MAIN".
1113
# "MAIN" is the current CI runner, "DEV-CI" is currently used to experiment with CI optimizing.
12-
runs-on: self-hosted
14+
runs-on: [self-hosted, MAIN]
1315

1416
steps:
1517
- uses: actions/checkout@v2
@@ -42,12 +44,11 @@ jobs:
4244
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
4345

4446
- name: update-deps
45-
# Upstream version of sqlx-cli has some incompatibilities with the sqlx version used zksync_storage.
4647
run: |
4748
rustup update stable
48-
cargo install sqlx-cli --git https://github.com/alekseysidorov/sqlx.git
49+
cargo install --version=0.2.0 sqlx-cli
4950
cargo install diesel_cli --no-default-features --features postgres
50-
docker pull matterlabs/ci-integration-test:zk-latest
51+
docker pull matterlabs/ci-integration-test:latest
5152
5253
- name: zk
5354
run: zk

.github/workflows/promote-stage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
2222
- name: init
2323
run: |
24-
cargo sqlx --version || cargo install --version=0.1.0-beta.1 sqlx-cli
24+
cargo sqlx --version || cargo install --version=0.2.0 sqlx-cli
2525
zk
2626
zk run yarn
2727
cp etc/tokens/{test,localhost}.json

.prettier-js.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"tabWidth": 4,
3+
"printWidth": 120,
4+
"singleQuote": true,
5+
"trailingComma": "none",
6+
"bracketSpacing": true
7+
}

.prettier-vue.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"tabWidth": 4,
3+
"printWidth": 120,
4+
"singleQuote": true,
5+
"trailingComma": "none",
6+
"bracketSpacing": true
7+
}

CHANGELOG.md

-77
Original file line numberDiff line numberDiff line change
@@ -1,77 +0,0 @@
1-
# zkSync changelog
2-
3-
### Contracts v4 and protocol (24.11.2020)
4-
5-
- Timestamp is added to the block commitment. Rollup block timestamp validity is checked when block is committed
6-
onchain.
7-
- Offchain ChangePubKey can be performed for smart contract wallets that can be deployed with CREATE2 when pubkey hash
8-
is encoded in the CREATE2 salt parameter.
9-
- Governance contract can pause token deposits.
10-
- ChangePubKey message signature is changed.
11-
- Onchain operation processing changed on the contract.
12-
- Recursive block verifier added.
13-
- Onchain rollup block commitment changed, multiple blocks can be committed, verified at once.
14-
15-
### Contracts v3 and protocol (4.09.2020)
16-
17-
- Change pubkey operation requires fee for processing.
18-
- Added support for the forced exit operation which allows user to force a withdrawal from another account that does not
19-
have signing key set and is older than 24h.
20-
21-
### zksync.js 0.6.5
22-
23-
- Support of fast withdrawals was added. Corresponding optional field was added to the object passed to the
24-
`withdrawFromSyncToEthereum` method and `getTransactionFee` now accepts `FastWithdraw` fee type.
25-
26-
### zksync.js 0.6.3
27-
28-
- Bundled version for browsers added. File `dist/main.js` can be used in `<script>` html tag. It requires global
29-
`ethers` object from [ethers-io/ethers.js](https://github.com/ethers-io/ethers.js/)
30-
- `zksync.crypto.loadZkSyncCrypto()` method is added for browser builds that loads and compiles
31-
`zksync-crypto-web_bg.wasm` file. Should be called before any calls that use `zksync-crypto`.
32-
33-
### zksync.js 0.6.0
34-
35-
- Upgrade ethers to ^5.0.0
36-
37-
### zkSync
38-
39-
- Server: Robustness of the fee ticker's API interacting module was increased. [#786]
40-
- Server: A possibility to get an Ethereum tx hash for withdrawal operation was added. [#751]
41-
- Prover: Bug with delay between receiving a job and starting sending heartbeats was fixed.
42-
[7a82dba](https://github.com/matter-labs/zksync/commit/7a82dba)
43-
- Server: Blocks that contain withdraw operations are sealed faster.
44-
[bab346b](https://github.com/matter-labs/zksync/commit/bab346b)
45-
- Server: Added support for non-standard Ethereum signatures.
46-
[da0670e](https://github.com/matter-labs/zksync/commit/da0670e)
47-
- Server: `eth_sender` module now can be disabled. [f9642e9](https://github.com/matter-labs/zksync/commit/f9642e9)
48-
- Server: Transfer to zero address (0x00..00) is now forbidden in zkSync.
49-
[b3c72cd](https://github.com/matter-labs/zksync/commit/b3c72cd)
50-
- Server: WebSocket server now uses more threads for handling incoming requests.
51-
[3a77363](https://github.com/matter-labs/zksync/commit/3a77363)
52-
53-
### zksync.js
54-
55-
- Support of WalletConnect was added. [16dd987](https://github.com/matter-labs/zksync/commit/16dd987)
56-
57-
### Explorer
58-
59-
- A link to the wallet was added to the explorer. [14424a6](https://github.com/matter-labs/zksync/commit/14424a6)
60-
- Fixed bug with accessing non-existent blocks in explorer.
61-
[e8ca026](https://github.com/matter-labs/zksync/commit/e8ca026)
62-
63-
### Contracts v2 (20.07.2020)
64-
65-
- Added event denoting information about pending and completed withdrawals.
66-
[bb0d1bd](https://github.com/matter-labs/zksync/commit/bb0d1bd)
67-
- Added support for tokens that aren't fully compatible with ERC20.
68-
[c088328](https://github.com/matter-labs/zksync/commit/c088328)
69-
- Block revert interval is changed to 0 hours. [c088328](https://github.com/matter-labs/zksync/commit/c088328)
70-
- Redundant priority request check is removed from contract upgrade logic.
71-
[c088328](https://github.com/matter-labs/zksync/commit/c088328)
72-
- `PRIORITY_EXPRIRATION_PERIOD` is reduced to 3 days. [c12ab40](https://github.com/matter-labs/zksync/commit/c12ab40)
73-
- `UPGRADE_NOTICE_PERIOD` is increased to 8 days. [c12ab40](https://github.com/matter-labs/zksync/commit/c12ab40)
74-
75-
## zkSync 1.0 (18.06.2020)
76-
77-
Changes prior to the 1.0 release are not presented in this changelog.

0 commit comments

Comments
 (0)