Skip to content

Commit

Permalink
Increase the max tx data size
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJeremyHe committed Oct 10, 2024
1 parent f671007 commit 250da67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ function writeConfigs(argv: any) {
"enable": false,
"redis-url": argv.redisUrl,
"max-delay": "30s",
"max-size": 200000,
"l1-block-bound": "ignore",
"parent-chain-wallet" : {
"account": namedAddress("sequencer"),
Expand Down Expand Up @@ -235,6 +236,7 @@ function writeConfigs(argv: any) {
"execution": {
"sequencer": {
"enable": false,
"max-tx-data-size": 110000,
},
"forwarding-target": "null",
},
Expand Down Expand Up @@ -441,7 +443,7 @@ function writeL2ChainConfig(argv: any) {
"InitialArbOSVersion": 30,
"InitialChainOwner": argv.l2owner,
"GenesisBlockNum": 0,
"MaxCodeSize": 50 * 1024,
"MaxCodeSize": 150 * 1024,
}
}
if (argv.espresso) {
Expand Down
2 changes: 1 addition & 1 deletion test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ if $force_init; then
wasmroot=`docker compose run --entrypoint sh sequencer -c "cat /home/user/target/machines/latest/module-root.txt"`

echo == Deploying L2 chain
docker compose run -e PARENT_CHAIN_RPC="http://geth:8545" -e DEPLOYER_PRIVKEY=$l2ownerKey -e PARENT_CHAIN_ID=$l1chainid -e CHILD_CHAIN_NAME="arb-dev-test" -e MAX_DATA_SIZE=117964 -e OWNER_ADDRESS=$l2ownerAddress -e WASM_MODULE_ROOT=$wasmroot -e SEQUENCER_ADDRESS=$sequenceraddress -e AUTHORIZE_VALIDATORS=10 -e CHILD_CHAIN_CONFIG_PATH="/config/l2_chain_config.json" -e CHAIN_DEPLOYMENT_INFO="/config/deployment.json" -e CHILD_CHAIN_INFO="/config/deployed_chain_info.json" -e LIGHT_CLIENT_ADDR=$lightClientAddr rollupcreator create-rollup-testnode
docker compose run -e PARENT_CHAIN_RPC="http://geth:8545" -e DEPLOYER_PRIVKEY=$l2ownerKey -e PARENT_CHAIN_ID=$l1chainid -e CHILD_CHAIN_NAME="arb-dev-test" -e MAX_DATA_SIZE=317964 -e OWNER_ADDRESS=$l2ownerAddress -e WASM_MODULE_ROOT=$wasmroot -e SEQUENCER_ADDRESS=$sequenceraddress -e AUTHORIZE_VALIDATORS=10 -e CHILD_CHAIN_CONFIG_PATH="/config/l2_chain_config.json" -e CHAIN_DEPLOYMENT_INFO="/config/deployment.json" -e CHILD_CHAIN_INFO="/config/deployed_chain_info.json" -e LIGHT_CLIENT_ADDR=$lightClientAddr rollupcreator create-rollup-testnode
docker compose run --entrypoint sh rollupcreator -c "jq [.[]] /config/deployed_chain_info.json > /config/l2_chain_info.json"
docker compose run --entrypoint sh rollupcreator -c "jq [.[]] /config/deployed_chain_info.json > /espresso-config/l2_chain_info.json"
docker compose run --entrypoint sh rollupcreator -c "cat /config/l2_chain_info.json"
Expand Down

0 comments on commit 250da67

Please sign in to comment.