Skip to content

Commit 45d25fd

Browse files
committed
merge new changes from upstream
2 parents cd19a99 + f7e8266 commit 45d25fd

File tree

163 files changed

+2746
-8763
lines changed

Some content is hidden

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

163 files changed

+2746
-8763
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
*
22
!docker/prover/prover-entry.sh
3-
!docker/local-node/entrypoint.sh
43
!docker/external-node/entrypoint.sh
54
!docker/contract-verifier/install-all-solc.sh
65
!etc/test_config

.github/workflows/build-local-node-docker.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

core/Cargo.lock

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

core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ proc-macro2 = "1.0"
215215
trybuild = "1.0"
216216

217217
# "Internal" dependencies
218-
vise = "0.3.1"
219-
vise-exporter = "0.3.1"
218+
vise = "0.3.2"
219+
vise-exporter = "0.3.2"
220220
smart-config = "=0.2.0-pre"
221221
smart-config-commands = "=0.2.0-pre"
222222
foundry-compilers = { version = "0.11.6", git = "https://github.com/Moonsong-Labs/compilers.git", rev = "7c69695e5c75451f158dd2456bf8c94a7492ea0b" }

core/bin/block_reverter/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ use zksync_block_reverter::{
1515
};
1616
use zksync_config::{
1717
configs::{
18-
wallets::Wallets, BasicWitnessInputProducerConfig, DatabaseSecrets, GenesisConfigWrapper,
19-
L1Secrets, ProtectiveReadsWriterConfig,
18+
wallets::Wallets, BasicWitnessInputProducerConfig, GenesisConfigWrapper, L1Secrets,
19+
PostgresSecrets, ProtectiveReadsWriterConfig,
2020
},
2121
full_config_schema,
2222
sources::ConfigFilePaths,
@@ -132,7 +132,7 @@ async fn main() -> anyhow::Result<()> {
132132
.observability()?
133133
.install_with_logs(zksync_vlog::Logs::disable_default_logs)?;
134134

135-
let schema = full_config_schema(false);
135+
let schema = full_config_schema();
136136
let mut repo = config_sources.build_repository(&schema);
137137
let wallets_config: Option<Wallets> = repo.parse_opt()?;
138138
let genesis_config = repo.parse::<GenesisConfigWrapper>()?.genesis;
@@ -142,7 +142,7 @@ async fn main() -> anyhow::Result<()> {
142142
let basic_witness_input_producer_config: BasicWitnessInputProducerConfig = repo.parse()?;
143143
let contracts: ContractsConfig = repo.parse()?;
144144
let postgres_config: PostgresConfig = repo.parse()?;
145-
let database_secrets: DatabaseSecrets = repo.parse()?;
145+
let database_secrets: PostgresSecrets = repo.parse()?;
146146
let l1_secrets: L1Secrets = repo.parse()?;
147147

148148
let default_priority_fee_per_gas = eth_sender.gas_adjuster.default_priority_fee_per_gas;

core/bin/contract-verifier/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use anyhow::Context as _;
44
use clap::Parser;
55
use tokio::sync::watch;
66
use zksync_config::{
7-
configs::{ContractVerifierSecrets, DatabaseSecrets},
7+
configs::{ContractVerifierSecrets, PostgresSecrets},
88
full_config_schema,
99
sources::ConfigFilePaths,
1010
ContractVerifierConfig,
@@ -72,9 +72,9 @@ async fn main() -> anyhow::Result<()> {
7272

7373
let _observability_guard = config_sources.observability()?.install()?;
7474

75-
let schema = full_config_schema(false);
75+
let schema = full_config_schema();
7676
let mut repo = config_sources.build_repository(&schema);
77-
let database_secrets: DatabaseSecrets = repo.parse()?;
77+
let database_secrets: PostgresSecrets = repo.parse()?;
7878
let contract_verifier_secrets: ContractVerifierSecrets = repo.parse()?;
7979
let verifier_config: ContractVerifierConfig = repo.parse()?;
8080

core/bin/external_node/Cargo.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ zksync_commitment_generator.workspace = true
1616
zksync_dal = { workspace = true, features = ["node_framework"] }
1717
zksync_config = { workspace = true, features = ["observability_ext", "cli"] }
1818
zksync_eth_client = { workspace = true, features = ["node_framework"] }
19-
zksync_storage.workspace = true
2019
zksync_state.workspace = true
2120
zksync_contracts.workspace = true
22-
zksync_l1_contract_interface.workspace = true
2321
zksync_snapshots_applier.workspace = true
2422
zksync_object_store = { workspace = true, features = ["node_framework"] }
2523
zksync_health_check = { workspace = true, features = ["node_framework"] }
@@ -29,11 +27,9 @@ zksync_block_reverter.workspace = true
2927
zksync_da_clients.workspace = true
3028
zksync_gateway_migrator.workspace = true
3129
zksync_logs_bloom_backfill.workspace = true
32-
zksync_node_genesis.workspace = true
3330
zksync_node_fee_model.workspace = true
3431
zksync_node_storage_init.workspace = true
3532
zksync_node_db_pruner.workspace = true
36-
zksync_eth_sender.workspace = true
3733
zksync_state_keeper.workspace = true
3834
zksync_reorg_detector.workspace = true
3935
zksync_consistency_checker.workspace = true
@@ -44,7 +40,6 @@ zksync_node_consensus.workspace = true
4440
zksync_node_framework.workspace = true
4541
zksync_vlog = { workspace = true, features = ["node_framework"] }
4642

47-
zksync_concurrency.workspace = true
4843
zksync_consensus_roles.workspace = true
4944
zksync_consensus_crypto.workspace = true
5045
vise.workspace = true
@@ -55,12 +50,9 @@ anyhow.workspace = true
5550
tokio = { workspace = true, features = ["full"] }
5651
futures.workspace = true
5752
serde = { workspace = true, features = ["derive"] }
58-
envy.workspace = true
5953
smart-config.workspace = true
6054
url.workspace = true
6155
clap = { workspace = true, features = ["derive"] }
62-
serde_json.workspace = true
63-
serde_yaml.workspace = true
6456
tracing.workspace = true
6557

6658
[target.'cfg(not(target_env = "msvc"))'.dependencies]
@@ -71,5 +63,7 @@ zksync_instrument = { workspace = true, features = ["jemalloc"] }
7163

7264
[dev-dependencies]
7365
assert_matches.workspace = true
66+
serde_yaml.workspace = true
7467
tempfile.workspace = true
7568
test-casing.workspace = true
69+
zksync_node_genesis.workspace = true

0 commit comments

Comments
 (0)