Skip to content

Commit c4e7539

Browse files
fix ci
1 parent 0deea96 commit c4e7539

File tree

3 files changed

+4
-22
lines changed

3 files changed

+4
-22
lines changed

etc/env/configs/docker.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
__imports__ = [ "configs/dev.toml" ]
1+
__imports__ = [ "base", "l1-inits/.init.env", "l2-inits/docker.init.env" ]
2+
3+
ETH_SENDER_SENDER_PUBDATA_SENDING_MODE = "Calldata"
24

35
sqlx_offline = true
46
database_url = "postgres://postgres:notsecurepassword@postgres/zksync_local"

infrastructure/zk/src/config.ts

-21
Original file line numberDiff line numberDiff line change
@@ -151,27 +151,6 @@ export function pushConfig(environment?: string, diff?: string) {
151151
false
152152
);
153153

154-
env.modify('DATABASE_URL', `postgres://postgres:notsecurepassword@localhost/${environment}`, l2InitFile, false);
155-
env.modify(
156-
'TEST_DATABASE_URL',
157-
`postgres://postgres:notsecurepassword@localhost/${environment}_test`,
158-
l2InitFile,
159-
false
160-
);
161-
162-
env.modify(
163-
'DATABASE_PROVER_URL',
164-
`postgres://postgres:notsecurepassword@localhost/prover_${environment}`,
165-
l2InitFile,
166-
false
167-
);
168-
env.modify(
169-
'TEST_DATABASE_PROVER_URL',
170-
`postgres://postgres:notsecurepassword@localhost/prover_${environment}_test`,
171-
l2InitFile,
172-
false
173-
);
174-
175154
env.modify('DATABASE_STATE_KEEPER_DB_PATH', `./db/${environment}/state_keeper`, l2InitFile, false);
176155
env.modify('DATABASE_MERKLE_TREE_PATH', `./db/${environment}/tree`, l2InitFile, false);
177156
env.modify('DATABASE_MERKLE_TREE_BACKUP_PATH', `./db/${environment}/backups`, l2InitFile, false);

infrastructure/zk/src/init.ts

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ const initBridgehubStateTransition = async () => {
102102
type InitHyperchainOptions = { includePaymaster: boolean; baseTokenName?: string };
103103
const initHyperchain = async ({ includePaymaster, baseTokenName }: InitHyperchainOptions): Promise<void> => {
104104
await announced('Registering Hyperchain', contract.registerHyperchain({ baseTokenName }));
105+
await announced('Reloading env', env.reload());
105106
await announced('Running server genesis setup', server.genesisFromSources());
106107
await announced('Deploying L2 contracts', contract.deployL2ThroughL1({ includePaymaster }));
107108
};

0 commit comments

Comments
 (0)