From ee37d186f1a4cfbe152082463e42acbb97041978 Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Thu, 19 Oct 2023 14:48:57 +0200 Subject: [PATCH] chore(deps): replace old qgb contracts repo with blobstream repo (#2709) ## Overview The dependencies part of https://github.com/celestiaorg/celestia-app/pull/2639 ## Checklist - [ ] New and updated code has appropriate documentation - [ ] New and updated code has new and/or updated testing - [ ] Required CI checks are passing - [ ] Visual proof for any user facing features like CLI or documentation updates - [ ] Linked issues closed with keywords --- go.mod | 2 +- go.sum | 4 ++-- x/blobstream/client/verify.go | 2 +- x/blobstream/types/abi_consts.go | 2 +- x/blobstream/types/valset.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index d58d526d..f01de865 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( require ( cosmossdk.io/errors v1.0.0-beta.7 cosmossdk.io/math v1.1.2 - github.com/celestiaorg/quantum-gravity-bridge/v2 v2.1.2 + github.com/celestiaorg/blobstream-contracts/v3 v3.0.0 github.com/celestiaorg/rsmt2d v0.11.0 github.com/cosmos/cosmos-proto v1.0.0-alpha8 github.com/cosmos/cosmos-sdk v0.46.14 diff --git a/go.sum b/go.sum index 127b0dfd..4c218e00 100644 --- a/go.sum +++ b/go.sum @@ -317,6 +317,8 @@ github.com/bufbuild/protocompile v0.1.0/go.mod h1:ix/MMMdsT3fzxfw91dvbfzKW3fRRnu github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/c-bata/go-prompt v0.2.2/go.mod h1:VzqtzE2ksDBcdln8G7mk2RX9QyGjH+OVqOCSiVIqS34= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= +github.com/celestiaorg/blobstream-contracts/v3 v3.0.0 h1:Qp5+O4g+eUlIG8ZcR8BQcsVclfDEO5UcmVdSVUmAL8U= +github.com/celestiaorg/blobstream-contracts/v3 v3.0.0/go.mod h1:lXPA8/Wvabb3Cr6uaPvuz4cL4OitKFpmYKXH+UEPEDo= github.com/celestiaorg/celestia-core v1.29.0-tm-v0.34.29 h1:Fd7ymPUzExPGNl2gZw4i5S74arMw+iDHLE78M/cCxl4= github.com/celestiaorg/celestia-core v1.29.0-tm-v0.34.29/go.mod h1:xrICN0PBhp3AdTaZ8q4wS5Jvi32V02HNjaC2EsWiEKk= github.com/celestiaorg/cosmos-sdk v1.18.2-sdk-v0.46.14 h1:nIYxJuRt4HtbtSCzSIm7Zy8Y0bqzwHMw9CuobpBq85k= @@ -327,8 +329,6 @@ github.com/celestiaorg/merkletree v0.0.0-20210714075610-a84dc3ddbbe4 h1:CJdIpo8n github.com/celestiaorg/merkletree v0.0.0-20210714075610-a84dc3ddbbe4/go.mod h1:fzuHnhzj1pUygGz+1ZkB3uQbEUL4htqCGJ4Qs2LwMZA= github.com/celestiaorg/nmt v0.20.0 h1:9i7ultZ8Wv5ytt8ZRaxKQ5KOOMo4A2K2T/aPGjIlSas= github.com/celestiaorg/nmt v0.20.0/go.mod h1:Oz15Ub6YPez9uJV0heoU4WpFctxazuIhKyUtaYNio7E= -github.com/celestiaorg/quantum-gravity-bridge/v2 v2.1.2 h1:Q8nr5SAtDW5gocrBwqwDJcSS/JedqU58WwQA2SP+nXw= -github.com/celestiaorg/quantum-gravity-bridge/v2 v2.1.2/go.mod h1:s/LzLUw0WeYPJ6qdk4q46jKLOq7rc9Z5Mdrxtfpcigw= github.com/celestiaorg/rsmt2d v0.11.0 h1:lcto/637WyTEZR3dLRoNvyuExfnUbxvdvKi3qz/2V4k= github.com/celestiaorg/rsmt2d v0.11.0/go.mod h1:6Y580I3gVr0+OVFfW6m2JTwnCCmvW3WfbwSLfuT+HCA= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= diff --git a/x/blobstream/client/verify.go b/x/blobstream/client/verify.go index 9baa9b4d..83053852 100644 --- a/x/blobstream/client/verify.go +++ b/x/blobstream/client/verify.go @@ -10,9 +10,9 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/tendermint/tendermint/crypto/merkle" + wrapper "github.com/celestiaorg/blobstream-contracts/v3/wrappers/Blobstream.sol" "github.com/celestiaorg/celestia-app/pkg/square" "github.com/celestiaorg/celestia-app/x/blobstream/types" - wrapper "github.com/celestiaorg/quantum-gravity-bridge/v2/wrappers/QuantumGravityBridge.sol" "github.com/ethereum/go-ethereum/ethclient" "github.com/spf13/cobra" tmlog "github.com/tendermint/tendermint/libs/log" diff --git a/x/blobstream/types/abi_consts.go b/x/blobstream/types/abi_consts.go index a5bbc663..0a8e2fef 100644 --- a/x/blobstream/types/abi_consts.go +++ b/x/blobstream/types/abi_consts.go @@ -4,7 +4,7 @@ import ( "log" "strings" - wrapper "github.com/celestiaorg/quantum-gravity-bridge/v2/wrappers/QuantumGravityBridge.sol" + wrapper "github.com/celestiaorg/blobstream-contracts/v3/wrappers/Blobstream.sol" "github.com/ethereum/go-ethereum/accounts/abi" ethcmn "github.com/ethereum/go-ethereum/common" ) diff --git a/x/blobstream/types/valset.go b/x/blobstream/types/valset.go index 649f309c..710f5b63 100644 --- a/x/blobstream/types/valset.go +++ b/x/blobstream/types/valset.go @@ -6,7 +6,7 @@ import ( "time" "cosmossdk.io/errors" - wrapper "github.com/celestiaorg/quantum-gravity-bridge/v2/wrappers/QuantumGravityBridge.sol" + wrapper "github.com/celestiaorg/blobstream-contracts/v3/wrappers/Blobstream.sol" ethcmn "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" )