Skip to content

Commit

Permalink
Merge pull request #310 from forta-network/kisel/forta-1692-update-fo…
Browse files Browse the repository at this point in the history
…rta-core-go

Mumbai -> Base Sepolia migration: Update dev ens resolver address
  • Loading branch information
dkeysil authored Apr 9, 2024
2 parents 5e73299 + 7b2dbe8 commit b5d04a0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions registry/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ var defaultConfig = ClientConfig{
}

var devConfig = ClientConfig{
JsonRpcUrl: "https://rpc-mumbai.matic.today",
ENSAddress: "0x5f7c5bbBa72e1e1fae689120D76D2f334A390Ae9",
JsonRpcUrl: "https://sepolia.base.org",
ENSAddress: "0x650AFCA8545964064b60ad040F9a09F788F714ed",
Name: "registry-client",
}

Expand Down
7 changes: 4 additions & 3 deletions registry/listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion scripts/ens/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type Env struct {
var env Env

var devConfig = registry.ClientConfig{
ENSAddress: "0x5f7c5bbBa72e1e1fae689120D76D2f334A390Ae9",
ENSAddress: "0x650AFCA8545964064b60ad040F9a09F788F714ed",
Name: "registry-client",
}

Expand Down

0 comments on commit b5d04a0

Please sign in to comment.