Skip to content

Commit

Permalink
ci: scroll syncing (#83)
Browse files Browse the repository at this point in the history
* add additional test coverage for state root

* fix: l1 messages gas used + genesis state root + load gas oracle contract in cache

Signed-off-by: Gregory Edison <[email protected]>

* fix: fill_tx_env

Signed-off-by: Gregory Edison <[email protected]>

* fix: merge

Signed-off-by: Gregory Edison <[email protected]>

* fix: manifests

Signed-off-by: Gregory Edison <[email protected]>

* fix: apply spurious dragon and load gas oracle in pre-execution

Signed-off-by: Gregory Edison <[email protected]>

* fix: clippy

Signed-off-by: Gregory Edison <[email protected]>

* fix: chain config tests

Signed-off-by: Gregory Edison <[email protected]>

* ci: adds syncing for scroll on push to main and scroll branches

Signed-off-by: Gregory Edison <[email protected]>

---------

Signed-off-by: Gregory Edison <[email protected]>
Co-authored-by: frisitano <[email protected]>
  • Loading branch information
greged93 and frisitano authored Dec 17, 2024
1 parent b456d1f commit 795732c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: sync test

on:
merge_group:
push:
branches: [main, scroll]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -35,6 +37,12 @@ jobs:
tip: "0xbb9b85352c7ebca6ba8efc63bd66cecd038c92ec8ebd02e153a3e0b197e672b7"
block: 10000
unwind-target: "0x118a6e922a8c6cab221fc5adfe5056d2b72d58c6580e9c5629de55299e2cf8de"
- build: install-scroll
bin: scroll-reth
chain: scroll-mainnet
tip: "0x1f398ce1e03b9d7d7fcba8512dc43c9f84ecaffb15954ab178fab48151e84484"
block: 50000
unwind-target: "0xc434910471ff41b3f097360b8c5d20459018023833081192dbe490a12ae2937f"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ install-op: ## Build and install the op-reth binary under `~/.cargo/bin`.
--profile "$(PROFILE)" \
$(CARGO_INSTALL_EXTRA_FLAGS)

.PHONY: install-scroll
install-scroll: ## Build and install the scroll-reth binary under `~/.cargo/bin`.
cargo install --path crates/scroll/bin --bin scroll-reth --force --locked \
--features "scroll $(FEATURES)" \
--profile "$(PROFILE)" \
$(CARGO_INSTALL_EXTRA_FLAGS)

.PHONY: build
build: ## Build the reth binary into `target` directory.
cargo build --bin reth --features "$(FEATURES)" --profile "$(PROFILE)"
Expand Down

0 comments on commit 795732c

Please sign in to comment.