Skip to content

Commit

Permalink
Merge pull request #2712 from matter-labs/sb-new-env-for-sl-stable
Browse files Browse the repository at this point in the history
chore: Fix setting env
  • Loading branch information
StanislavBreadless authored Aug 23, 2024
2 parents 3418a13 + b2237ca commit 89f6b7a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion etc/env/configs/l1-hyperchain-docker.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CONTRACTS_SHARED_BRIDGE_UPGRADE_STORAGE_SWITCH="0"
CHAIN_ETH_ZKSYNC_NETWORK_ID=273
ZKSYNC_ACTION="dont_ask"
CONTRACTS_ERA_CHAIN_ID="270"
ETH_SENDER_SENDER_PUBDATA_SENDING_MODE = "Calldata"

CHAIN_STATE_KEEPER_MAX_PUBDATA_PER_BATCH = 100000

Expand Down
1 change: 0 additions & 1 deletion etc/env/configs/l1-hyperchain.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CONTRACTS_SHARED_BRIDGE_UPGRADE_STORAGE_SWITCH="0"
CHAIN_ETH_ZKSYNC_NETWORK_ID=273
ZKSYNC_ACTION="dont_ask"
CONTRACTS_ERA_CHAIN_ID="270"
ETH_SENDER_SENDER_PUBDATA_SENDING_MODE = "Calldata"

ETH_SENDER_SENDER_OPERATOR_PRIVATE_KEY="0xf12e28c0eb1ef4ff90478f6805b68d63737b7f33abfa091601140805da450d93"
ETH_SENDER_SENDER_OPERATOR_COMMIT_ETH_ADDR="0x8002cD98Cfb563492A6fB3E7C8243b7B9Ad4cc92"
Expand Down
1 change: 1 addition & 0 deletions infrastructure/zk/src/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ async function migrateToSyncLayer() {
updateContractsEnv(envFile, migrationLog, ['GATEWAY_DIAMOND_PROXY_ADDR']);
env.modify('CONTRACTS_DIAMOND_PROXY_ADDR', process.env.GATEWAY_DIAMOND_PROXY_ADDR!, envFile, true);
env.modify('ETH_SENDER_SENDER_PUBDATA_SENDING_MODE', 'RelayedL2Calldata', envFile, true);
env.modify('ETH_SENDER_GAS_ADJUSTER_SETTLEMENT_MODE', 'Gateway', envFile, true);
}

async function prepareValidatorsOnSyncLayer() {
Expand Down

0 comments on commit 89f6b7a

Please sign in to comment.