From 4be29a0435185aea5c7d54f124452920f2b9051d Mon Sep 17 00:00:00 2001 From: spilin Date: Wed, 31 Jul 2024 01:30:22 +0300 Subject: [PATCH] Bumped relayer2-base --- .gitignore | 4 +++- go.mod | 4 ++-- go.sum | 4 ++-- main.go | 2 ++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 6422e1c..d277d7b 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,6 @@ .DS_Store /data/ /log/ -relayer2-public \ No newline at end of file +relayer2-public +config/*.json +config/local.yaml \ No newline at end of file diff --git a/go.mod b/go.mod index 34d2cef..593e58f 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/aurora-is-near/relayer2-public go 1.18 -//replace github.com/aurora-is-near/relayer2-base => github.com/aurora-is-near/relayer2-base v1.1.3-0.20230914105446-42f23496919e +//replace github.com/aurora-is-near/relayer2-base => "../relayer2-base" //replace github.com/aurora-is-near/near-api-go => github.com/aurora-is-near/near-api-go // The following package had a conflicting dependency. @@ -11,7 +11,7 @@ replace github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.23.2 require ( github.com/aurora-is-near/near-api-go v0.0.14 - github.com/aurora-is-near/relayer2-base v1.1.5 + github.com/aurora-is-near/relayer2-base v1.1.7 github.com/btcsuite/btcutil v1.0.2 github.com/buger/jsonparser v1.1.1 github.com/ethereum/go-ethereum v1.10.25 diff --git a/go.sum b/go.sum index a6f7ee9..9af9596 100644 --- a/go.sum +++ b/go.sum @@ -54,8 +54,8 @@ github.com/aurora-is-near/go-jsonrpc/v3 v3.1.2 h1:GKX/ga2vElkJYHSIpWEGsW3Z5c0xFx github.com/aurora-is-near/go-jsonrpc/v3 v3.1.2/go.mod h1:Li013EFlPu3crtlFQtWJAeE7VmdhSsxOpRoop1J0icw= github.com/aurora-is-near/near-api-go v0.0.14 h1:6BHZ0jtUQ3frNx0h6Kucd2tOR/TZ5I7lScgN5khNhd8= github.com/aurora-is-near/near-api-go v0.0.14/go.mod h1:k1fyeUePNSpC8VZTkbUaGbjMY8jexe4s5LffFejplyA= -github.com/aurora-is-near/relayer2-base v1.1.5 h1:JMnslE50YUojzRRWqEbtNe78MOMH51IL3Eld7U+rDQc= -github.com/aurora-is-near/relayer2-base v1.1.5/go.mod h1:kG6aD+qm1CeHvNjhBZRJR4HlnFEtbOXRdHTJB4FZGac= +github.com/aurora-is-near/relayer2-base v1.1.7 h1:Iudf+4UeoSl2PscdOJ9FKJgVJXwgrpr0zHZJYPFPcZc= +github.com/aurora-is-near/relayer2-base v1.1.7/go.mod h1:kG6aD+qm1CeHvNjhBZRJR4HlnFEtbOXRdHTJB4FZGac= github.com/aurora-is-near/stream-backup v0.0.0-20221212013533-1e06e263c3f7 h1:aHMsjwM2KJ6EO9H7f1UgFD95c+d9BTpA43NQgZ6hiaM= github.com/aurora-is-near/stream-backup v0.0.0-20221212013533-1e06e263c3f7/go.mod h1:71KeQcNFeKIHH0WeppWnXZBfwpGo/YwLK8TtC+r+TfY= github.com/btcsuite/btcd v0.23.2 h1:/YOgUp25sdCnP5ho6Hl3s0E438zlX+Kak7E6TgBgoT0= diff --git a/main.go b/main.go index 4c4f625..c83fb0e 100644 --- a/main.go +++ b/main.go @@ -32,6 +32,8 @@ func main() { c.AddCommand(publicCmd.AddKeysCmd()) c.AddCommand(publicCmd.DeleteKeysCmd()) c.AddCommand(publicCmd.GenerateKeysCmd()) + c.AddCommand(cmd.GetBlockCmd()) + c.AddCommand(cmd.FlattenDB()) c.AddCommand(cmd.StartCmd(func(cmd *cobra.Command, args []string) { logger := log.Log() bh, err := badger.NewBlockHandler()