From 72137455093c05d40f6b524f9e8ec53cbee75807 Mon Sep 17 00:00:00 2001 From: dkeysil Date: Fri, 5 Apr 2024 14:30:11 +0200 Subject: [PATCH 1/4] Update dev ens resolver address --- registry/client.go | 2 +- scripts/ens/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/client.go b/registry/client.go index f956206b..076965ac 100644 --- a/registry/client.go +++ b/registry/client.go @@ -247,7 +247,7 @@ var defaultConfig = ClientConfig{ var devConfig = ClientConfig{ JsonRpcUrl: "https://rpc-mumbai.matic.today", - ENSAddress: "0x5f7c5bbBa72e1e1fae689120D76D2f334A390Ae9", + ENSAddress: "0x650AFCA8545964064b60ad040F9a09F788F714ed", Name: "registry-client", } diff --git a/scripts/ens/main.go b/scripts/ens/main.go index 911588f5..f3330c82 100644 --- a/scripts/ens/main.go +++ b/scripts/ens/main.go @@ -24,7 +24,7 @@ type Env struct { var env Env var devConfig = registry.ClientConfig{ - ENSAddress: "0x5f7c5bbBa72e1e1fae689120D76D2f334A390Ae9", + ENSAddress: "0x650AFCA8545964064b60ad040F9a09F788F714ed", Name: "registry-client", } From e2d5c68acaa14a0bd3715d36d568b833b075e745 Mon Sep 17 00:00:00 2001 From: dkeysil Date: Tue, 9 Apr 2024 12:49:57 +0200 Subject: [PATCH 2/4] Use master forta-contracts commit hash --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0da8e8fe..1848be27 100644 --- a/Makefile +++ b/Makefile @@ -153,7 +153,7 @@ abigen: pull-contracts .PHONY: pull-contracts pull-contracts: - ./scripts/pull-contracts.sh forta-contracts 9d8e7c3 + ./scripts/pull-contracts.sh forta-contracts 59ae488 .PHONY: swagger swagger: require-tools From ba64cbb4ee256bf3b39e1de33a3f0c85d8f471d6 Mon Sep 17 00:00:00 2001 From: dkeysil Date: Tue, 9 Apr 2024 12:51:34 +0200 Subject: [PATCH 3/4] Update base sepolia rpc --- registry/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/client.go b/registry/client.go index 076965ac..94047223 100644 --- a/registry/client.go +++ b/registry/client.go @@ -246,7 +246,7 @@ var defaultConfig = ClientConfig{ } var devConfig = ClientConfig{ - JsonRpcUrl: "https://rpc-mumbai.matic.today", + JsonRpcUrl: "https://sepolia.base.org", ENSAddress: "0x650AFCA8545964064b60ad040F9a09F788F714ed", Name: "registry-client", } From 7b2dbe8a5cec7dcab854cd26aa3dc2e2a3c73a86 Mon Sep 17 00:00:00 2001 From: dkeysil Date: Tue, 9 Apr 2024 17:47:08 +0200 Subject: [PATCH 4/4] Fix tests to use mumbai ens address --- registry/listener_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/registry/listener_test.go b/registry/listener_test.go index a7af17af..e3825e6b 100644 --- a/registry/listener_test.go +++ b/registry/listener_test.go @@ -45,9 +45,10 @@ func testListener(ctx context.Context, filter *ContractFilter, topic string, han func testMumbaiListener(ctx context.Context, filter *ContractFilter, topic string, handlers Handlers) Listener { l, err := NewListener( ctx, ListenerConfig{ - Name: "listener", - JsonRpcURL: "https://rpc.ankr.com/polygon_mumbai", - ENSAddress: devConfig.ENSAddress, + Name: "listener", + JsonRpcURL: "https://rpc.ankr.com/polygon_mumbai", + // ENSAddress: devConfig.ENSAddress, + ENSAddress: "0x5f7c5bbBa72e1e1fae689120D76D2f334A390Ae9", ContractFilter: filter, Topics: []string{topic}, Handlers: handlers,