diff --git a/.env.example b/.env.example index 26d5bca..4496a21 100644 --- a/.env.example +++ b/.env.example @@ -4,8 +4,4 @@ AA_ERC4337_ADDRESSES= AA_SAFE_ADDRESSES= ENDPOINT= -SUBSTREAMS_API_TOKEN= - -SINK_DB_NAME= -SINK_DB_URL= -SINK_DB_PASS= \ No newline at end of file +SUBSTREAMS_API_TOKEN= \ No newline at end of file diff --git a/Makefile b/Makefile index 78ddce4..e56c125 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,6 @@ build: run: build substreams run -e $(ENDPOINT) substreams.yaml map_combine_data -s $(START_BLOCK) -t $(STOP_BLOCK) -.PHONY: sink -sink: build - substreams-sink-sql setup "psql://$(SINK_DB_NAME):$(SINK_DB_PASS)@$(SINK_DB_URL)?sslmode=disable" substreams.yaml || true - substreams-sink-sql run "psql://$(SINK_DB_NAME):$(SINK_DB_PASS)@$(SINK_DB_URL)?sslmode=disable" substreams.yaml --on-module-hash-mistmatch=warn - .PHONY: gui gui: build substreams gui -e $(ENDPOINT) substreams.yaml map_combine_data -s $(START_BLOCK) -t $(STOP_BLOCK) @@ -28,7 +23,3 @@ protogen: .PHONY: pack pack: build substreams pack substreams.yaml - -.PHONY: cursor-read -cursor-read: - substreams-sink-sql tools --dsn="psql://$(SINK_DB_NAME):$(SINK_DB_PASS)@$(SINK_DB_URL)?sslmode=disable" cursor read