Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ op-supernode: ## Builds op-supernode binary
just $(JUSTFLAGS) ./op-supernode/op-supernode
.PHONY: op-supernode

op-interop-filter: ## Builds op-interop-filter binary
just $(JUSTFLAGS) ./op-interop-filter/op-interop-filter
.PHONY: op-interop-filter

op-program: ## Builds op-program binary
make -C ./op-program op-program
.PHONY: op-program
Expand Down
17 changes: 17 additions & 0 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ variable "OP_SUPERNODE_VERSION" {
default = "${GIT_VERSION}"
}

variable "OP_INTEROP_FILTER_VERSION" {
default = "${GIT_VERSION}"
}

variable "OP_TEST_SEQUENCER_VERSION" {
default = "${GIT_VERSION}"
}
Expand Down Expand Up @@ -233,6 +237,19 @@ target "op-supernode" {
tags = [for tag in split(",", IMAGE_TAGS) : "${REGISTRY}/${REPOSITORY}/op-supernode:${tag}"]
}

target "op-interop-filter" {
dockerfile = "ops/docker/op-stack-go/Dockerfile"
context = "."
args = {
GIT_COMMIT = "${GIT_COMMIT}"
GIT_DATE = "${GIT_DATE}"
OP_INTEROP_FILTER_VERSION = "${OP_INTEROP_FILTER_VERSION}"
}
target = "op-interop-filter-target"
platforms = split(",", PLATFORMS)
tags = [for tag in split(",", IMAGE_TAGS) : "${REGISTRY}/${REPOSITORY}/op-interop-filter:${tag}"]
}

target "op-test-sequencer" {
dockerfile = "ops/docker/op-stack-go/Dockerfile"
context = "."
Expand Down
2 changes: 2 additions & 0 deletions op-interop-filter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Dev environment with API keys
.env.dev
3 changes: 3 additions & 0 deletions op-interop-filter/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DEPRECATED_TARGETS := op-interop-filter clean test

include ../justfiles/deprecated.mk
26 changes: 26 additions & 0 deletions op-interop-filter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# op-interop-filter

A lightweight service that validates interop executing messages for op-geth or op-reth transaction filtering.

Any reorg will trigger the failsafe which disables all interop transactions.

## Usage

### Build from source

```bash
just op-interop-filter
./bin/op-interop-filter --help
```

### Run from source

```bash
go run ./cmd --help
```

### Build docker image

```bash
docker buildx bake op-interop-filter
```
Loading