From 5666d1ffb671935d1d4a411c5f8fbfd9439a2b03 Mon Sep 17 00:00:00 2001 From: lesterli Date: Sat, 3 Aug 2024 23:14:42 +0800 Subject: [PATCH] update finality gadget (#6) --- go.mod | 2 +- go.sum | 4 ++-- op-node/rollup/finality/finalizer.go | 8 ++++---- op-node/rollup/finality/finalizer_test.go | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index aae38525d7eb..bdb7f390b517 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/andybalholm/brotli v1.1.0 - github.com/babylonlabs-io/babylon-finality-gadget v0.0.0-20240801002122-6d6bca47ec56 + github.com/babylonlabs-io/finality-gadget v0.1.0 github.com/btcsuite/btcd v0.24.2 github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 github.com/cockroachdb/pebble v1.1.0 diff --git a/go.sum b/go.sum index 515673672f2d..e7bad808056e 100644 --- a/go.sum +++ b/go.sum @@ -292,10 +292,10 @@ github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX github.com/aws/aws-sdk-go v1.44.312 h1:llrElfzeqG/YOLFFKjg1xNpZCFJ2xraIi3PqSuP+95k= github.com/aws/aws-sdk-go v1.44.312/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= -github.com/babylonlabs-io/babylon-finality-gadget v0.0.0-20240801002122-6d6bca47ec56 h1:xZ+x4nfezT99jbBYDfqxQx+KBmqICbJtu8WLrjS1sVY= -github.com/babylonlabs-io/babylon-finality-gadget v0.0.0-20240801002122-6d6bca47ec56/go.mod h1:IZUMNT4MCzKPzsniq5EeNITWy/HeNX5k8hPoJNjFSqQ= github.com/babylonlabs-io/babylon-private v0.9.0-rc.3.0.20240801001431-74a24c962ce2 h1:sFsAJkrYe1eIkKzWTn4sj7G6QrPQ3IK33/UlOVgeA5M= github.com/babylonlabs-io/babylon-private v0.9.0-rc.3.0.20240801001431-74a24c962ce2/go.mod h1:pyFZgF85gUhfiCJKbYjnxo5+9prDkti48tW4FDEu9js= +github.com/babylonlabs-io/finality-gadget v0.1.0 h1:7Hytq+StGQgFPBbqQ/8ONlXyS21YTS+IEha5zFLAAH8= +github.com/babylonlabs-io/finality-gadget v0.1.0/go.mod h1:aVEXVcozo62wRXJM639Dnp4u69u5Wjb3rUr1our7YTU= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o= diff --git a/op-node/rollup/finality/finalizer.go b/op-node/rollup/finality/finalizer.go index 94568b0b2121..b67c218baa85 100644 --- a/op-node/rollup/finality/finalizer.go +++ b/op-node/rollup/finality/finalizer.go @@ -15,10 +15,10 @@ import ( "github.com/ethereum-optimism/optimism/op-node/rollup/event" "github.com/ethereum-optimism/optimism/op-service/eth" - "github.com/babylonlabs-io/babylon-finality-gadget/sdk/btcclient" - sdkclient "github.com/babylonlabs-io/babylon-finality-gadget/sdk/client" - sdkcfg "github.com/babylonlabs-io/babylon-finality-gadget/sdk/config" - "github.com/babylonlabs-io/babylon-finality-gadget/sdk/cwclient" + "github.com/babylonlabs-io/finality-gadget/sdk/btcclient" + sdkclient "github.com/babylonlabs-io/finality-gadget/sdk/client" + sdkcfg "github.com/babylonlabs-io/finality-gadget/sdk/config" + "github.com/babylonlabs-io/finality-gadget/sdk/cwclient" ) // defaultFinalityLookback defines the amount of L1<>L2 relations to track for finalization purposes, one per L1 block. diff --git a/op-node/rollup/finality/finalizer_test.go b/op-node/rollup/finality/finalizer_test.go index 93d98acbdf85..9b9829114ae8 100644 --- a/op-node/rollup/finality/finalizer_test.go +++ b/op-node/rollup/finality/finalizer_test.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/log" - "github.com/babylonlabs-io/babylon-finality-gadget/sdk/cwclient" - "github.com/babylonlabs-io/babylon-finality-gadget/testutil/mocks" + "github.com/babylonlabs-io/finality-gadget/sdk/cwclient" + "github.com/babylonlabs-io/finality-gadget/testutil/mocks" "github.com/ethereum-optimism/optimism/op-node/rollup" "github.com/ethereum-optimism/optimism/op-node/rollup/derive" "github.com/ethereum-optimism/optimism/op-node/rollup/engine"