Skip to content

Commit

Permalink
procfile for migration
Browse files Browse the repository at this point in the history
  • Loading branch information
aditiharini committed Dec 12, 2024
1 parent 1c82516 commit 06cbb48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
hubble: cd apps/hubble && rm -rf .rocks && yarn build && yarn start --eth-mainnet-rpc-url https://eth-mainnet.g.alchemy.com/v2/7XraarGJevWyyHCqKA49GIW50Fw4-3qt --l2-rpc-url https://opt-mainnet.g.alchemy.com/v2/7XraarGJevWyyHCqKA49GIW50Fw4-3qt --hub-operator-fid 1 --disable-snapshot-sync --catchup-sync-with-snapshot false --network 1 --disable-console-status --admin-server-enabled > hub.log
snapchain1: cd ../snapchain-v0 && rm -rf nodes/1/.rocks && cargo run -- --config-path nodes/1/snapchain.toml > snapchain1.log
snapchain2: cd ../snapchain-v0 && rm -rf nodes/2/.rocks && cargo run -- --config-path nodes/2/snapchain.toml > snapchain2.log
snapchain3: cd ../snapchain-v0 && rm -rf nodes/3/.rocks && cargo run -- --config-path nodes/3/snapchain.toml > snapchain3.log
migrate: cd packages/shuttle && sleep 30 && yarn build && MAX_FID=100 ONCHAIN_EVENTS_HUB_HOST=kassad.merkle.zone:2283 HUB_HOST=127.0.0.1:2283 HUB_ADMIN_HOST=127.0.0.1:2284 SNAPCHAIN_HOST=127.0.0.1:3383 yarn migrate:onchain-events > onchain_events.log&& sleep 30 && MAX_FID=100 ONCHAIN_EVENTS_HUB_HOST=kassad.merkle.zone:2283 HUB_HOST=127.0.0.1:2283 HUB_ADMIN_HOST=127.0.0.1:2284 SNAPCHAIN_HOST=127.0.0.1:3383 yarn migrate:messages > messages.log

0 comments on commit 06cbb48

Please sign in to comment.