From 3b973b4087c9db31b7d020a71d36ea3157680210 Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Thu, 8 Feb 2024 12:17:54 +0100 Subject: [PATCH 01/15] Add update changelog script / CHANGELOG.md file --- CHANGELOG.md | 289 ++++++++++++++++++++++++++++++++++++ scripts/update_changelog.sh | 89 +++++++++++ 2 files changed, 378 insertions(+) create mode 100755 scripts/update_changelog.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29b..3ce62f6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,289 @@ +# Changelog + +## [Unreleased](https://github.com/babylonchain/vigilante/tree/HEAD) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.8.0...HEAD) + +**Merged pull requests:** + +- chore: bump to Babylon v0.8.0 [\#203](https://github.com/babylonchain/vigilante/pull/203) ([SebastianElvis](https://github.com/SebastianElvis)) +- reporter: handle the gap and overlap between bootstrapping and ongoing execution [\#202](https://github.com/babylonchain/vigilante/pull/202) ([SebastianElvis](https://github.com/SebastianElvis)) +- CI: Remove redundant SSH key logic [\#200](https://github.com/babylonchain/vigilante/pull/200) ([filippos47](https://github.com/filippos47)) +- chore: Migrate private commits [\#194](https://github.com/babylonchain/vigilante/pull/194) ([gitferry](https://github.com/gitferry)) +- chore: Refactor fee estimator [\#192](https://github.com/babylonchain/vigilante/pull/192) ([gitferry](https://github.com/gitferry)) +- feat: Add multiplier for calculating tx fee of resending checkpoints [\#190](https://github.com/babylonchain/vigilante/pull/190) ([gitferry](https://github.com/gitferry)) +- Dockerfile: Checkout only when explicitly asked to [\#189](https://github.com/babylonchain/vigilante/pull/189) ([filippos47](https://github.com/filippos47)) +- fix: issue with multiple wallets [\#188](https://github.com/babylonchain/vigilante/pull/188) ([gitferry](https://github.com/gitferry)) +- chore: Add more info to error [\#187](https://github.com/babylonchain/vigilante/pull/187) ([gitferry](https://github.com/gitferry)) +- chore\(deps\): bump google.golang.org/grpc from 1.18.0 to 1.53.0 in /tools [\#186](https://github.com/babylonchain/vigilante/pull/186) ([dependabot[bot]](https://github.com/apps/dependabot)) +- chore: Add more logs to show more information in fee estimation [\#185](https://github.com/babylonchain/vigilante/pull/185) ([gitferry](https://github.com/gitferry)) +- chore: Add logs for estimating tx fees [\#184](https://github.com/babylonchain/vigilante/pull/184) ([gitferry](https://github.com/gitferry)) +- Fix: fix metrics format [\#183](https://github.com/babylonchain/vigilante/pull/183) ([gitferry](https://github.com/gitferry)) +- feat: Add BTC related metrics [\#182](https://github.com/babylonchain/vigilante/pull/182) ([gitferry](https://github.com/gitferry)) +- fix: Submitter/Fix bumping fee [\#181](https://github.com/babylonchain/vigilante/pull/181) ([gitferry](https://github.com/gitferry)) +- chore: Remove duplicate log and change log types [\#179](https://github.com/babylonchain/vigilante/pull/179) ([vitsalis](https://github.com/vitsalis)) +- Use Replace-by-Fee if the previous sent checkpoint has not been included for long time [\#176](https://github.com/babylonchain/vigilante/pull/176) ([gitferry](https://github.com/gitferry)) +- Babylon v0.7.1 [\#173](https://github.com/babylonchain/vigilante/pull/173) ([vitsalis](https://github.com/vitsalis)) +- e2e tests [\#171](https://github.com/babylonchain/vigilante/pull/171) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Enable Replace By Fee [\#170](https://github.com/babylonchain/vigilante/pull/170) ([vitsalis](https://github.com/vitsalis)) +- CI: Build and push images to ECR [\#169](https://github.com/babylonchain/vigilante/pull/169) ([filippos47](https://github.com/filippos47)) + +## [v0.8.0](https://github.com/babylonchain/vigilante/tree/v0.8.0) (2024-02-08) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.7.0...v0.8.0) + +**Implemented enhancements:** + +- Waste of previous BTC checkpoint transactions when new UTXOs are spent [\#175](https://github.com/babylonchain/vigilante/issues/175) + +**Closed issues:** + +- reporter: Bootstrap process keeps restarting after sync [\#201](https://github.com/babylonchain/vigilante/issues/201) + +## [v0.7.0](https://github.com/babylonchain/vigilante/tree/v0.7.0) (2023-06-07) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.5.3...v0.7.0) + +## [v0.5.3](https://github.com/babylonchain/vigilante/tree/v0.5.3) (2023-05-19) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.6.0...v0.5.3) + +## [v0.6.0](https://github.com/babylonchain/vigilante/tree/v0.6.0) (2023-05-12) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.6.0-rc0...v0.6.0) + +**Merged pull requests:** + +- chore: Babylon v0.6.0 [\#168](https://github.com/babylonchain/vigilante/pull/168) ([vitsalis](https://github.com/vitsalis)) + +## [v0.6.0-rc0](https://github.com/babylonchain/vigilante/tree/v0.6.0-rc0) (2023-05-08) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.5.2...v0.6.0-rc0) + +**Merged pull requests:** + +- chore: Bump Babylon dependency and update Docker image [\#164](https://github.com/babylonchain/vigilante/pull/164) ([vitsalis](https://github.com/vitsalis)) + +## [v0.5.2](https://github.com/babylonchain/vigilante/tree/v0.5.2) (2023-05-04) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.5.1...v0.5.2) + +**Implemented enhancements:** + +- Submitter: add subscriber to Babylond node for Sealed checkpoints [\#54](https://github.com/babylonchain/vigilante/issues/54) +- Submitter: add Babylon submitter address [\#49](https://github.com/babylonchain/vigilante/issues/49) +- Submitter: finding smarter algorithm for retrieving unspent transactions [\#43](https://github.com/babylonchain/vigilante/issues/43) + +**Closed issues:** + +- Monitor: Running out of memory when bootstrapping from far behind [\#153](https://github.com/babylonchain/vigilante/issues/153) +- Duplicate checkpoint delays the reporting of the rest of the checkpoints [\#122](https://github.com/babylonchain/vigilante/issues/122) +- Generate new SegWit Bech32 change addresses for each submission after bumping btcd to v0.23.0 [\#107](https://github.com/babylonchain/vigilante/issues/107) + +**Merged pull requests:** + +- chore: circleci: Use go orb [\#166](https://github.com/babylonchain/vigilante/pull/166) ([vitsalis](https://github.com/vitsalis)) +- monitor: fix: Do not use reported checkpoint if there's an error [\#165](https://github.com/babylonchain/vigilante/pull/165) ([vitsalis](https://github.com/vitsalis)) +- chore: update deps with security issues [\#163](https://github.com/babylonchain/vigilante/pull/163) ([vitsalis](https://github.com/vitsalis)) +- fix: fix potential memory leak in BTCCache [\#160](https://github.com/babylonchain/vigilante/pull/160) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: Fix the issue of the monitor thread blocking the start of the rpc server [\#159](https://github.com/babylonchain/vigilante/pull/159) ([gitferry](https://github.com/gitferry)) +- feat: Add babylon-related metrics [\#158](https://github.com/babylonchain/vigilante/pull/158) ([gitferry](https://github.com/gitferry)) +- chore: Monitor/Optimize memory usage by removing confirmed blocks out of cache during bootstrapping [\#157](https://github.com/babylonchain/vigilante/pull/157) ([gitferry](https://github.com/gitferry)) +- fix: Monitor/Fix out-of-memory bug when the bootstrapping is far behind [\#155](https://github.com/babylonchain/vigilante/pull/155) ([gitferry](https://github.com/gitferry)) +- chore: Bump rpc-client version [\#152](https://github.com/babylonchain/vigilante/pull/152) ([gitferry](https://github.com/gitferry)) +- fix: pprof support and reduce mem usage of reporter [\#151](https://github.com/babylonchain/vigilante/pull/151) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Add metric server config [\#150](https://github.com/babylonchain/vigilante/pull/150) ([gitferry](https://github.com/gitferry)) +- fix: Fix bugs when testing with bitcoind regtest [\#149](https://github.com/babylonchain/vigilante/pull/149) ([gitferry](https://github.com/gitferry)) +- hotfix: Continue submitting checkpoints from the queue if one of them fails [\#148](https://github.com/babylonchain/vigilante/pull/148) ([vitsalis](https://github.com/vitsalis)) +- feat: Add monitor dockerization and remove private build [\#146](https://github.com/babylonchain/vigilante/pull/146) ([gitferry](https://github.com/gitferry)) + +## [v0.5.1](https://github.com/babylonchain/vigilante/tree/v0.5.1) (2023-02-07) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.5.0...v0.5.1) + +**Implemented enhancements:** + +- Submitter: hardcoded txfee [\#42](https://github.com/babylonchain/vigilante/issues/42) + +**Closed issues:** + +- reporter: Reporter running out of memory after a few days of running on the mainnet with 1GB RAM [\#88](https://github.com/babylonchain/vigilante/issues/88) + +## [v0.5.0](https://github.com/babylonchain/vigilante/tree/v0.5.0) (2023-02-03) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.4.0...v0.5.0) + +**Merged pull requests:** + +- feat: Add monitor mode [\#145](https://github.com/babylonchain/vigilante/pull/145) ([vitsalis](https://github.com/vitsalis)) +- Bump rpc-client to v0.5.0 and Babylon to v0.5.0 [\#144](https://github.com/babylonchain/vigilante/pull/144) ([vitsalis](https://github.com/vitsalis)) +- Release v0.5.0 [\#143](https://github.com/babylonchain/vigilante/pull/143) ([vitsalis](https://github.com/vitsalis)) +- chore: Monitor/Clean up the vigilante monitor [\#140](https://github.com/babylonchain/vigilante/pull/140) ([gitferry](https://github.com/gitferry)) +- Change to Apache 2.0 license [\#139](https://github.com/babylonchain/vigilante/pull/139) ([vitsalis](https://github.com/vitsalis)) +- Bump Babylon dependency [\#138](https://github.com/babylonchain/vigilante/pull/138) ([vitsalis](https://github.com/vitsalis)) +- fix: Monitor/Fix bugs in handling new BTC blocks [\#137](https://github.com/babylonchain/vigilante/pull/137) ([gitferry](https://github.com/gitferry)) +- fix: Monitor/Fix deadlock bugs in bootstrapping [\#136](https://github.com/babylonchain/vigilante/pull/136) ([gitferry](https://github.com/gitferry)) +- chore: Monitor/Add stop mechanism and fix linter [\#135](https://github.com/babylonchain/vigilante/pull/135) ([gitferry](https://github.com/gitferry)) +- feat: Monitor/Add liveness attack detection [\#134](https://github.com/babylonchain/vigilante/pull/134) ([gitferry](https://github.com/gitferry)) +- Bump btcd versions to fix 2 consensus issues [\#133](https://github.com/babylonchain/vigilante/pull/133) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Monitor/Add liveness checker [\#132](https://github.com/babylonchain/vigilante/pull/132) ([gitferry](https://github.com/gitferry)) +- feat: Monitor/Add block handler [\#131](https://github.com/babylonchain/vigilante/pull/131) ([gitferry](https://github.com/gitferry)) +- feat: Monitor/Add bootstrap process to scanner [\#130](https://github.com/babylonchain/vigilante/pull/130) ([gitferry](https://github.com/gitferry)) +- chore: Add aggressive linting with golangci-lint [\#129](https://github.com/babylonchain/vigilante/pull/129) ([vitsalis](https://github.com/vitsalis)) +- chore: move verifier logic to monitor [\#128](https://github.com/babylonchain/vigilante/pull/128) ([gitferry](https://github.com/gitferry)) +- Bump golang to 1.19 [\#127](https://github.com/babylonchain/vigilante/pull/127) ([vitsalis](https://github.com/vitsalis)) +- hotfix: Fix fee rate bug [\#126](https://github.com/babylonchain/vigilante/pull/126) ([gitferry](https://github.com/gitferry)) +- hotfix: Fix fee rate bug [\#125](https://github.com/babylonchain/vigilante/pull/125) ([gitferry](https://github.com/gitferry)) + +## [v0.4.0](https://github.com/babylonchain/vigilante/tree/v0.4.0) (2022-12-22) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.3.0...v0.4.0) + +**Closed issues:** + +- Submitter: error while submitting checkpoint to BTC if address is segwit [\#111](https://github.com/babylonchain/vigilante/issues/111) + +**Merged pull requests:** + +- chore: changed fee estimation failure from panic to default tx fee [\#124](https://github.com/babylonchain/vigilante/pull/124) ([gitferry](https://github.com/gitferry)) +- Release v0.4.0 [\#123](https://github.com/babylonchain/vigilante/pull/123) ([vitsalis](https://github.com/vitsalis)) +- chore: bump rpc-client to v0.2.0 [\#121](https://github.com/babylonchain/vigilante/pull/121) ([gitferry](https://github.com/gitferry)) +- chore: Replace babylonclient with rpc-client [\#120](https://github.com/babylonchain/vigilante/pull/120) ([gitferry](https://github.com/gitferry)) +- feat: add witness signature for segwit tx [\#119](https://github.com/babylonchain/vigilante/pull/119) ([gitferry](https://github.com/gitferry)) +- feat: add fee estimation [\#118](https://github.com/babylonchain/vigilante/pull/118) ([gitferry](https://github.com/gitferry)) +- submitter: use listunspent rpc api [\#115](https://github.com/babylonchain/vigilante/pull/115) ([gusin13](https://github.com/gusin13)) + +## [v0.3.0](https://github.com/babylonchain/vigilante/tree/v0.3.0) (2022-11-22) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.2.0...v0.3.0) + +**Merged pull requests:** + +- Release v0.3.0 [\#116](https://github.com/babylonchain/vigilante/pull/116) ([gusin13](https://github.com/gusin13)) + +## [v0.2.0](https://github.com/babylonchain/vigilante/tree/v0.2.0) (2022-11-17) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.1.2...v0.2.0) + +**Merged pull requests:** + +- Release v0.2.0 [\#114](https://github.com/babylonchain/vigilante/pull/114) ([vitsalis](https://github.com/vitsalis)) +- hotfix: Do not panic on an invalid checkpoint [\#112](https://github.com/babylonchain/vigilante/pull/112) ([gusin13](https://github.com/gusin13)) +- submitter: support bitcoind backend [\#110](https://github.com/babylonchain/vigilante/pull/110) ([gusin13](https://github.com/gusin13)) +- chore: Add add\_ssh\_keys step in CircleCI [\#109](https://github.com/babylonchain/vigilante/pull/109) ([vitsalis](https://github.com/vitsalis)) +- Release v0.1.1 [\#105](https://github.com/babylonchain/vigilante/pull/105) ([vitsalis](https://github.com/vitsalis)) +- feat: choose change address from local addresses and prefer SegWit Bech32 type to reduce tx fee [\#103](https://github.com/babylonchain/vigilante/pull/103) ([gitferry](https://github.com/gitferry)) +- fix: Install zmq libraries on the Docker images [\#102](https://github.com/babylonchain/vigilante/pull/102) ([vitsalis](https://github.com/vitsalis)) +- reporter: fuzz tests for btccache [\#98](https://github.com/babylonchain/vigilante/pull/98) ([gusin13](https://github.com/gusin13)) + +## [v0.1.2](https://github.com/babylonchain/vigilante/tree/v0.1.2) (2022-11-10) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.1.1...v0.1.2) + +**Merged pull requests:** + +- hotfix: Do not panic on an invalid checkpoint [\#106](https://github.com/babylonchain/vigilante/pull/106) ([vitsalis](https://github.com/vitsalis)) + +## [v0.1.1](https://github.com/babylonchain/vigilante/tree/v0.1.1) (2022-11-09) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.1.0...v0.1.1) + +**Merged pull requests:** + +- hotfix: Fix TooFewEntries bug on cache [\#104](https://github.com/babylonchain/vigilante/pull/104) ([vitsalis](https://github.com/vitsalis)) + +## [v0.1.0](https://github.com/babylonchain/vigilante/tree/v0.1.0) (2022-11-07) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/d4a48f931a6631ebcdece9c7fc6fa732ba81f901...v0.1.0) + +**Implemented enhancements:** + +- TestTag input is not human-readable and not configurable [\#53](https://github.com/babylonchain/vigilante/issues/53) +- Submitter: statefull submitter to avoid resending checkpoints for the same epoch [\#48](https://github.com/babylonchain/vigilante/issues/48) +- Submitter: investigate the possibility of chaining two BTC txs of a checkpoint via input [\#44](https://github.com/babylonchain/vigilante/issues/44) + +**Fixed bugs:** + +- Testnet error: insufficient priority when sending BTC tx [\#58](https://github.com/babylonchain/vigilante/issues/58) +- Submitter: failed to send BTC txs due to referencing orphan txs [\#40](https://github.com/babylonchain/vigilante/issues/40) +- reporter: BTC header submission to Babylon stalls if it passes verification [\#26](https://github.com/babylonchain/vigilante/issues/26) +- reporter: Sync fails if there are existing blocks in the BTC chain [\#25](https://github.com/babylonchain/vigilante/issues/25) +- reporter: Error when submitting BTC headers [\#24](https://github.com/babylonchain/vigilante/issues/24) + +**Closed issues:** + +- submitter: Only the earliest epoch sealed checkpoint is accepted if included in the same BTC block [\#76](https://github.com/babylonchain/vigilante/issues/76) +- reporter: bootstrapping: Submit multiple headers at once [\#60](https://github.com/babylonchain/vigilante/issues/60) +- Reporter: Investigate cause behind "account sequence mismatch error" [\#46](https://github.com/babylonchain/vigilante/issues/46) + +**Merged pull requests:** + +- Release/0.1.0 [\#101](https://github.com/babylonchain/vigilante/pull/101) ([vitsalis](https://github.com/vitsalis)) +- babylonclient: fuzz test for keys [\#96](https://github.com/babylonchain/vigilante/pull/96) ([SebastianElvis](https://github.com/SebastianElvis)) +- reporter: refactor reporter, datagen and fuzz tests on block handlers [\#95](https://github.com/babylonchain/vigilante/pull/95) ([SebastianElvis](https://github.com/SebastianElvis)) +- test: fuzz tests on IndexedBlock [\#94](https://github.com/babylonchain/vigilante/pull/94) ([SebastianElvis](https://github.com/SebastianElvis)) +- test: refactor and fuzz tests for checkpoint segments and pools [\#93](https://github.com/babylonchain/vigilante/pull/93) ([SebastianElvis](https://github.com/SebastianElvis)) +- reporter: setup zmq block subscription [\#92](https://github.com/babylonchain/vigilante/pull/92) ([gusin13](https://github.com/gusin13)) +- Fix deadlock due to incorrect mutex [\#91](https://github.com/babylonchain/vigilante/pull/91) ([gusin13](https://github.com/gusin13)) +- Modularize reporter bootstrapping process [\#90](https://github.com/babylonchain/vigilante/pull/90) ([gusin13](https://github.com/gusin13)) +- chore: submitter/improve the relayer [\#89](https://github.com/babylonchain/vigilante/pull/89) ([gitferry](https://github.com/gitferry)) +- chore: submitter/refactor poller [\#87](https://github.com/babylonchain/vigilante/pull/87) ([gitferry](https://github.com/gitferry)) +- chore: Update Babylon version and bond denomination [\#85](https://github.com/babylonchain/vigilante/pull/85) ([vitsalis](https://github.com/vitsalis)) +- reporter: handle re-orgs [\#84](https://github.com/babylonchain/vigilante/pull/84) ([gusin13](https://github.com/gusin13)) +- fix: Trim cache based on a valid slice [\#81](https://github.com/babylonchain/vigilante/pull/81) ([vitsalis](https://github.com/vitsalis)) +- chore: fix mock file directory in Makefile [\#80](https://github.com/babylonchain/vigilante/pull/80) ([SebastianElvis](https://github.com/SebastianElvis)) +- Move retry module from Vigilante to BBN [\#79](https://github.com/babylonchain/vigilante/pull/79) ([gusin13](https://github.com/gusin13)) +- Move retry config out of reporter so its accessible by other clients [\#78](https://github.com/babylonchain/vigilante/pull/78) ([gusin13](https://github.com/gusin13)) +- feat: Submitter/chaining utxo [\#75](https://github.com/babylonchain/vigilante/pull/75) ([gitferry](https://github.com/gitferry)) +- Allow the usage of indexed mainnet tags [\#74](https://github.com/babylonchain/vigilante/pull/74) ([vitsalis](https://github.com/vitsalis)) +- reporter: improving resilience [\#69](https://github.com/babylonchain/vigilante/pull/69) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: Submit proofs in order of their epoch number [\#68](https://github.com/babylonchain/vigilante/pull/68) ([vitsalis](https://github.com/vitsalis)) +- hotfix: bugs in submitheaders [\#66](https://github.com/babylonchain/vigilante/pull/66) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: submitter/add sent checkpoints [\#64](https://github.com/babylonchain/vigilante/pull/64) ([gitferry](https://github.com/gitferry)) +- reporter: submit headers with deduplication [\#63](https://github.com/babylonchain/vigilante/pull/63) ([SebastianElvis](https://github.com/SebastianElvis)) +- hotfix: change utxo list order [\#62](https://github.com/babylonchain/vigilante/pull/62) ([gitferry](https://github.com/gitferry)) +- hotfix: Submitting multiple headers fails if one is a duplicate [\#61](https://github.com/babylonchain/vigilante/pull/61) ([vitsalis](https://github.com/vitsalis)) +- fix: change balance bug [\#59](https://github.com/babylonchain/vigilante/pull/59) ([gitferry](https://github.com/gitferry)) +- feat: add configurable tag idx [\#57](https://github.com/babylonchain/vigilante/pull/57) ([gitferry](https://github.com/gitferry)) +- fix: Use BTC network name instead of configuration one [\#55](https://github.com/babylonchain/vigilante/pull/55) ([vitsalis](https://github.com/vitsalis)) +- btcclient: poll-based BTC client [\#52](https://github.com/babylonchain/vigilante/pull/52) ([SebastianElvis](https://github.com/SebastianElvis)) +- reporter: add exponential backoff in retry mechanism and other fixes [\#50](https://github.com/babylonchain/vigilante/pull/50) ([gusin13](https://github.com/gusin13)) +- reporter: bugfix of extracting ckpts [\#47](https://github.com/babylonchain/vigilante/pull/47) ([SebastianElvis](https://github.com/SebastianElvis)) +- reporter: add retry mechanism in header and checkpoint submission [\#45](https://github.com/babylonchain/vigilante/pull/45) ([gusin13](https://github.com/gusin13)) +- reporter: fix trimming cache size [\#39](https://github.com/babylonchain/vigilante/pull/39) ([SebastianElvis](https://github.com/SebastianElvis)) +- reporter: use temp `QueryContainsBytes` API and fix stalling issue [\#38](https://github.com/babylonchain/vigilante/pull/38) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: submitter/send sealed checkpoints to BTC [\#37](https://github.com/babylonchain/vigilante/pull/37) ([gitferry](https://github.com/gitferry)) +- Add instructions for creating a wallet and corresponding config entries [\#34](https://github.com/babylonchain/vigilante/pull/34) ([vitsalis](https://github.com/vitsalis)) +- reporter: multiple fixes on resolving corner cases [\#33](https://github.com/babylonchain/vigilante/pull/33) ([SebastianElvis](https://github.com/SebastianElvis)) +- doc: more fixes on documentations [\#32](https://github.com/babylonchain/vigilante/pull/32) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: vanilla test files [\#31](https://github.com/babylonchain/vigilante/pull/31) ([SebastianElvis](https://github.com/SebastianElvis)) +- ci: vanilla tests and CI [\#30](https://github.com/babylonchain/vigilante/pull/30) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: fix inconsistency of env variable names in README [\#29](https://github.com/babylonchain/vigilante/pull/29) ([SebastianElvis](https://github.com/SebastianElvis)) +- Add GOPRIVATE info in Readme [\#28](https://github.com/babylonchain/vigilante/pull/28) ([gusin13](https://github.com/gusin13)) +- fix: ModuleBasics not included when bootstrapping from config file [\#27](https://github.com/babylonchain/vigilante/pull/27) ([vitsalis](https://github.com/vitsalis)) +- fix: Change .yaml to .yml [\#23](https://github.com/babylonchain/vigilante/pull/23) ([vitsalis](https://github.com/vitsalis)) +- fix: Clarify local build instructions [\#22](https://github.com/babylonchain/vigilante/pull/22) ([vitsalis](https://github.com/vitsalis)) +- fix: Add submitter netparams to sample configs [\#21](https://github.com/babylonchain/vigilante/pull/21) ([vitsalis](https://github.com/vitsalis)) +- chore: default account prefix [\#20](https://github.com/babylonchain/vigilante/pull/20) ([SebastianElvis](https://github.com/SebastianElvis)) +- fix: Use proper Babylon directory on Docker images [\#19](https://github.com/babylonchain/vigilante/pull/19) ([vitsalis](https://github.com/vitsalis)) +- Update Babylon version and minor fixes [\#18](https://github.com/babylonchain/vigilante/pull/18) ([vitsalis](https://github.com/vitsalis)) +- reporter: consistency check and extract/forward ckpts during bootstrapping [\#17](https://github.com/babylonchain/vigilante/pull/17) ([SebastianElvis](https://github.com/SebastianElvis)) +- bootstrapping: download BTC blocks and forward headers to BBN [\#15](https://github.com/babylonchain/vigilante/pull/15) ([gusin13](https://github.com/gusin13)) +- docker: Docker image for submitter and reporter. Updated instructions [\#14](https://github.com/babylonchain/vigilante/pull/14) ([vitsalis](https://github.com/vitsalis)) +- submitter: separate constructor functions for BTC client [\#13](https://github.com/babylonchain/vigilante/pull/13) ([SebastianElvis](https://github.com/SebastianElvis)) +- submitter: query ckpt APIs and poller [\#12](https://github.com/babylonchain/vigilante/pull/12) ([SebastianElvis](https://github.com/SebastianElvis)) +- bootstrapping: moving the initialisation of BTC cache to reporter [\#11](https://github.com/babylonchain/vigilante/pull/11) ([SebastianElvis](https://github.com/SebastianElvis)) +- doc: documentations on the private dependency issue [\#10](https://github.com/babylonchain/vigilante/pull/10) ([SebastianElvis](https://github.com/SebastianElvis)) +- Bootstrapping - Sync latest BTC blocks and store in memory [\#9](https://github.com/babylonchain/vigilante/pull/9) ([gusin13](https://github.com/gusin13)) +- babylonclient: extract and forward checkpoints [\#8](https://github.com/babylonchain/vigilante/pull/8) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: update documentation [\#7](https://github.com/babylonchain/vigilante/pull/7) ([SebastianElvis](https://github.com/SebastianElvis)) +- babylon: vanilla code for submitting txs to Babylon [\#6](https://github.com/babylonchain/vigilante/pull/6) ([SebastianElvis](https://github.com/SebastianElvis)) +- btcclient: subscribing and handling new BTC blocks [\#5](https://github.com/babylonchain/vigilante/pull/5) ([SebastianElvis](https://github.com/SebastianElvis)) +- docker: Dockerfile [\#4](https://github.com/babylonchain/vigilante/pull/4) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: remove btc client dependency in submitter [\#3](https://github.com/babylonchain/vigilante/pull/3) ([SebastianElvis](https://github.com/SebastianElvis)) +- Vanilla Babylon client implementation [\#2](https://github.com/babylonchain/vigilante/pull/2) ([SebastianElvis](https://github.com/SebastianElvis)) +- vanilla vigilante codebase [\#1](https://github.com/babylonchain/vigilante/pull/1) ([SebastianElvis](https://github.com/SebastianElvis)) + + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh new file mode 100755 index 00000000..cb3e3674 --- /dev/null +++ b/scripts/update_changelog.sh @@ -0,0 +1,89 @@ +#!/bin/bash +# This is a wrapper around `github_changelog_generator` (https://github.com/github-changelog-generator) +# to simplify / automate updating of the CHANGELOG.md file. +# +# Originally developed for CosmWasm cw_plus (https://github.com/CosmWasm/cw-plus) repository. +set -o errexit -o pipefail + +ORIGINAL_OPTS=$* +# Requires getopt from util-linux 2.37.4 (brew install gnu-getopt on Mac) +OPTS=$(getopt -l "help,release-branch:,since-tag:,upcoming-tag:,full,token:" -o "hu:ft" -- "$@") || exit 1 + +function print_usage() { + echo -e "Usage: $0 [-h|--help] [-f|--full] [--release-branch ] [--since-tag ] [-u|--upcoming-tag] [-t|--token ] + +-h, --help Display help +-f, --full Process changes since the beginning (by default: since latest git version tag) +--release-branch Limit pull requests to the release branch . +--since-tag Process changes since git version tag (by default: since latest git version tag) +-u, --upcoming-tag Add a title in CHANGELOG for the new changes +--token Pass changelog github token " +} + +function remove_opt() { + ORIGINAL_OPTS=$(echo "$ORIGINAL_OPTS" | sed "s/\\B$1\\b//") +} + +eval set -- "$OPTS" +while true +do +case $1 in + -h|--help) + print_usage + exit 0 + ;; + --since-tag) + shift + TAG="$1" + ;; + -f|--full) + TAG="" + remove_opt $1 + ;; + -u|--upcoming-tag) + remove_opt $1 + shift + UPCOMING_TAG="$1" + remove_opt $1 + ;; + --) + shift + break + ;; +esac +shift +done + +# Get user and repo from ./.git/config +ORIGIN_URL=$(git config --local remote.origin.url) +GITHUB_USER=$(echo $ORIGIN_URL | sed -n 's#.*:\([^\/]*\)\/.*#\1#p') +echo "Github user: $GITHUB_USER" +GITHUB_REPO=$(echo $ORIGIN_URL | sed -n 's#.*/\(.*\)\.git#\1#p') +echo "Github repo: $GITHUB_REPO" + +if [ -z "$TAG" ] +then + # Use latest git version tag + TAG=$(git tag --sort=creatordate | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+' | tail -1) + ORIGINAL_OPTS="$ORIGINAL_OPTS --since-tag $TAG" +fi + +echo "Git version tag: $TAG" + +cp CHANGELOG.md /tmp/CHANGELOG.md.$$ +# Consolidate tag for matching changelog entries +TAG=$(echo "$TAG" | sed -e 's/-\([A-Za-z]*\)[^A-Za-z]*/-\1/' -e 's/-$//') +echo "Consolidated tag: $TAG" +sed -i -n "/^## \\[${TAG}[^]]*\\]/,\$p" CHANGELOG.md + +echo github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS || cp /tmp/CHANGELOG.md.$$ CHANGELOG.md +github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS || cp /tmp/CHANGELOG.md.$$ CHANGELOG.md + +if [ -n "$UPCOMING_TAG" ] +then + # Add "upcoming" version tag + TODAY=$(date "+%Y-%m-%d") + sed -i "s+\[Full Changelog\](https://github.com/$GITHUB_USER/$GITHUB_REPO/compare/\(.*\)\.\.\.HEAD)+[Full Changelog](https://github.com/$GITHUB_USER/$GITHUB_REPO/compare/$UPCOMING_TAG...HEAD)\n\n## [$UPCOMING_TAG](https://github.com/$GITHUB_USER/$GITHUB_REPO/tree/$UPCOMING_TAG) ($TODAY)\n\n[Full Changelog](https://github.com/$GITHUB_USER/$GITHUB_REPO/compare/\1...$UPCOMING_TAG)+" CHANGELOG.md +fi + +rm -f /tmp/CHANGELOG.md.$$ From 76389f93cc6b45e4f8b4909e1df8555e3809c078 Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Thu, 8 Feb 2024 12:22:02 +0100 Subject: [PATCH 02/15] Add update changelog target --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 549907d4..8cc5b3c1 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,14 @@ endif BUILD_TARGETS := build install BUILD_FLAGS := --tags "$(build_tags)" --ldflags '$(ldflags)' +# Update changelog vars +ifneq (,$(SINCE_TAG)) + sinceTag := --since-tag $(SINCE_TAG) +endif +ifneq (,$(UPCOMING_TAG)) + upcomingTag := --upcoming-tag $(UPCOMING_TAG) +endif + all: build install build: BUILD_ARGS := $(build_args) -o $(BUILDDIR) @@ -65,4 +73,8 @@ mocks: $(MOCKGEN_CMD) -source=btcstaking-tracker/atomicslasher/expected_babylon_client.go -package atomicslasher -destination btcstaking-tracker/atomicslasher/mock_babylon_client.go $(MOCKGEN_CMD) -source=btcstaking-tracker/unbondingwatcher/expected_babylon_client.go -package unbondingwatcher -destination btcstaking-tracker/unbondingwatcher/mock_babylon_client.go -.PHONY: build test test-e2e build-docker rm-docker mocks +update-changelog: + @echo ./scripts/update_changelog.sh $(sinceTag) $(upcomingTag) + ./scripts/update_changelog.sh $(sinceTag) $(upcomingTag) + +.PHONY: build test test-e2e build-docker rm-docker mocks update-changelog From 41c0f4f817ca7ed9712276bb1d639385eb435367 Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Thu, 8 Feb 2024 12:29:39 +0100 Subject: [PATCH 03/15] Fix: CHANGELOG header --- CHANGELOG.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ce62f6a..27c8c998 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # Changelog -## [Unreleased](https://github.com/babylonchain/vigilante/tree/HEAD) +## [v0.8.0](https://github.com/babylonchain/vigilante/tree/v0.8.0) (2024-02-08) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.7.0...v0.8.0) -[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.8.0...HEAD) **Merged pull requests:** @@ -28,10 +29,6 @@ - feat: Enable Replace By Fee [\#170](https://github.com/babylonchain/vigilante/pull/170) ([vitsalis](https://github.com/vitsalis)) - CI: Build and push images to ECR [\#169](https://github.com/babylonchain/vigilante/pull/169) ([filippos47](https://github.com/filippos47)) -## [v0.8.0](https://github.com/babylonchain/vigilante/tree/v0.8.0) (2024-02-08) - -[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.7.0...v0.8.0) - **Implemented enhancements:** - Waste of previous BTC checkpoint transactions when new UTXOs are spent [\#175](https://github.com/babylonchain/vigilante/issues/175) From 0ed64777e3705b5cac66c28a636a3ce47b7e7f00 Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Wed, 14 Feb 2024 09:43:09 +0100 Subject: [PATCH 04/15] Replace --upcoming-tag by (standard) --future-release --- scripts/update_changelog.sh | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh index cb3e3674..94ead4a7 100755 --- a/scripts/update_changelog.sh +++ b/scripts/update_changelog.sh @@ -7,16 +7,16 @@ set -o errexit -o pipefail ORIGINAL_OPTS=$* # Requires getopt from util-linux 2.37.4 (brew install gnu-getopt on Mac) -OPTS=$(getopt -l "help,release-branch:,since-tag:,upcoming-tag:,full,token:" -o "hu:ft" -- "$@") || exit 1 +OPTS=$(getopt -l "help,release-branch:,since-tag:,future-release:,full,token:" -o "hft" -- "$@") || exit 1 function print_usage() { - echo -e "Usage: $0 [-h|--help] [-f|--full] [--release-branch ] [--since-tag ] [-u|--upcoming-tag] [-t|--token ] + echo -e "Usage: $0 [-h|--help] [-f|--full] [--release-branch ] [--since-tag ] [--future-release] [-t|--token ] -h, --help Display help -f, --full Process changes since the beginning (by default: since latest git version tag) ---release-branch Limit pull requests to the release branch . --since-tag Process changes since git version tag (by default: since latest git version tag) --u, --upcoming-tag Add a title in CHANGELOG for the new changes +--future-release Put the unreleased changes in the specified +--release-branch Limit pull requests to the release branch . --token Pass changelog github token " } @@ -40,12 +40,6 @@ case $1 in TAG="" remove_opt $1 ;; - -u|--upcoming-tag) - remove_opt $1 - shift - UPCOMING_TAG="$1" - remove_opt $1 - ;; --) shift break @@ -79,11 +73,4 @@ sed -i -n "/^## \\[${TAG}[^]]*\\]/,\$p" CHANGELOG.md echo github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS || cp /tmp/CHANGELOG.md.$$ CHANGELOG.md github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS || cp /tmp/CHANGELOG.md.$$ CHANGELOG.md -if [ -n "$UPCOMING_TAG" ] -then - # Add "upcoming" version tag - TODAY=$(date "+%Y-%m-%d") - sed -i "s+\[Full Changelog\](https://github.com/$GITHUB_USER/$GITHUB_REPO/compare/\(.*\)\.\.\.HEAD)+[Full Changelog](https://github.com/$GITHUB_USER/$GITHUB_REPO/compare/$UPCOMING_TAG...HEAD)\n\n## [$UPCOMING_TAG](https://github.com/$GITHUB_USER/$GITHUB_REPO/tree/$UPCOMING_TAG) ($TODAY)\n\n[Full Changelog](https://github.com/$GITHUB_USER/$GITHUB_REPO/compare/\1...$UPCOMING_TAG)+" CHANGELOG.md -fi - rm -f /tmp/CHANGELOG.md.$$ From 9811d853be9cc28e8414a52e406266da04412a3b Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Wed, 14 Feb 2024 09:43:51 +0100 Subject: [PATCH 05/15] Update CHANGELOG --- CHANGELOG.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27c8c998..3ce62f6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,8 @@ # Changelog -## [v0.8.0](https://github.com/babylonchain/vigilante/tree/v0.8.0) (2024-02-08) - -[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.7.0...v0.8.0) +## [Unreleased](https://github.com/babylonchain/vigilante/tree/HEAD) +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.8.0...HEAD) **Merged pull requests:** @@ -29,6 +28,10 @@ - feat: Enable Replace By Fee [\#170](https://github.com/babylonchain/vigilante/pull/170) ([vitsalis](https://github.com/vitsalis)) - CI: Build and push images to ECR [\#169](https://github.com/babylonchain/vigilante/pull/169) ([filippos47](https://github.com/filippos47)) +## [v0.8.0](https://github.com/babylonchain/vigilante/tree/v0.8.0) (2024-02-08) + +[Full Changelog](https://github.com/babylonchain/vigilante/compare/v0.7.0...v0.8.0) + **Implemented enhancements:** - Waste of previous BTC checkpoint transactions when new UTXOs are spent [\#175](https://github.com/babylonchain/vigilante/issues/175) From 8bb1586d76e3a1d823c74d5186dd10e67280239c Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Wed, 14 Feb 2024 10:03:07 +0100 Subject: [PATCH 06/15] Fix: Improve repo extraction --- scripts/update_changelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh index 94ead4a7..677e0f81 100755 --- a/scripts/update_changelog.sh +++ b/scripts/update_changelog.sh @@ -52,7 +52,7 @@ done ORIGIN_URL=$(git config --local remote.origin.url) GITHUB_USER=$(echo $ORIGIN_URL | sed -n 's#.*:\([^\/]*\)\/.*#\1#p') echo "Github user: $GITHUB_USER" -GITHUB_REPO=$(echo $ORIGIN_URL | sed -n 's#.*/\(.*\)\.git#\1#p') +GITHUB_REPO=$(echo $ORIGIN_URL | sed -n 's#.*/\([^.]*\).*#\1#p') echo "Github repo: $GITHUB_REPO" if [ -z "$TAG" ] From 7b7a3211350c0f4b5c7f08a14d0f1f61fedf9eaa Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Wed, 14 Feb 2024 10:03:53 +0100 Subject: [PATCH 07/15] Fix: Add empty CHANGELOG if it does not exist --- scripts/update_changelog.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh index 677e0f81..58875648 100755 --- a/scripts/update_changelog.sh +++ b/scripts/update_changelog.sh @@ -64,6 +64,7 @@ fi echo "Git version tag: $TAG" +touch CHANGELOG.md cp CHANGELOG.md /tmp/CHANGELOG.md.$$ # Consolidate tag for matching changelog entries TAG=$(echo "$TAG" | sed -e 's/-\([A-Za-z]*\)[^A-Za-z]*/-\1/' -e 's/-$//') From 638e84577b799079fc37fa22212f91c72d5c15d3 Mon Sep 17 00:00:00 2001 From: Mauro Lacy Date: Wed, 14 Feb 2024 11:48:37 +0100 Subject: [PATCH 08/15] Fix: update changelog Makefile target --- Makefile | 2 +- scripts/update_changelog.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 8cc5b3c1..c70cc7ed 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ ifneq (,$(SINCE_TAG)) sinceTag := --since-tag $(SINCE_TAG) endif ifneq (,$(UPCOMING_TAG)) - upcomingTag := --upcoming-tag $(UPCOMING_TAG) + upcomingTag := --future-release $(UPCOMING_TAG) endif all: build install diff --git a/scripts/update_changelog.sh b/scripts/update_changelog.sh index 58875648..cb35c5c1 100755 --- a/scripts/update_changelog.sh +++ b/scripts/update_changelog.sh @@ -12,12 +12,12 @@ OPTS=$(getopt -l "help,release-branch:,since-tag:,future-release:,full,token:" - function print_usage() { echo -e "Usage: $0 [-h|--help] [-f|--full] [--release-branch ] [--since-tag ] [--future-release] [-t|--token ] --h, --help Display help --f, --full Process changes since the beginning (by default: since latest git version tag) ---since-tag Process changes since git version tag (by default: since latest git version tag) ---future-release Put the unreleased changes in the specified +-h, --help Display help. +-f, --full Process changes since the beginning (by default: since latest git version tag). +--since-tag Process changes since git version tag (by default: since latest git version tag). +--future-release Put the unreleased changes in the specified . --release-branch Limit pull requests to the release branch . ---token Pass changelog github token " +--token Pass changelog github token ." } function remove_opt() { From 907a98cab235c660e18bb47e447a4e8a9407f702 Mon Sep 17 00:00:00 2001 From: Rafael Tenfen Date: Wed, 21 Feb 2024 10:29:33 -0300 Subject: [PATCH 09/15] chore: add requirement for pkg libzmq and update go version (#208) - add the requirement for pkg `libzmq` which was installed with `apt-get install libzmq3-dev` - update go lang version on readme to match `go.mod` - fix missing directive into sample yml --- README.md | 13 +++++++++---- sample-vigilante.yml | 7 +++++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1da0dd98..7942891f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,12 @@ Vigilante program for Babylon ## Requirements -- Go 1.19 +- Go 1.21 +- Package [libzmq](https://github.com/zeromq/libzmq) + +### Testing requirements + +- [btcd](https://github.com/btcsuite/btcd/tree/master?tab=readme-ov-file#installation) bins ## Building @@ -119,7 +124,7 @@ Create an address that will be later used for mining. The output below is a samp $ btcctl --simnet --wallet -u rpcuser -P rpcpass \ --rpccert $TESTNET_PATH/bitcoin/rpc-wallet.cert \ --rpcserver 127.0.0.1 getnewaddress - + SQqHYFTSPh8WAyJvzbAC8hoLbF12UVsE5s ``` @@ -171,13 +176,13 @@ mkdir $TESTNET_PATH/vigilante Initially, copy the sample configuration ```shell cp sample-vigilante.yml $TESTNET_PATH/vigilante/vigilante.yml -nano $TESTNET_PATH/vigilante/vigilante.yml # edit the config file to replace $TESTNET instances +nano $TESTNET_PATH/vigilante/vigilante.yml # edit the config file to replace $TESTNET instances ``` ```shell go run $VIGILANTE_PATH/cmd/main.go reporter \ --config $TESTNET_PATH/vigilante/vigilante.yml \ - --babylon-key $BABYLON_PATH/.testnet/node0/babylond + --babylon-key-dir $BABYLON_PATH/.testnet/node0/babylond ``` #### Running the vigilante submitter diff --git a/sample-vigilante.yml b/sample-vigilante.yml index 117667f4..03d0b2da 100644 --- a/sample-vigilante.yml +++ b/sample-vigilante.yml @@ -70,3 +70,10 @@ monitor: enable-liveness-checker: true enable-slasher: true btcnetparams: simnet +btcstaking-tracker: + check-delegations-interval: 1m + delegations-batch-size: 100 + check-if-delegation-active-interval: 5m + retry-submit-unbonding-interval: 1m + max-jitter-interval: 30s + btcnetparams: simnet From dfa1c0cd3ea2a7c790a378dc8a0e35baefe3b6e1 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Tue, 27 Feb 2024 14:14:20 +1100 Subject: [PATCH 10/15] doc: documentation for BTC staking tracker (#212) Fixes [BM-1026](https://babylon-chain.atlassian.net/browse/BM-1026) This PR provides the first version of the spec doc for BTC staking tracker. This version is not detailed, mostly aiming for figuring out what will the vigilante doc look like. After this version, I can think of the following improvements for vigilante docs (in subsequent PRs): - [ ] Add more references to make the context clear. Currently it assumes the reader has read most of the documents in Babylon side. - [ ] We need a crispy presentation of the atomic slashing mechanism based on adaptor signatures. - [ ] Some architecture documents for positioning Bitcoin, vigilantes, Babylon in the entire system. - [ ] More formal presentations with references to code files. --- README.md | 61 +++++++++++++++---- btcstaking-tracker/README.md | 112 +++++++++++++++++++++++++++++++++++ monitor/README.md | 3 + 3 files changed, 166 insertions(+), 10 deletions(-) create mode 100644 btcstaking-tracker/README.md create mode 100644 monitor/README.md diff --git a/README.md b/README.md index 7942891f..5eb1348d 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,24 @@ # vigilante -Vigilante program for Babylon +This repository contains vigilante programs for Babylon. They are daemon programs that relay information between Babylon and Bitcoin for facilitating the Bitcoin timestamping protocol and the Bitcoin staking protocol. + +There are four vigilante programs: + +- [Submitter](./submitter/README.md): submitting Babylon checkpoints to Bitcoin. +- [Reporter](./reporter/README.md): reporting Bitcoin headers and Babylon checkpoints to Babylon. +- [BTC timestamping monitor](./monitor/README.md): monitoring censorship of Babylon checkpoints in Babylon. +- [BTC staking tracker](./btcstaking-tracker/README.md): monitoring early unbonding of BTC delegations and slashing adversarial finality providers. ## Requirements - Go 1.21 - Package [libzmq](https://github.com/zeromq/libzmq) - -### Testing requirements - -- [btcd](https://github.com/btcsuite/btcd/tree/master?tab=readme-ov-file#installation) bins +- [btcd](https://github.com/btcsuite/btcd/tree/master?tab=readme-ov-file#installation) binaries (only for testing) ## Building In order to build the vigilante, + ```shell make build ``` @@ -21,6 +26,7 @@ make build ## Running the vigilante For the following: + ```shell BABYLON_PATH="path_where_babylon_is_built" # example: $HOME/Projects/Babylon/babylon VIGILANTE_PATH="root_vigilante_dir" # example: $HOME/Projects/Babylon/vigilante @@ -43,6 +49,7 @@ $BABYLON_PATH/build/babylond testnet \ ``` Using this configuration, start the testnet for the single node. + ```shell $BABYLON_PATH/build/babylond start --home $TESTNET_PATH/node0/babylond ``` @@ -100,6 +107,7 @@ Leave this process running. Then, create a simnet Bitcoin wallet. If you want to use the default vigilante file, then give the password `walletpass`. Otherwise, make sure to edit the `vigilante.yaml` to reflect the correct password. + ```shell btcwallet --simnet -u rpcuser -P rpcpass \ --rpccert $TESTNET_PATH/bitcoin/rpc-wallet.cert --rpckey $TESTNET_PATH/bitcoin/rpc-wallet.key \ @@ -111,15 +119,18 @@ The above instruction is going to prompt you for a password and going to give yo Store those securely. Afterwards, start the wallet service listening to port `18554`: + ```shell btcwallet --simnet -u rpcuser -P rpcpass --rpclisten=127.0.0.1:18554 \ --rpccert $TESTNET_PATH/bitcoin/rpc-wallet.cert --rpckey $TESTNET_PATH/bitcoin/rpc-wallet.key \ --cafile $TESTNET_PATH/bitcoin/rpc.cert ``` + Leave this process running. If you get an error that a wallet already exists and you still want to create one, delete the `wallet.db` file located in the path displayed by the error message. Create an address that will be later used for mining. The output below is a sample one. + ```shell $ btcctl --simnet --wallet -u rpcuser -P rpcpass \ --rpccert $TESTNET_PATH/bitcoin/rpc-wallet.cert \ @@ -130,24 +141,27 @@ SQqHYFTSPh8WAyJvzbAC8hoLbF12UVsE5s Finally, restart the btcd service with the new address. First, kill the `btcd` process that you started in the first step, and then: -```sh + +```shell btcd --simnet --rpclisten 127.0.0.1:18556 --rpcuser rpcuser --rpcpass rpcpass \ --rpccert $TESTNET_PATH/bitcoin/rpc.cert --rpckey $TESTNET_PATH/bitcoin/rpc.key \ --miningaddr $MINING_ADDRESS ``` -where `$MINING_ADDRESS` is the address that you got as an output in the previous command. +where `$MINING_ADDRESS` is the address that you got as an output in the previous command. #### Generating BTC blocks While running this setup, one might want to generate BTC blocks. We accomplish that through the btcd `btcctl` utility and the use of the parameters we defined above. + ```shell btcctl --simnet --wallet --rpcuser=rpcuser --rpcpass=rpcpass \ --rpccert=$TESTNET_PATH/bitcoin/rpc-wallet.cert \ generate $NUM_BLOCKS ``` + where `$NUM_BLOCKS` is the number of blocks you want to generate. Not that in order to spend the mining rewards, at least 100 blocks should be @@ -174,6 +188,7 @@ mkdir $TESTNET_PATH/vigilante #### Running the vigilante reporter Initially, copy the sample configuration + ```shell cp sample-vigilante.yml $TESTNET_PATH/vigilante/vigilante.yml nano $TESTNET_PATH/vigilante/vigilante.yml # edit the config file to replace $TESTNET instances @@ -204,11 +219,23 @@ go run $VIGILANTE_PATH/cmd/main.go monitor \ --config $TESTNET_PATH/vigilante/vigilante.yml ``` +#### Running the BTC staking tracker + +We first need to ensure that a BTC full node and the Babylon node that we want to monitor are started running. + +Then we start the BTC staking tracker: + +```shell +go run $VIGILANTE_PATH/cmd/main.go bstracker \ + --config $TESTNET_PATH/vigilante/vigilante.yml +``` + ### Running the vigilante using Docker -#### Running the vigilante reporter +#### Running the vigilante reporter in Docker container Initially, build a Docker image named `babylonchain/vigilante-reporter` + ```shell cp sample-vigilante-docker.yml $TESTNET_PATH/vigilante/vigilante.yml make reporter-build @@ -225,9 +252,10 @@ docker run --rm \ babylonchain/vigilante-reporter ``` -#### Running the vigilante submitter +#### Running the vigilante submitter in Docker container Follow the same steps as above, but with the `babylonchain/vigilante-submitter` Docker image. + ```shell docker run --rm \ -v $TESTNET_PATH/bitcoin:/bitcoin \ @@ -236,9 +264,10 @@ docker run --rm \ babylonchain/vigilante-submitter ``` -#### Running the vigilante monitor +#### Running the vigilante monitor in Docker container Follow the same steps as above, but with the `babylonchain/vigilante-monitor` Docker image. + ```shell docker run --rm \ -v $TESTNET_PATH/bitcoin:/bitcoin \ @@ -247,6 +276,18 @@ docker run --rm \ babylonchain/vigilante-monitor ``` +#### Running the BTC staking tracker in Docker container + +Follow the same steps as above, but with the `babylonchain/btc-staking-tracker` Docker image. + +```shell +docker run --rm \ + -v $TESTNET_PATH/bitcoin:/bitcoin \ + -v $TESTNET_PATH/node0/babylond:/babylon \ + -v $TESTNET_PATH/vigilante:/vigilante \ + babylonchain/btc-staking-tracker +``` + #### buildx The above `Dockerfile`s are also compatible with Docker's [buildx feature](https://docs.docker.com/desktop/multi-arch/) diff --git a/btcstaking-tracker/README.md b/btcstaking-tracker/README.md new file mode 100644 index 00000000..7d6a9eff --- /dev/null +++ b/btcstaking-tracker/README.md @@ -0,0 +1,112 @@ +# BTC staking tracker + +This package provides the implementation of the BTC staking tracker. + +- [Overview](#overview) +- [Dependencies](#dependencies) +- [Routines](#routines) + - [Unbonding watcher routine](#unbonding-watcher-routine) + - [BTC slasher routine](#btc-slasher-routine) + - [Atomic slasher routine](#atomic-slasher-routine) + +## Overview + +BTC staking tracker is a daemon program that relays information between Babylon +and Bitcoin for facilitating the Bitcoin staking protocol. This includes three +routines: + +- [Unbonding watcher routine](./unbondingwatcher/): upon observing an unbonding + transaction of a BTC delegation on Bitcoin, the routine reports the + transaction's signature from the staker to Babylon, such that Babylon will + unbond the BTC delegation on its side. +- [BTC slasher](./btcslasher/): upon observing a slashable offence launched by a + finality provider, the routine slashes the finality provider and its BTC + delegations. +- [Atomic slasher](./atomicslasher/): upon observing a selective slashing + offence where the finality provider maliciously signs and submits a BTC + delegation's slashing transaction to Bitcoin, the routine reports the offence + to BTC slasher and Babylon. + +## Dependencies + +The BTC staking tracker includes the following dependencies: + +- A BTC client for querying Bitcoin blocks/transactions. +- A BTC notifier for getting new events (mainly new BTC blocks) in Bitcoin. +- A Babylon client for submitting transactions to and querying Babylon. + +## Routines + +### Unbonding watcher routine + +The unbonding watcher routine aims to notify Babylon about early unbonding +events of BTC delegations. It includes the following subroutines: + +- `handleNewBlocks` routine: Upon each new BTC block, save its height as the + Bitcoin's tip height +- `fetchDelegations` routine: Periodically, fetch all active BTC delegations + from Babylon, and send them to the `handleDelegations` routine. +- `handleDelegations` routine: + - Upon each new BTC delegation, spawn a new goroutine watching the event that + the BTC delegation's unbonding transaction occurs on Bitcoin. + - Upon a BTC delegation is expired, stop tracking the BTC delegation. +- Upon seeing an unbonding transaction of a BTC delegation on Bitcoin, notify + Babylon that the corresponding BTC delegation is unbonded via a + `MsgBTCUndelegate` message. + +### BTC slasher routine + +The BTC slasher routine aims to slash adversarial finality providers and their +BTC delegations. The slashable offences launched by finality providers include + +- *Equivocation* where the finality provider signs two conflicting blocks at the +same height, and +- *Selective slashing* where the finality provider signs the slashing + transaction of a victim BTC delegation and submits it to Bitcoin. + +The BTC slasher includes the following subroutines: + +- a routine that subscribes to Babylon and forwards all events about finality + signatures to the `equivocationTracker` routine. +- `equivocationTracker` routine: Upon an event of a finality signature, + 1. Check if the event contains an evidence of equivocation. + 2. If yes, then forward the event to the use the extractable one-time + signature's extractability property to extract the equivocating finality + provider's secret key. + 3. Forward the secret key to the `slashingEnforcer` routine. +- `slashingEnforcer` routine: upon a slashed finality provider's secret key, + 1. Find all BTC delegations that are active or unbonding under this finality + provider + 2. Try to submit the slashing and unbonding slashing transactions of these BTC + delegations to Bitcoin. + +### Atomic slasher routine + +The atomic slasher routine aims to slash finality providers that have conducted +selective slashing offences. In a selective slashing offence, the finality +provider maliciously signs and submits a BTC delegation's slashing transaction +to Bitcoin, without affecting other BTC delegations. Babylon circumvents the +selective slashing offences by enforcing the *atomic slashing* property: if one +BTC delegation is slashed, all other BTC delegations under this finality +provider will be slashed as well. This is achieved by using a cryptographic +primitive called [adaptor +signature](https://bitcoinops.org/en/topics/adaptor-signatures/). The atomic +slasher includes the following routines: + + + +- `btcDelegationTracker` routine: periodically retrieves all BTC delegations and + saves them to a `BTCDelegationIndex` cache. +- `slashingTxTracker` routine: upon a BTC block, + 1. For each transaction, check whether it is a slashing transaction in the + `BTCDelegationIndex` cache. + 2. If a transaction is identified as a slashing transaction, send it to the + `selectiveSlashingReporter` routine. +- `selectiveSlashingReporter` routine: upon a slashing transaction, + 2. Retrieve the BTC delegation and its finality provider from Babylon. + 3. If the finality provider is slashed, skip this BTC delegation. + 4. Try to extract the finality provider's secret key by comparing the covenant + Schnorr signatures in the slashing transaction and the covenant adaptor + signatures. + 5. If successful, then report the selective slashing offence to Babylon, and + forward the extracted secret key to the BTC slasher routine. diff --git a/monitor/README.md b/monitor/README.md new file mode 100644 index 00000000..7f15623a --- /dev/null +++ b/monitor/README.md @@ -0,0 +1,3 @@ +# BTC timestamping monitor + +This package implements the BTC timestamping monitor. From d44b61bb99034a12fe32e680f74c4a82fc54098e Mon Sep 17 00:00:00 2001 From: Rafael Tenfen Date: Tue, 19 Mar 2024 23:03:03 -0300 Subject: [PATCH 11/15] chore: update babylon to dev branch compatible (#213) - Bump babylon import to [dev branch](https://github.com/babylonchain/babylon/commit/79615c6b057de041a9f4c1c4466ef212a0c678d6) --------- Co-authored-by: Runchao Han --- .../atomicslasher/babylon_adapter.go | 4 +- btcstaking-tracker/atomicslasher/routines.go | 8 +- btcstaking-tracker/atomicslasher/types.go | 27 +- .../btcslasher/bootstrapping_test.go | 16 +- btcstaking-tracker/btcslasher/slasher.go | 8 +- btcstaking-tracker/btcslasher/slasher_test.go | 24 +- .../btcslasher/slasher_utils.go | 250 ++++++++++++++++-- .../expected_babylon_client.go | 8 +- e2etest/atomicslasher_e2e_test.go | 25 +- e2etest/reporter_e2e_test.go | 2 +- e2etest/submitter_e2e_test.go | 8 +- e2etest/test_manager_btcstaking.go | 2 +- e2etest/unbondingwatcher_e2e_test.go | 4 +- go.mod | 2 +- go.sum | 2 + metrics/btcstaking_tracker.go | 2 +- monitor/liveness_checker_test.go | 4 +- monitor/monitor.go | 5 +- monitor/monitor_test.go | 4 +- monitor/query_test.go | 2 +- reporter/bootstrapping.go | 9 +- submitter/poller/poller.go | 6 +- submitter/poller/poller_test.go | 8 +- submitter/relayer/relayer.go | 20 +- tools/go.mod | 2 +- tools/go.sum | 4 +- types/genesis_info.go | 2 +- 27 files changed, 345 insertions(+), 113 deletions(-) diff --git a/btcstaking-tracker/atomicslasher/babylon_adapter.go b/btcstaking-tracker/atomicslasher/babylon_adapter.go index f9784336..a3164f50 100644 --- a/btcstaking-tracker/atomicslasher/babylon_adapter.go +++ b/btcstaking-tracker/atomicslasher/babylon_adapter.go @@ -78,7 +78,7 @@ func (ba *BabylonAdapter) BTCDelegation(ctx context.Context, stakingTxHashHex st } // TODO: avoid getting expired BTC delegations -func (ba *BabylonAdapter) HandleAllBTCDelegations(handleFunc func(btcDel *bstypes.BTCDelegation) error) error { +func (ba *BabylonAdapter) HandleAllBTCDelegations(handleFunc func(btcDel *bstypes.BTCDelegationResponse) error) error { pagination := query.PageRequest{Limit: ba.cfg.NewDelegationsBatchSize} for { @@ -111,7 +111,7 @@ func (ba *BabylonAdapter) IsFPSlashed( return false, err } - return fpResp.FinalityProvider.IsSlashed(), nil + return fpResp.FinalityProvider.SlashedBabylonHeight > 0, nil } func (ba *BabylonAdapter) ReportSelectiveSlashing( diff --git a/btcstaking-tracker/atomicslasher/routines.go b/btcstaking-tracker/atomicslasher/routines.go index da9d9653..83db6672 100644 --- a/btcstaking-tracker/atomicslasher/routines.go +++ b/btcstaking-tracker/atomicslasher/routines.go @@ -19,7 +19,7 @@ func (as *AtomicSlasher) btcDelegationTracker() { for { select { case <-ticker.C: - err := as.bbnAdapter.HandleAllBTCDelegations(func(btcDel *bstypes.BTCDelegation) error { + err := as.bbnAdapter.HandleAllBTCDelegations(func(btcDel *bstypes.BTCDelegationResponse) error { trackedDel, err := NewTrackedBTCDelegation(btcDel) if err != nil { return err @@ -125,7 +125,7 @@ func (as *AtomicSlasher) selectiveSlashingReporter() { covSigMap, fpIdx, fpPK, err := parseSlashingTxWitness( witnessStack, bsParams.CovenantPks, - btcDelResp.FpBtcPkList, + btcDelResp.BtcDelegation.FpBtcPkList, ) if err != nil { as.logger.Error( @@ -163,9 +163,9 @@ func (as *AtomicSlasher) selectiveSlashingReporter() { // covenant adaptor signatures and covenant Schnorr signatures var fpSK *btcec.PrivateKey if slashingTxInfo.IsSlashStakingTx() { - fpSK, err = tryExtractFPSK(covSigMap, fpIdx, fpPK, btcDelResp.CovenantSigs) + fpSK, err = tryExtractFPSK(covSigMap, fpIdx, fpPK, btcDelResp.BtcDelegation.CovenantSigs) } else { - covUnbondingSlashingSigList := btcDelResp.UndelegationInfo.CovenantSlashingSigs + covUnbondingSlashingSigList := btcDelResp.BtcDelegation.UndelegationResponse.CovenantSlashingSigs fpSK, err = tryExtractFPSK(covSigMap, fpIdx, fpPK, covUnbondingSlashingSigList) } if err != nil { diff --git a/btcstaking-tracker/atomicslasher/types.go b/btcstaking-tracker/atomicslasher/types.go index e9a5c314..f8f87be8 100644 --- a/btcstaking-tracker/atomicslasher/types.go +++ b/btcstaking-tracker/atomicslasher/types.go @@ -43,25 +43,34 @@ type TrackedDelegation struct { UnbondingSlashingTxHash chainhash.Hash } -func NewTrackedBTCDelegation(btcDel *bstypes.BTCDelegation) (*TrackedDelegation, error) { - stakingTxHash, err := btcDel.GetStakingTxHash() +func NewTrackedBTCDelegation(btcDel *bstypes.BTCDelegationResponse) (*TrackedDelegation, error) { + stakingTxHash, _, err := bbn.NewBTCTxFromHex(btcDel.StakingTxHex) if err != nil { return nil, err } - slashingTx, err := btcDel.SlashingTx.ToMsgTx() + + slashTx, err := bstypes.NewBTCSlashingTxFromHex(btcDel.SlashingTxHex) if err != nil { return nil, err } - slashingTxHash := slashingTx.TxHash() - unbondingSlashingTx, err := btcDel.BtcUndelegation.SlashingTx.ToMsgTx() + slashingTx, err := slashTx.ToMsgTx() + if err != nil { + return nil, err + } + + unbondingSlashTx, err := bstypes.NewBTCSlashingTxFromHex(btcDel.UndelegationResponse.SlashingTxHex) if err != nil { return nil, err } - unbondingSlashingTxHash := unbondingSlashingTx.TxHash() + unbondingSlashingTx, err := unbondingSlashTx.ToMsgTx() + if err != nil { + return nil, err + } + return &TrackedDelegation{ - StakingTxHash: stakingTxHash, - SlashingTxHash: slashingTxHash, - UnbondingSlashingTxHash: unbondingSlashingTxHash, + StakingTxHash: stakingTxHash.TxHash(), + SlashingTxHash: slashingTx.TxHash(), + UnbondingSlashingTxHash: unbondingSlashingTx.TxHash(), }, nil } diff --git a/btcstaking-tracker/btcslasher/bootstrapping_test.go b/btcstaking-tracker/btcslasher/bootstrapping_test.go index 886ce830..f142c913 100644 --- a/btcstaking-tracker/btcslasher/bootstrapping_test.go +++ b/btcstaking-tracker/btcslasher/bootstrapping_test.go @@ -67,10 +67,6 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { btcSlasher, err := btcslasher.New(logger, mockBTCClient, mockBabylonQuerier, &chaincfg.SimNetParams, commonCfg.RetrySleepTime, commonCfg.MaxRetrySleepTime, slashedFPSKChan, metrics.NewBTCStakingTrackerMetrics().SlasherMetrics) require.NoError(t, err) - // mock chain tip - randomBTCHeight := uint64(1000) - mockBTCClient.EXPECT().GetBestBlock().Return(nil, randomBTCHeight, nil).Times(1) - // slashing address slashingAddr, err := datagen.GenRandomBTCAddress(r, net) require.NoError(t, err) @@ -88,7 +84,7 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { }, nil).Times(1) // mock a list of active BTC delegations whose staking tx output is still spendable on Bitcoin - slashableBTCDelsList := []*bstypes.BTCDelegatorDelegations{} + slashableBTCDelsList := []*bstypes.BTCDelegatorDelegationsResponse{} for i := uint64(0); i < datagen.RandomInt(r, 30)+5; i++ { delSK, _, err := datagen.GenRandomBTCKeyPair(r) require.NoError(t, err) @@ -109,12 +105,14 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { unbondingTime, ) require.NoError(t, err) - activeBTCDels := &bstypes.BTCDelegatorDelegations{Dels: []*bstypes.BTCDelegation{activeBTCDel}} + + resp := bstypes.NewBTCDelegationResponse(activeBTCDel, bstypes.BTCDelegationStatus_ACTIVE) + activeBTCDels := &bstypes.BTCDelegatorDelegationsResponse{Dels: []*bstypes.BTCDelegationResponse{resp}} slashableBTCDelsList = append(slashableBTCDelsList, activeBTCDels) } // mock a set of unslashableBTCDelsList whose staking tx output is no longer spendable on Bitcoin - unslashableBTCDelsList := []*bstypes.BTCDelegatorDelegations{} + unslashableBTCDelsList := []*bstypes.BTCDelegatorDelegationsResponse{} for i := uint64(0); i < datagen.RandomInt(r, 30)+5; i++ { delSK, _, err := datagen.GenRandomBTCKeyPair(r) require.NoError(t, err) @@ -135,7 +133,9 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { unbondingTime, ) require.NoError(t, err) - activeBTCDels := &bstypes.BTCDelegatorDelegations{Dels: []*bstypes.BTCDelegation{activeBTCDel}} + + resp := bstypes.NewBTCDelegationResponse(activeBTCDel, bstypes.BTCDelegationStatus_ACTIVE) + activeBTCDels := &bstypes.BTCDelegatorDelegationsResponse{Dels: []*bstypes.BTCDelegationResponse{resp}} unslashableBTCDelsList = append(unslashableBTCDelsList, activeBTCDels) } diff --git a/btcstaking-tracker/btcslasher/slasher.go b/btcstaking-tracker/btcslasher/slasher.go index 0f734da1..3c211ab8 100644 --- a/btcstaking-tracker/btcslasher/slasher.go +++ b/btcstaking-tracker/btcslasher/slasher.go @@ -179,14 +179,14 @@ func (bs *BTCSlasher) slashingEnforcer() { if slashRes.Err != nil { bs.logger.Errorf( "failed to slash BTC delegation with staking tx hash %s under finality provider %s: %v", - slashRes.Del.MustGetStakingTxHash().String(), + slashRes.Del.StakingTxHex, slashRes.Del.FpBtcPkList[0].MarshalHex(), // TODO: work with restaking slashRes.Err, ) } else { bs.logger.Infof( "successfully slash BTC delegation with staking tx hash %s under finality provider %s", - slashRes.Del.MustGetStakingTxHash().String(), + slashRes.Del.StakingTxHex, slashRes.Del.FpBtcPkList[0].MarshalHex(), // TODO: work with restaking ) @@ -256,7 +256,7 @@ func (bs *BTCSlasher) SlashFinalityProvider(extractedfpBTCSK *btcec.PrivateKey) // TODO: use semaphore to prevent spamming BTC node for _, del := range activeBTCDels { bs.wg.Add(1) - go func(d *bstypes.BTCDelegation) { + go func(d *bstypes.BTCDelegationResponse) { defer bs.wg.Done() bs.slashBTCDelegation(fpBTCPK, extractedfpBTCSK, d) }(del) @@ -265,7 +265,7 @@ func (bs *BTCSlasher) SlashFinalityProvider(extractedfpBTCSK *btcec.PrivateKey) // TODO: use semaphore to prevent spamming BTC node for _, del := range unbondedBTCDels { bs.wg.Add(1) - go func(d *bstypes.BTCDelegation) { + go func(d *bstypes.BTCDelegationResponse) { defer bs.wg.Done() bs.slashBTCDelegation(fpBTCPK, extractedfpBTCSK, d) }(del) diff --git a/btcstaking-tracker/btcslasher/slasher_test.go b/btcstaking-tracker/btcslasher/slasher_test.go index 1eaf5804..7a1548e4 100644 --- a/btcstaking-tracker/btcslasher/slasher_test.go +++ b/btcstaking-tracker/btcslasher/slasher_test.go @@ -76,10 +76,6 @@ func FuzzSlasher(f *testing.F) { err = btcSlasher.LoadParams() require.NoError(t, err) - // mock chain tip - randomBTCHeight := uint64(1000) - mockBTCClient.EXPECT().GetBestBlock().Return(nil, randomBTCHeight, nil).Times(1) - // slashing and change address slashingAddr, err := datagen.GenRandomBTCAddress(r, net) require.NoError(t, err) @@ -257,10 +253,10 @@ func FuzzSlasher(f *testing.F) { } // mock query to FinalityProviderDelegations - dels := []*bstypes.BTCDelegatorDelegations{} - dels = append(dels, expiredBTCDelsList...) - dels = append(dels, activeBTCDelsList...) - dels = append(dels, unbondedBTCDelsList...) + dels := make([]*bstypes.BTCDelegatorDelegationsResponse, 0) + dels = append(dels, newBTCDelegatorDelegationsResponse(expiredBTCDelsList, bstypes.BTCDelegationStatus_ANY)) + dels = append(dels, newBTCDelegatorDelegationsResponse(activeBTCDelsList, bstypes.BTCDelegationStatus_ACTIVE)) + dels = append(dels, newBTCDelegatorDelegationsResponse(unbondedBTCDelsList, bstypes.BTCDelegationStatus_UNBONDED)) btcDelsResp := &bstypes.QueryFinalityProviderDelegationsResponse{ BtcDelegatorDelegations: dels, Pagination: &query.PageResponse{NextKey: nil}, @@ -288,3 +284,15 @@ func FuzzSlasher(f *testing.F) { btcSlasher.WaitForShutdown() }) } + +func newBTCDelegatorDelegationsResponse(delegations []*bstypes.BTCDelegatorDelegations, status bstypes.BTCDelegationStatus) *bstypes.BTCDelegatorDelegationsResponse { + delListResp := make([]*bstypes.BTCDelegationResponse, 0) + for _, dels := range delegations { + for _, del := range dels.Dels { + delListResp = append(delListResp, bstypes.NewBTCDelegationResponse(del, status)) + } + } + return &bstypes.BTCDelegatorDelegationsResponse{ + Dels: delListResp, + } +} diff --git a/btcstaking-tracker/btcslasher/slasher_utils.go b/btcstaking-tracker/btcslasher/slasher_utils.go index c07f918a..42e44c0c 100644 --- a/btcstaking-tracker/btcslasher/slasher_utils.go +++ b/btcstaking-tracker/btcslasher/slasher_utils.go @@ -1,15 +1,20 @@ package btcslasher import ( + "encoding/hex" "fmt" "strings" "github.com/avast/retry-go/v4" + "github.com/babylonchain/babylon/btcstaking" bbn "github.com/babylonchain/babylon/types" bstypes "github.com/babylonchain/babylon/x/btcstaking/types" ftypes "github.com/babylonchain/babylon/x/finality/types" "github.com/babylonchain/vigilante/utils" + "github.com/btcsuite/btcd/btcec/v2" + "github.com/btcsuite/btcd/btcutil" + "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" coretypes "github.com/cometbft/cometbft/rpc/core/types" @@ -23,7 +28,7 @@ const ( ) type SlashResult struct { - Del *bstypes.BTCDelegation + Del *bstypes.BTCDelegationResponse SlashingTxHash *chainhash.Hash Err error } @@ -31,7 +36,7 @@ type SlashResult struct { func (bs *BTCSlasher) slashBTCDelegation( fpBTCPK *bbn.BIP340PubKey, extractedfpBTCSK *btcec.PrivateKey, - del *bstypes.BTCDelegation, + del *bstypes.BTCDelegationResponse, ) { var txHash *chainhash.Hash @@ -74,18 +79,27 @@ func (bs *BTCSlasher) slashBTCDelegation( func (bs *BTCSlasher) sendSlashingTx( fpBTCPK *bbn.BIP340PubKey, extractedfpBTCSK *btcec.PrivateKey, - del *bstypes.BTCDelegation, + del *bstypes.BTCDelegationResponse, isUnbondingSlashingTx bool, ) (*chainhash.Hash, error) { - var err error - + var ( + err error + slashTx *bstypes.BTCSlashingTx + ) // check if the slashing tx is known on Bitcoin - var txHash *chainhash.Hash if isUnbondingSlashingTx { - txHash = del.BtcUndelegation.SlashingTx.MustGetTxHash() + slashTx, err = bstypes.NewBTCSlashingTxFromHex(del.UndelegationResponse.SlashingTxHex) + if err != nil { + return nil, err + } } else { - txHash = del.SlashingTx.MustGetTxHash() + slashTx, err = bstypes.NewBTCSlashingTxFromHex(del.SlashingTxHex) + if err != nil { + return nil, err + } } + + txHash := slashTx.MustGetTxHash() if bs.isTxSubmittedToBitcoin(txHash) { // already submitted to Bitcoin, skip return txHash, nil @@ -95,9 +109,17 @@ func (bs *BTCSlasher) sendSlashingTx( // TODO: use bbn.GetOutputIdxInBTCTx var spendable bool if isUnbondingSlashingTx { - spendable, err = bs.isTaprootOutputSpendable(del.BtcUndelegation.UnbondingTx, 0) + ubondingTx, errDecode := hex.DecodeString(del.UndelegationResponse.UnbondingTxHex) + if errDecode != nil { + return nil, errDecode + } + spendable, err = bs.isTaprootOutputSpendable(ubondingTx, 0) } else { - spendable, err = bs.isTaprootOutputSpendable(del.StakingTx, del.StakingOutputIdx) + stakingTx, errDecode := hex.DecodeString(del.StakingTxHex) + if errDecode != nil { + return nil, errDecode + } + spendable, err = bs.isTaprootOutputSpendable(stakingTx, del.StakingOutputIdx) } if err != nil { // Warning: this can only be an error in Bitcoin side @@ -120,9 +142,9 @@ func (bs *BTCSlasher) sendSlashingTx( // assemble witness for unbonding slashing tx var slashingMsgTxWithWitness *wire.MsgTx if isUnbondingSlashingTx { - slashingMsgTxWithWitness, err = del.BuildUnbondingSlashingTxWithWitness(bs.bsParams, bs.netParams, extractedfpBTCSK) + slashingMsgTxWithWitness, err = BuildUnbondingSlashingTxWithWitness(del, bs.bsParams, bs.netParams, extractedfpBTCSK) } else { - slashingMsgTxWithWitness, err = del.BuildSlashingTxWithWitness(bs.bsParams, bs.netParams, extractedfpBTCSK) + slashingMsgTxWithWitness, err = BuildSlashingTxWithWitness(del, bs.bsParams, bs.netParams, extractedfpBTCSK) } if err != nil { // Warning: this can only be a programming error in Babylon side @@ -161,21 +183,196 @@ func (bs *BTCSlasher) sendSlashingTx( return txHash, nil } +// BuildUnbondingSlashingTxWithWitness returns the unbonding slashing tx. +func BuildUnbondingSlashingTxWithWitness( + d *bstypes.BTCDelegationResponse, + bsParams *bstypes.Params, + btcNet *chaincfg.Params, + fpSK *btcec.PrivateKey, +) (*wire.MsgTx, error) { + unbondingMsgTx, _, err := bbn.NewBTCTxFromHex(d.UndelegationResponse.UnbondingTxHex) + if err != nil { + return nil, fmt.Errorf("failed to convert a Babylon unbonding tx to wire.MsgTx: %w", err) + } + + fpBtcPkList, err := bbn.NewBTCPKsFromBIP340PKs(d.FpBtcPkList) + if err != nil { + return nil, fmt.Errorf("failed to convert finality provider pks to BTC pks: %v", err) + } + + covenantBtcPkList, err := bbn.NewBTCPKsFromBIP340PKs(bsParams.CovenantPks) + if err != nil { + return nil, fmt.Errorf("failed to convert covenant pks to BTC pks: %v", err) + } + + // get unbonding info + unbondingInfo, err := btcstaking.BuildUnbondingInfo( + d.BtcPk.MustToBTCPK(), + fpBtcPkList, + covenantBtcPkList, + bsParams.CovenantQuorum, + uint16(d.UnbondingTime), + btcutil.Amount(unbondingMsgTx.TxOut[0].Value), + btcNet, + ) + if err != nil { + return nil, fmt.Errorf("could not create BTC unbonding info: %v", err) + } + slashingSpendInfo, err := unbondingInfo.SlashingPathSpendInfo() + if err != nil { + return nil, fmt.Errorf("could not get unbonding slashing spend info: %v", err) + } + + // get the list of covenant signatures encrypted by the given finality provider's PK + fpPK := fpSK.PubKey() + fpBTCPK := bbn.NewBIP340PubKeyFromBTCPK(fpPK) + fpIdx, err := findFPIdxInWitness(fpBTCPK, d.FpBtcPkList) + if err != nil { + return nil, err + } + + covAdaptorSigs, err := bstypes.GetOrderedCovenantSignatures(fpIdx, d.UndelegationResponse.CovenantSlashingSigs, bsParams) + if err != nil { + return nil, fmt.Errorf("failed to get ordered covenant adaptor signatures: %w", err) + } + + delSlashingSig, err := bbn.NewBIP340SignatureFromHex(d.UndelegationResponse.DelegatorSlashingSigHex) + if err != nil { + return nil, fmt.Errorf("failed to parse Delegator slashing signature: %w", err) + } + + slashTx, err := bstypes.NewBTCSlashingTxFromHex(d.UndelegationResponse.SlashingTxHex) + if err != nil { + return nil, err + } + + // assemble witness for unbonding slashing tx + slashingMsgTxWithWitness, err := slashTx.BuildSlashingTxWithWitness( + fpSK, + d.FpBtcPkList, + unbondingMsgTx, + 0, + delSlashingSig, + covAdaptorSigs, + slashingSpendInfo, + ) + if err != nil { + return nil, fmt.Errorf( + "failed to build witness for unbonding BTC delegation %s under finality provider %s: %v", + d.BtcPk.MarshalHex(), + bbn.NewBIP340PubKeyFromBTCPK(fpSK.PubKey()).MarshalHex(), + err, + ) + } + + return slashingMsgTxWithWitness, nil +} + +// findFPIdxInWitness returns the index of the given finality provider +// among all restaked finality providers +func findFPIdxInWitness(fpBTCPK *bbn.BIP340PubKey, fpBtcPkList []bbn.BIP340PubKey) (int, error) { + sortedFPBTCPKList := bbn.SortBIP340PKs(fpBtcPkList) + for i, pk := range sortedFPBTCPKList { + if pk.Equals(fpBTCPK) { + return i, nil + } + } + return 0, fmt.Errorf("the given finality provider's PK is not found in the BTC delegation") +} + +func BuildSlashingTxWithWitness( + d *bstypes.BTCDelegationResponse, + bsParams *bstypes.Params, + btcNet *chaincfg.Params, + fpSK *btcec.PrivateKey, +) (*wire.MsgTx, error) { + stakingMsgTx, _, err := bbn.NewBTCTxFromHex(d.StakingTxHex) + if err != nil { + return nil, fmt.Errorf("failed to convert a Babylon staking tx to wire.MsgTx: %w", err) + } + + fpBtcPkList, err := bbn.NewBTCPKsFromBIP340PKs(d.FpBtcPkList) + if err != nil { + return nil, fmt.Errorf("failed to convert finality provider pks to BTC pks: %v", err) + } + + covenantBtcPkList, err := bbn.NewBTCPKsFromBIP340PKs(bsParams.CovenantPks) + if err != nil { + return nil, fmt.Errorf("failed to convert covenant pks to BTC pks: %v", err) + } + + // get staking info + stakingInfo, err := btcstaking.BuildStakingInfo( + d.BtcPk.MustToBTCPK(), + fpBtcPkList, + covenantBtcPkList, + bsParams.CovenantQuorum, + uint16(d.EndHeight-d.StartHeight), + btcutil.Amount(d.TotalSat), + btcNet, + ) + if err != nil { + return nil, fmt.Errorf("could not create BTC staking info: %v", err) + } + slashingSpendInfo, err := stakingInfo.SlashingPathSpendInfo() + if err != nil { + return nil, fmt.Errorf("could not get slashing spend info: %v", err) + } + + // get the list of covenant signatures encrypted by the given finality provider's PK + fpBTCPK := bbn.NewBIP340PubKeyFromBTCPK(fpSK.PubKey()) + sortedFPBTCPKList := bbn.SortBIP340PKs(d.FpBtcPkList) + fpIdx, err := findFPIdxInWitness(fpBTCPK, sortedFPBTCPKList) + if err != nil { + return nil, err + } + + covAdaptorSigs, err := bstypes.GetOrderedCovenantSignatures(fpIdx, d.CovenantSigs, bsParams) + if err != nil { + return nil, fmt.Errorf("failed to get ordered covenant adaptor signatures: %w", err) + } + + delSigSlash, err := bbn.NewBIP340SignatureFromHex(d.DelegatorSlashSigHex) + if err != nil { + return nil, fmt.Errorf("failed to parse Delegator slashing signature: %w", err) + } + + slashTx, err := bstypes.NewBTCSlashingTxFromHex(d.SlashingTxHex) + if err != nil { + return nil, err + } + + // assemble witness for slashing tx + slashingMsgTxWithWitness, err := slashTx.BuildSlashingTxWithWitness( + fpSK, + sortedFPBTCPKList, + stakingMsgTx, + d.StakingOutputIdx, + delSigSlash, + covAdaptorSigs, + slashingSpendInfo, + ) + if err != nil { + return nil, fmt.Errorf( + "failed to build witness for BTC delegation of %s under finality provider %s: %v", + d.BtcPk.MarshalHex(), + bbn.NewBIP340PubKeyFromBTCPK(fpSK.PubKey()).MarshalHex(), + err, + ) + } + + return slashingMsgTxWithWitness, nil +} + // BTC slasher will try to slash via staking path for active BTC delegations, // and slash via unbonding path for unbonded delegations. // // An unbonded BTC delegation in Babylon's view might still // have an non-expired timelock in unbonding tx. -func (bs *BTCSlasher) getAllActiveAndUnbondedBTCDelegations(fpBTCPK *bbn.BIP340PubKey) ([]*bstypes.BTCDelegation, []*bstypes.BTCDelegation, error) { - wValue := bs.btcFinalizationTimeout - activeDels := []*bstypes.BTCDelegation{} - unbondedDels := []*bstypes.BTCDelegation{} - - // get BTC tip height - _, btcTipHeight, err := bs.BTCClient.GetBestBlock() - if err != nil { - return nil, nil, err - } +func (bs *BTCSlasher) getAllActiveAndUnbondedBTCDelegations( + fpBTCPK *bbn.BIP340PubKey, +) ([]*bstypes.BTCDelegationResponse, []*bstypes.BTCDelegationResponse, error) { + activeDels, unbondedDels := make([]*bstypes.BTCDelegationResponse, 0), make([]*bstypes.BTCDelegationResponse, 0) // get all active BTC delegations pagination := query.PageRequest{Limit: defaultPaginationLimit} @@ -192,14 +389,13 @@ func (bs *BTCSlasher) getAllActiveAndUnbondedBTCDelegations(fpBTCPK *bbn.BIP340P // - has an expired timelock but the delegator hasn't moved its stake yet // This is because such BTC delegations do not have voting power thus do not // affect Babylon's consensus. - delStatus := del.GetStatus(btcTipHeight, wValue, bs.bsParams.CovenantQuorum) - if delStatus == bstypes.BTCDelegationStatus_ACTIVE { + if del.Active { // avoid using del which changes over the iterations activeDels = append(activeDels, dels.Dels[i]) } - if delStatus == bstypes.BTCDelegationStatus_UNBONDED && - del.BtcUndelegation.HasCovenantQuorumOnSlashing(bs.bsParams.CovenantQuorum) && - del.BtcUndelegation.DelegatorUnbondingSig != nil { + if strings.EqualFold(del.StatusDesc, bstypes.BTCDelegationStatus_UNBONDED.String()) && + len(del.UndelegationResponse.CovenantSlashingSigs) >= int(bs.bsParams.CovenantQuorum) && + len(del.UndelegationResponse.DelegatorUnbondingSigHex) > 0 { // NOTE: Babylon considers a BTC delegation to be unbonded once it // receives staker signature for unbonding transaction, no matter // whether the unbonding tx's timelock has expired. In monitor's view we need to try to slash every diff --git a/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go b/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go index 514858d5..faba777e 100644 --- a/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go +++ b/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go @@ -61,14 +61,12 @@ func (bca *BabylonClientAdapter) ActiveBtcDelegations(offset uint64, limit uint6 delegations := make([]Delegation, len(resp.BtcDelegations)) for i, delegation := range resp.BtcDelegations { - stakingTx, err := bbn.NewBTCTxFromBytes(delegation.StakingTx) - + stakingTx, _, err := bbn.NewBTCTxFromHex(delegation.StakingTxHex) if err != nil { return nil, err } - unbondingTx, err := bbn.NewBTCTxFromBytes(delegation.BtcUndelegation.UnbondingTx) - + unbondingTx, _, err := bbn.NewBTCTxFromHex(delegation.UndelegationResponse.UnbondingTxHex) if err != nil { return nil, err } @@ -93,7 +91,7 @@ func (bca *BabylonClientAdapter) IsDelegationActive(stakingTxHash chainhash.Hash return false, fmt.Errorf("failed to retrieve delegation from babyln: %w", err) } - return resp.Active, nil + return resp.BtcDelegation.Active, nil } // ReportUnbonding method for BabylonClientAdapter diff --git a/e2etest/atomicslasher_e2e_test.go b/e2etest/atomicslasher_e2e_test.go index 3f337775..6da1a2ab 100644 --- a/e2etest/atomicslasher_e2e_test.go +++ b/e2etest/atomicslasher_e2e_test.go @@ -11,6 +11,7 @@ import ( bstypes "github.com/babylonchain/babylon/x/btcstaking/types" "github.com/babylonchain/vigilante/btcclient" bst "github.com/babylonchain/vigilante/btcstaking-tracker" + "github.com/babylonchain/vigilante/btcstaking-tracker/btcslasher" "github.com/babylonchain/vigilante/config" "github.com/babylonchain/vigilante/metrics" "github.com/babylonchain/vigilante/types" @@ -112,7 +113,7 @@ func TestAtomicSlasher(t *testing.T) { finality provider builds slashing tx witness and sends slashing tx to Bitcoin */ victimBTCDel := btcDels[0] - victimSlashingTx, err := victimBTCDel.BuildSlashingTxWithWitness(&bsParams, netParams, fpSK) + victimSlashingTx, err := btcslasher.BuildSlashingTxWithWitness(victimBTCDel, &bsParams, netParams, fpSK) // send slashing tx to Bitcoin require.NoError(t, err) slashingTxHash, err := tm.BTCClient.SendRawTransaction(victimSlashingTx, true) @@ -138,14 +139,16 @@ func TestAtomicSlasher(t *testing.T) { if err != nil { return false } - return resp.FinalityProvider.IsSlashed() + return resp.FinalityProvider.SlashedBabylonHeight > 0 }, eventuallyWaitTimeOut, eventuallyPollTime) /* atomic slasher will slash the other BTC delegation on Bitcoin */ btcDel2 := btcDels[1] - slashingTxHash2 := btcDel2.SlashingTx.MustGetTxHash() + slashTx2, err := bstypes.NewBTCSlashingTxFromHex(btcDel2.SlashingTxHex) + require.NoError(t, err) + slashingTxHash2 := slashTx2.MustGetTxHash() require.Eventually(t, func() bool { _, err := tm.BTCClient.GetRawTransaction(slashingTxHash2) t.Logf("err of getting slashingTxHash of the BTC delegation affected by atomic slashing: %v", err) @@ -251,10 +254,10 @@ func TestAtomicSlasher_Unbonding(t *testing.T) { require.Len(t, btcDelsResp2.BtcDelegations, 2) // NOTE: `BTCDelegations` API does not return BTC delegations in created time order // thus we need to find out the 2nd BTC delegation one-by-one - var btcDel2 *bstypes.BTCDelegation - for i := range btcDelsResp2.BtcDelegations { - if btcDelsResp2.BtcDelegations[i].MustGetStakingTxHash() != victimBTCDel.MustGetStakingTxHash() { - btcDel2 = btcDelsResp2.BtcDelegations[i] + var btcDel2 *bstypes.BTCDelegationResponse + for _, delResp2 := range btcDelsResp2.BtcDelegations { + if delResp2.StakingTxHex != victimBTCDel.StakingTxHex { + btcDel2 = delResp2 break } } @@ -267,7 +270,7 @@ func TestAtomicSlasher_Unbonding(t *testing.T) { /* finality provider builds unbonding slashing tx witness and sends it to Bitcoin */ - victimUnbondingSlashingTx, err := victimBTCDel.BuildUnbondingSlashingTxWithWitness(&bsParams, netParams, fpSK) + victimUnbondingSlashingTx, err := btcslasher.BuildUnbondingSlashingTxWithWitness(victimBTCDel, &bsParams, netParams, fpSK) require.NoError(t, err) // send slashing tx to Bitcoin // NOTE: sometimes unbonding slashing tx is not immediately spendable for some reason @@ -306,13 +309,15 @@ func TestAtomicSlasher_Unbonding(t *testing.T) { if err != nil { return false } - return resp.FinalityProvider.IsSlashed() + return resp.FinalityProvider.SlashedBabylonHeight > 0 }, eventuallyWaitTimeOut, eventuallyPollTime) /* atomic slasher will slash the other BTC delegation on Bitcoin */ - slashingTxHash2 := btcDel2.SlashingTx.MustGetTxHash() + slashingTx2, err := bstypes.NewBTCSlashingTxFromHex(btcDel2.SlashingTxHex) + require.NoError(t, err) + slashingTxHash2 := slashingTx2.MustGetTxHash() require.Eventually(t, func() bool { _, err := tm.BTCClient.GetRawTransaction(slashingTxHash2) t.Logf("err of getting slashingTxHash of the BTC delegation affected by atomic slashing: %v", err) diff --git a/e2etest/reporter_e2e_test.go b/e2etest/reporter_e2e_test.go index d94d6918..17a1846a 100644 --- a/e2etest/reporter_e2e_test.go +++ b/e2etest/reporter_e2e_test.go @@ -28,7 +28,7 @@ func (tm *TestManager) BabylonBTCChainMatchesBtc(t *testing.T) bool { require.NoError(t, err) bbnBtcLcTip, err := tm.BabylonClient.BTCHeaderChainTip() require.NoError(t, err) - return uint64(tipHeight) == bbnBtcLcTip.Header.Height && tipHash.String() == bbnBtcLcTip.Header.Hash.String() + return uint64(tipHeight) == bbnBtcLcTip.Header.Height && tipHash.String() == bbnBtcLcTip.Header.HashHex } func (tm *TestManager) GenerateAndSubmitsNBlocksFromTip(N int) { diff --git a/e2etest/submitter_e2e_test.go b/e2etest/submitter_e2e_test.go index 968c7703..b9fe116f 100644 --- a/e2etest/submitter_e2e_test.go +++ b/e2etest/submitter_e2e_test.go @@ -60,8 +60,8 @@ func TestSubmitterSubmission(t *testing.T) { }, nil) mockBabylonClient.EXPECT().RawCheckpointList(gomock.Any(), gomock.Any()).Return( &checkpointingtypes.QueryRawCheckpointListResponse{ - RawCheckpoints: []*checkpointingtypes.RawCheckpointWithMeta{ - randomCheckpoint, + RawCheckpoints: []*checkpointingtypes.RawCheckpointWithMetaResponse{ + randomCheckpoint.ToResponse(), }, }, nil).AnyTimes() @@ -139,8 +139,8 @@ func TestSubmitterSubmissionReplace(t *testing.T) { }, nil) mockBabylonClient.EXPECT().RawCheckpointList(gomock.Any(), gomock.Any()).Return( &checkpointingtypes.QueryRawCheckpointListResponse{ - RawCheckpoints: []*checkpointingtypes.RawCheckpointWithMeta{ - randomCheckpoint, + RawCheckpoints: []*checkpointingtypes.RawCheckpointWithMetaResponse{ + randomCheckpoint.ToResponse(), }, }, nil).AnyTimes() diff --git a/e2etest/test_manager_btcstaking.go b/e2etest/test_manager_btcstaking.go index 396fe798..76bf657b 100644 --- a/e2etest/test_manager_btcstaking.go +++ b/e2etest/test_manager_btcstaking.go @@ -328,7 +328,7 @@ func (tm *TestManager) Undelegate( resp, err := tm.BabylonClient.BTCDelegation(stakingSlashingInfo.StakingTx.TxHash().String()) require.NoError(t, err) - covenantSigs := resp.UndelegationInfo.CovenantUnbondingSigList + covenantSigs := resp.BtcDelegation.UndelegationResponse.CovenantUnbondingSigList witness, err := unbondingPathSpendInfo.CreateUnbondingPathWitness( []*schnorr.Signature{covenantSigs[0].Sig.MustToBTCSig()}, unbondingTxSchnorrSig, diff --git a/e2etest/unbondingwatcher_e2e_test.go b/e2etest/unbondingwatcher_e2e_test.go index 795245a1..00e138fc 100644 --- a/e2etest/unbondingwatcher_e2e_test.go +++ b/e2etest/unbondingwatcher_e2e_test.go @@ -109,7 +109,7 @@ func TestUnbondingWatcher(t *testing.T) { require.NoError(t, err) resp, err := tm.BabylonClient.BTCDelegation(stakingSlashingInfo.StakingTx.TxHash().String()) require.NoError(t, err) - covenantSigs := resp.UndelegationInfo.CovenantUnbondingSigList + covenantSigs := resp.BtcDelegation.UndelegationResponse.CovenantUnbondingSigList witness, err := unbondingPathSpendInfo.CreateUnbondingPathWitness( []*schnorr.Signature{covenantSigs[0].Sig.MustToBTCSig()}, unbondingTxSchnorrSig, @@ -131,7 +131,7 @@ func TestUnbondingWatcher(t *testing.T) { // TODO: Add field for staker signature in BTCDelegation query to check it directly, // for now it is enough to check that delegation is not active, as if unbonding was reported // delegation will be deactivated - return !resp.Active + return !resp.BtcDelegation.Active }, eventuallyWaitTimeOut, eventuallyPollTime) } diff --git a/go.mod b/go.mod index e71ddb56..7dc316ad 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( cosmossdk.io/log v1.3.0 cosmossdk.io/math v1.2.0 github.com/avast/retry-go/v4 v4.5.1 - github.com/babylonchain/babylon v0.8.0 + github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d github.com/babylonchain/rpc-client v0.8.0 github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d github.com/btcsuite/btcd v0.24.0 diff --git a/go.sum b/go.sum index 876ea2fe..2a155168 100644 --- a/go.sum +++ b/go.sum @@ -287,6 +287,8 @@ github.com/aws/aws-sdk-go v1.44.312/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8 github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/babylonchain/babylon v0.8.0 h1:QC04LPCFBD0MZyiM3cAjVBlr3CXEZPdhORWPBlO2gaQ= github.com/babylonchain/babylon v0.8.0/go.mod h1:jR1b+5mA7BkRrXfd/PMHwk7W/RpoeQtunvjal+tKeHY= +github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d h1:cjqjqlGjaSUHf/g7iE0LIGeEApIOYpX1S7q2nkEQzUw= +github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d/go.mod h1:jR1b+5mA7BkRrXfd/PMHwk7W/RpoeQtunvjal+tKeHY= github.com/babylonchain/rpc-client v0.8.0 h1:H7VN7dTR1Z6uffRrziFRD9FTj+1Jf3u9gL2RLm3z9Jo= github.com/babylonchain/rpc-client v0.8.0/go.mod h1:+7IiKHmIAmfM888hPpfAVmGs85yZRxfbJym4swmgKG8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= diff --git a/metrics/btcstaking_tracker.go b/metrics/btcstaking_tracker.go index d9f42a0b..831139f0 100644 --- a/metrics/btcstaking_tracker.go +++ b/metrics/btcstaking_tracker.go @@ -102,7 +102,7 @@ func newSlasherMetrics(registry *prometheus.Registry) *SlasherMetrics { return metrics } -func (sm *SlasherMetrics) RecordSlashedDelegation(del *types.BTCDelegation, txHashStr string) { +func (sm *SlasherMetrics) RecordSlashedDelegation(del *types.BTCDelegationResponse, txHashStr string) { // refresh time of the slashed delegation gauge for each (fp, del) pair for _, pk := range del.FpBtcPkList { sm.SlashedDelegationGaugeVec.WithLabelValues( diff --git a/monitor/liveness_checker_test.go b/monitor/liveness_checker_test.go index 6d51eb46..051d8c57 100644 --- a/monitor/liveness_checker_test.go +++ b/monitor/liveness_checker_test.go @@ -66,7 +66,7 @@ func FuzzLivenessChecker(f *testing.F) { randHashBytes := bbntypes.BTCHeaderHashBytes(bbndatagen.GenRandomByteArray(r, 32)) mockBabylonClient.EXPECT().BTCHeaderChainTip().Return( &btclctypes.QueryTipResponse{ - Header: &btclctypes.BTCHeaderInfo{Height: h4, Hash: &randHashBytes}}, + Header: &btclctypes.BTCHeaderInfoResponse{Height: h4, HashHex: randHashBytes.MarshalHex()}}, nil, ) err = m.CheckLiveness(cr) @@ -81,7 +81,7 @@ func FuzzLivenessChecker(f *testing.F) { randHashBytes = bbntypes.BTCHeaderHashBytes(bbndatagen.GenRandomByteArray(r, 32)) mockBabylonClient.EXPECT().BTCHeaderChainTip().Return( &btclctypes.QueryTipResponse{ - Header: &btclctypes.BTCHeaderInfo{Height: h4, Hash: &randHashBytes}, + Header: &btclctypes.BTCHeaderInfoResponse{Height: h4, HashHex: randHashBytes.MarshalHex()}, }, nil, ) diff --git a/monitor/monitor.go b/monitor/monitor.go index 961e8a1f..cf4ff834 100644 --- a/monitor/monitor.go +++ b/monitor/monitor.go @@ -207,7 +207,10 @@ func (m *Monitor) VerifyCheckpoint(btcCkpt *checkpointingtypes.RawCheckpoint) er if err != nil { return fmt.Errorf("failed to query raw checkpoint from Babylon, epoch %v: %w", btcCkpt.EpochNum, err) } - ckpt := res.RawCheckpoint.Ckpt + ckpt, err := res.RawCheckpoint.Ckpt.ToRawCheckpoint() + if err != nil { + return fmt.Errorf("failed to parse raw checkpoint %v: %w", res.RawCheckpoint.Ckpt, err) + } // verify BLS sig of the raw checkpoint from Babylon err = m.curEpoch.VerifyMultiSig(ckpt) if err != nil { diff --git a/monitor/monitor_test.go b/monitor/monitor_test.go index 1dc77897..6b2743b8 100644 --- a/monitor/monitor_test.go +++ b/monitor/monitor_test.go @@ -44,8 +44,8 @@ func FuzzVerifyCheckpoint(f *testing.F) { btcCheckpoint := datagen.GenerateLegitimateRawCheckpoint(r, privKeys) mockBabylonClient.EXPECT().RawCheckpoint(gomock.Eq(btcCheckpoint.EpochNum)).Return( &ckpttypes.QueryRawCheckpointResponse{ - RawCheckpoint: &ckpttypes.RawCheckpointWithMeta{ - Ckpt: btcCheckpoint, + RawCheckpoint: &ckpttypes.RawCheckpointWithMetaResponse{ + Ckpt: btcCheckpoint.ToResponse(), }, }, nil).AnyTimes() // generate case 1, same checkpoints diff --git a/monitor/query_test.go b/monitor/query_test.go index 5ad21dfc..192e1289 100644 --- a/monitor/query_test.go +++ b/monitor/query_test.go @@ -34,7 +34,7 @@ func FuzzQueryInfoForNextEpoch(f *testing.F) { ).AnyTimes() bbnCli.EXPECT().RawCheckpoint(gomock.Eq(e)).Return( &ckpttypes.QueryRawCheckpointResponse{ - RawCheckpoint: ckptWithMeta, + RawCheckpoint: ckptWithMeta.ToResponse(), }, nil, ).AnyTimes() diff --git a/reporter/bootstrapping.go b/reporter/bootstrapping.go index a380c547..9d248201 100644 --- a/reporter/bootstrapping.go +++ b/reporter/bootstrapping.go @@ -7,6 +7,7 @@ import ( "time" "github.com/avast/retry-go/v4" + bbntypes "github.com/babylonchain/babylon/types" "github.com/babylonchain/vigilante/types" "github.com/btcsuite/btcd/chaincfg/chainhash" ) @@ -253,7 +254,13 @@ func (r *Reporter) waitUntilBTCSync() error { if err != nil { return err } - bbnLatestBlockHash = tipRes.Header.Hash.ToChainhash() + + hash, err := bbntypes.NewBTCHeaderHashBytesFromHex(tipRes.Header.HashHex) + if err != nil { + return err + } + + bbnLatestBlockHash = hash.ToChainhash() bbnLatestBlockHeight = tipRes.Header.Height r.logger.Infof("BBN header chain latest block hash and height: (%v, %d)", bbnLatestBlockHash, bbnLatestBlockHeight) diff --git a/submitter/poller/poller.go b/submitter/poller/poller.go index 5f7aec07..e972a60f 100644 --- a/submitter/poller/poller.go +++ b/submitter/poller/poller.go @@ -7,12 +7,12 @@ import ( type Poller struct { querier BabylonQueryClient bufferSize uint - rawCkptChan chan *checkpointingtypes.RawCheckpointWithMeta + rawCkptChan chan *checkpointingtypes.RawCheckpointWithMetaResponse } func New(client BabylonQueryClient, bufferSize uint) *Poller { return &Poller{ - rawCkptChan: make(chan *checkpointingtypes.RawCheckpointWithMeta, bufferSize), + rawCkptChan: make(chan *checkpointingtypes.RawCheckpointWithMetaResponse, bufferSize), bufferSize: bufferSize, querier: client, } @@ -45,6 +45,6 @@ func (pl *Poller) PollSealedCheckpoints() error { return nil } -func (pl *Poller) GetSealedCheckpointChan() <-chan *checkpointingtypes.RawCheckpointWithMeta { +func (pl *Poller) GetSealedCheckpointChan() <-chan *checkpointingtypes.RawCheckpointWithMetaResponse { return pl.rawCkptChan } diff --git a/submitter/poller/poller_test.go b/submitter/poller/poller_test.go index 918de266..f52b04dc 100644 --- a/submitter/poller/poller_test.go +++ b/submitter/poller/poller_test.go @@ -29,11 +29,11 @@ func FuzzPollingCheckpoints(f *testing.F) { var wg sync.WaitGroup n := r.Intn(10) + 1 - sealedCkpts := make([]*checkpointingtypes.RawCheckpointWithMeta, n) + sealedCkpts := make([]*checkpointingtypes.RawCheckpointWithMetaResponse, n) for i := 0; i < n; i++ { ckpt := datagen.GenRandomRawCheckpointWithMeta(r) ckpt.Status = checkpointingtypes.Sealed - sealedCkpts[i] = ckpt + sealedCkpts[i] = ckpt.ToResponse() } sort.Slice(sealedCkpts, func(i, j int) bool { return sealedCkpts[i].Ckpt.EpochNum < sealedCkpts[j].Ckpt.EpochNum @@ -43,7 +43,7 @@ func FuzzPollingCheckpoints(f *testing.F) { &checkpointingtypes.QueryRawCheckpointListResponse{RawCheckpoints: sealedCkpts}, nil) testPoller := poller.New(bbnClient, 10) wg.Add(1) - var ckpt *checkpointingtypes.RawCheckpointWithMeta + var ckpt *checkpointingtypes.RawCheckpointWithMetaResponse go func() { defer wg.Done() ckpt = <-testPoller.GetSealedCheckpointChan() @@ -51,6 +51,6 @@ func FuzzPollingCheckpoints(f *testing.F) { err := testPoller.PollSealedCheckpoints() wg.Wait() require.NoError(t, err) - require.True(t, sealedCkpts[0].Equal(ckpt)) + require.Equal(t, sealedCkpts[0], ckpt) }) } diff --git a/submitter/relayer/relayer.go b/submitter/relayer/relayer.go index 905793ec..db6bdd44 100644 --- a/submitter/relayer/relayer.go +++ b/submitter/relayer/relayer.go @@ -65,7 +65,7 @@ func New( // of the second tx of the checkpoint and resend the tx // Note: we only consider bumping the second tx of a submitted checkpoint because // it is as effective as bumping the two but simpler -func (rl *Relayer) SendCheckpointToBTC(ckpt *ckpttypes.RawCheckpointWithMeta) error { +func (rl *Relayer) SendCheckpointToBTC(ckpt *ckpttypes.RawCheckpointWithMetaResponse) error { ckptEpoch := ckpt.Ckpt.EpochNum if ckpt.Status != ckpttypes.Sealed { rl.logger.Errorf("The checkpoint for epoch %v is not sealed", ckptEpoch) @@ -77,7 +77,7 @@ func (rl *Relayer) SendCheckpointToBTC(ckpt *ckpttypes.RawCheckpointWithMeta) er if rl.lastSubmittedCheckpoint == nil || rl.lastSubmittedCheckpoint.Epoch < ckptEpoch { rl.logger.Infof("Submitting a raw checkpoint for epoch %v for the first time", ckptEpoch) - submittedCheckpoint, err := rl.convertCkptToTwoTxAndSubmit(ckpt) + submittedCheckpoint, err := rl.convertCkptToTwoTxAndSubmit(ckpt.Ckpt) if err != nil { return err } @@ -242,8 +242,12 @@ func (rl *Relayer) dumpPrivKeyAndSignTx(tx *wire.MsgTx, utxo *types.UTXO) (*wire return tx, nil } -func (rl *Relayer) convertCkptToTwoTxAndSubmit(ckpt *ckpttypes.RawCheckpointWithMeta) (*types.CheckpointInfo, error) { - btcCkpt, err := ckpttypes.FromRawCkptToBTCCkpt(ckpt.Ckpt, rl.submitterAddress) +func (rl *Relayer) convertCkptToTwoTxAndSubmit(ckpt *ckpttypes.RawCheckpointResponse) (*types.CheckpointInfo, error) { + rawCkpt, err := ckpt.ToRawCheckpoint() + if err != nil { + return nil, err + } + btcCkpt, err := ckpttypes.FromRawCkptToBTCCkpt(rawCkpt, rl.submitterAddress) if err != nil { return nil, err } @@ -277,24 +281,24 @@ func (rl *Relayer) convertCkptToTwoTxAndSubmit(ckpt *ckpttypes.RawCheckpointWith time.Sleep(1 * time.Second) rl.logger.Infof("Sent two txs to BTC for checkpointing epoch %v, first txid: %s, second txid: %s", - ckpt.Ckpt.EpochNum, tx1.Tx.TxHash().String(), tx2.Tx.TxHash().String()) + ckpt.EpochNum, tx1.Tx.TxHash().String(), tx2.Tx.TxHash().String()) // record metrics of the two transactions rl.metrics.NewSubmittedCheckpointSegmentGaugeVec.WithLabelValues( - strconv.Itoa(int(ckpt.Ckpt.EpochNum)), + strconv.Itoa(int(ckpt.EpochNum)), "0", tx1.Tx.TxHash().String(), strconv.Itoa(int(tx1.Fee)), ).SetToCurrentTime() rl.metrics.NewSubmittedCheckpointSegmentGaugeVec.WithLabelValues( - strconv.Itoa(int(ckpt.Ckpt.EpochNum)), + strconv.Itoa(int(ckpt.EpochNum)), "1", tx2.Tx.TxHash().String(), strconv.Itoa(int(tx2.Fee)), ).SetToCurrentTime() return &types.CheckpointInfo{ - Epoch: ckpt.Ckpt.EpochNum, + Epoch: ckpt.EpochNum, Ts: time.Now(), Tx1: tx1, Tx2: tx2, diff --git a/tools/go.mod b/tools/go.mod index a1aa5057..3f49cea7 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -5,7 +5,7 @@ go 1.21 toolchain go1.21.4 require ( - github.com/babylonchain/babylon v0.8.0 + github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d github.com/btcsuite/btcd v0.24.0 github.com/btcsuite/btcwallet v0.16.9 ) diff --git a/tools/go.sum b/tools/go.sum index 151c5ad2..761a50d0 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -270,8 +270,8 @@ github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX github.com/aws/aws-sdk-go v1.44.224 h1:09CiaaF35nRmxrzWZ2uRq5v6Ghg/d2RiPjZnSgtt+RQ= github.com/aws/aws-sdk-go v1.44.224/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= -github.com/babylonchain/babylon v0.8.0 h1:QC04LPCFBD0MZyiM3cAjVBlr3CXEZPdhORWPBlO2gaQ= -github.com/babylonchain/babylon v0.8.0/go.mod h1:jR1b+5mA7BkRrXfd/PMHwk7W/RpoeQtunvjal+tKeHY= +github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d h1:cjqjqlGjaSUHf/g7iE0LIGeEApIOYpX1S7q2nkEQzUw= +github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d/go.mod h1:jR1b+5mA7BkRrXfd/PMHwk7W/RpoeQtunvjal+tKeHY= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= diff --git a/types/genesis_info.go b/types/genesis_info.go index dba7dd98..d6a730cf 100644 --- a/types/genesis_info.go +++ b/types/genesis_info.go @@ -94,7 +94,7 @@ func GetGenesisInfoFromFile(filePath string) (*GenesisInfo, error) { if err != nil { return nil, fmt.Errorf("invalid btclightclient genesis %w", err) } - baseBTCHeight = btclightclientGenState.BaseBtcHeader.Height + baseBTCHeight = btclightclientGenState.BtcHeaders[0].Height epochingGenState := GetEpochingGenesisStateFromAppState(tmpBabylon.AppCodec(), appState) err = epochingGenState.Validate() From e12cd4fc4697009b4634cd4c4509001bd1b601a2 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Thu, 4 Apr 2024 21:10:06 +1100 Subject: [PATCH 12/15] chore: replace rpc-client and use versioned BTC staking parameters (#214) This PR - replaces the rpc-client repository with the one under Babylon - uses BTC staking parameter under the version used by each BTC delegation --- .../atomicslasher/babylon_adapter.go | 4 +- .../atomicslasher/expected_babylon_client.go | 2 +- .../atomicslasher/mock_babylon_client.go | 14 +- btcstaking-tracker/atomicslasher/routines.go | 20 ++- .../btcslasher/bootstrapping_test.go | 20 +-- .../btcslasher/expected_babylon_client.go | 2 +- .../btcslasher/mock_babylon_client.go | 14 +- btcstaking-tracker/btcslasher/slasher.go | 9 +- btcstaking-tracker/btcslasher/slasher_test.go | 4 +- .../btcslasher/slasher_utils.go | 26 +++- btcstaking-tracker/tracker.go | 2 +- .../expected_babylon_client.go | 2 +- cmd/vigilante/cmd/btcstaking_tracker.go | 2 +- cmd/vigilante/cmd/monitor.go | 4 +- cmd/vigilante/cmd/reporter.go | 2 +- cmd/vigilante/cmd/submitter.go | 6 +- config/config.go | 2 +- e2etest/test_manager.go | 2 +- go.mod | 66 ++++---- go.sum | 146 ++++++++---------- reporter/expected_babylon_client.go | 3 +- reporter/mock_babylon_client.go | 2 +- tools/go.mod | 55 ++++--- tools/go.sum | 116 +++++++------- 24 files changed, 264 insertions(+), 261 deletions(-) diff --git a/btcstaking-tracker/atomicslasher/babylon_adapter.go b/btcstaking-tracker/atomicslasher/babylon_adapter.go index a3164f50..537909ac 100644 --- a/btcstaking-tracker/atomicslasher/babylon_adapter.go +++ b/btcstaking-tracker/atomicslasher/babylon_adapter.go @@ -39,11 +39,11 @@ func NewBabylonAdapter( } } -func (ba *BabylonAdapter) BTCStakingParams(ctx context.Context) (*bstypes.Params, error) { +func (ba *BabylonAdapter) BTCStakingParams(ctx context.Context, version uint32) (*bstypes.Params, error) { var bsParams *bstypes.Params err := retry.Do( func() error { - resp, err := ba.bbnClient.BTCStakingParams() + resp, err := ba.bbnClient.BTCStakingParamsByVersion(version) if err != nil { return err } diff --git a/btcstaking-tracker/atomicslasher/expected_babylon_client.go b/btcstaking-tracker/atomicslasher/expected_babylon_client.go index 711f470d..fc26712a 100644 --- a/btcstaking-tracker/atomicslasher/expected_babylon_client.go +++ b/btcstaking-tracker/atomicslasher/expected_babylon_client.go @@ -14,7 +14,7 @@ type BabylonClient interface { FinalityProvider(fpBtcPkHex string) (*bstypes.QueryFinalityProviderResponse, error) BTCDelegations(status bstypes.BTCDelegationStatus, pagination *sdkquerytypes.PageRequest) (*bstypes.QueryBTCDelegationsResponse, error) BTCDelegation(stakingTxHashHex string) (*bstypes.QueryBTCDelegationResponse, error) - BTCStakingParams() (*bstypes.QueryParamsResponse, error) + BTCStakingParamsByVersion(version uint32) (*bstypes.QueryParamsByVersionResponse, error) ReliablySendMsg(ctx context.Context, msg sdk.Msg, expectedErrors []*errors.Error, unrecoverableErrors []*errors.Error) (*pv.RelayerTxResponse, error) MustGetAddr() string } diff --git a/btcstaking-tracker/atomicslasher/mock_babylon_client.go b/btcstaking-tracker/atomicslasher/mock_babylon_client.go index 6b2d318d..ebf4c8ee 100644 --- a/btcstaking-tracker/atomicslasher/mock_babylon_client.go +++ b/btcstaking-tracker/atomicslasher/mock_babylon_client.go @@ -69,19 +69,19 @@ func (mr *MockBabylonClientMockRecorder) BTCDelegations(status, pagination inter return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BTCDelegations", reflect.TypeOf((*MockBabylonClient)(nil).BTCDelegations), status, pagination) } -// BTCStakingParams mocks base method. -func (m *MockBabylonClient) BTCStakingParams() (*types.QueryParamsResponse, error) { +// BTCStakingParamsByVersion mocks base method. +func (m *MockBabylonClient) BTCStakingParamsByVersion(version uint32) (*types.QueryParamsByVersionResponse, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "BTCStakingParams") - ret0, _ := ret[0].(*types.QueryParamsResponse) + ret := m.ctrl.Call(m, "BTCStakingParamsByVersion", version) + ret0, _ := ret[0].(*types.QueryParamsByVersionResponse) ret1, _ := ret[1].(error) return ret0, ret1 } -// BTCStakingParams indicates an expected call of BTCStakingParams. -func (mr *MockBabylonClientMockRecorder) BTCStakingParams() *gomock.Call { +// BTCStakingParamsByVersion indicates an expected call of BTCStakingParamsByVersion. +func (mr *MockBabylonClientMockRecorder) BTCStakingParamsByVersion(version interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BTCStakingParams", reflect.TypeOf((*MockBabylonClient)(nil).BTCStakingParams)) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BTCStakingParamsByVersion", reflect.TypeOf((*MockBabylonClient)(nil).BTCStakingParamsByVersion), version) } // FinalityProvider mocks base method. diff --git a/btcstaking-tracker/atomicslasher/routines.go b/btcstaking-tracker/atomicslasher/routines.go index 83db6672..a03f06b3 100644 --- a/btcstaking-tracker/atomicslasher/routines.go +++ b/btcstaking-tracker/atomicslasher/routines.go @@ -93,13 +93,6 @@ func (as *AtomicSlasher) slashingTxTracker() { func (as *AtomicSlasher) selectiveSlashingReporter() { defer as.wg.Done() - ctx, cancel := as.quitContext() - bsParams, err := as.bbnAdapter.BTCStakingParams(ctx) - cancel() - if err != nil { - as.logger.Fatal("failed to get BTC staking module parameters", zap.Error(err)) - } - for { select { case slashingTxInfo, ok := <-as.slashingTxChan: @@ -120,6 +113,19 @@ func (as *AtomicSlasher) selectiveSlashingReporter() { ) continue } + // get parameter at the version of this BTC delegation + ctx, cancel = as.quitContext() + paramsVersion := btcDelResp.BtcDelegation.ParamsVersion + bsParams, err := as.bbnAdapter.BTCStakingParams(ctx, paramsVersion) + cancel() + if err != nil { + as.logger.Error( + "failed to get BTC staking paramter at version", + zap.Uint32("version", paramsVersion), + zap.Error(err), + ) + continue + } // get covenant Schnorr signature in tx witnessStack := slashingTxInfo.SlashingMsgTx.TxIn[0].Witness covSigMap, fpIdx, fpPK, err := parseSlashingTxWitness( diff --git a/btcstaking-tracker/btcslasher/bootstrapping_test.go b/btcstaking-tracker/btcslasher/bootstrapping_test.go index f142c913..5c5f2596 100644 --- a/btcstaking-tracker/btcslasher/bootstrapping_test.go +++ b/btcstaking-tracker/btcslasher/bootstrapping_test.go @@ -39,6 +39,7 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { // mock k, w btccParams := &btcctypes.QueryParamsResponse{Params: btcctypes.Params{BtcConfirmationDepth: 10, CheckpointFinalizationTimeout: 100}} mockBabylonQuerier.EXPECT().BTCCheckpointParams().Return(btccParams, nil).Times(1) + unbondingTime := uint16(btccParams.Params.CheckpointFinalizationTimeout + 1) // covenant secret key @@ -51,15 +52,6 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { covenantSks = append(covenantSks, covenantSk) covenantPks = append(covenantPks, *bbn.NewBIP340PubKeyFromBTCPK(covenantSk.PubKey())) } - // mock slashing rate and covenant - bsParams := &bstypes.QueryParamsResponse{Params: bstypes.Params{ - // TODO: Can't use the below value as the datagen functionality only covers one covenant signature - // CovenantQuorum: uint32(covQuorum), - CovenantQuorum: 1, - CovenantPks: covenantPks, - SlashingRate: sdkmath.LegacyMustNewDecFromStr("0.1"), - }} - mockBabylonQuerier.EXPECT().BTCStakingParams().Return(bsParams, nil).Times(1) logger, err := config.NewRootLogger("auto", "debug") require.NoError(t, err) @@ -71,6 +63,16 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { slashingAddr, err := datagen.GenRandomBTCAddress(r, net) require.NoError(t, err) + // mock BTC staking parameters + bsParams := &bstypes.QueryParamsByVersionResponse{Params: bstypes.Params{ + // TODO: Can't use the below value as the datagen functionality only covers one covenant signature + // CovenantQuorum: uint32(covQuorum), + CovenantQuorum: 1, + CovenantPks: covenantPks, + SlashingRate: sdkmath.LegacyMustNewDecFromStr("0.1"), + }} + mockBabylonQuerier.EXPECT().BTCStakingParamsByVersion(gomock.Any()).Return(bsParams, nil).AnyTimes() + // generate BTC key pair for slashed finality provider fpSK, fpPK, err := datagen.GenRandomBTCKeyPair(r) require.NoError(t, err) diff --git a/btcstaking-tracker/btcslasher/expected_babylon_client.go b/btcstaking-tracker/btcslasher/expected_babylon_client.go index 922e78a5..b40c7280 100644 --- a/btcstaking-tracker/btcslasher/expected_babylon_client.go +++ b/btcstaking-tracker/btcslasher/expected_babylon_client.go @@ -10,7 +10,7 @@ import ( type BabylonQueryClient interface { BTCCheckpointParams() (*btcctypes.QueryParamsResponse, error) - BTCStakingParams() (*bstypes.QueryParamsResponse, error) + BTCStakingParamsByVersion(version uint32) (*bstypes.QueryParamsByVersionResponse, error) FinalityProviderDelegations(fpBTCPKHex string, pagination *query.PageRequest) (*bstypes.QueryFinalityProviderDelegationsResponse, error) ListEvidences(startHeight uint64, pagination *query.PageRequest) (*ftypes.QueryListEvidencesResponse, error) Subscribe(subscriber, query string, outCapacity ...int) (out <-chan coretypes.ResultEvent, err error) diff --git a/btcstaking-tracker/btcslasher/mock_babylon_client.go b/btcstaking-tracker/btcslasher/mock_babylon_client.go index 4f403fba..3c96b6d7 100644 --- a/btcstaking-tracker/btcslasher/mock_babylon_client.go +++ b/btcstaking-tracker/btcslasher/mock_babylon_client.go @@ -53,19 +53,19 @@ func (mr *MockBabylonQueryClientMockRecorder) BTCCheckpointParams() *gomock.Call return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BTCCheckpointParams", reflect.TypeOf((*MockBabylonQueryClient)(nil).BTCCheckpointParams)) } -// BTCStakingParams mocks base method. -func (m *MockBabylonQueryClient) BTCStakingParams() (*types0.QueryParamsResponse, error) { +// BTCStakingParamsByVersion mocks base method. +func (m *MockBabylonQueryClient) BTCStakingParamsByVersion(version uint32) (*types0.QueryParamsByVersionResponse, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "BTCStakingParams") - ret0, _ := ret[0].(*types0.QueryParamsResponse) + ret := m.ctrl.Call(m, "BTCStakingParamsByVersion", version) + ret0, _ := ret[0].(*types0.QueryParamsByVersionResponse) ret1, _ := ret[1].(error) return ret0, ret1 } -// BTCStakingParams indicates an expected call of BTCStakingParams. -func (mr *MockBabylonQueryClientMockRecorder) BTCStakingParams() *gomock.Call { +// BTCStakingParamsByVersion indicates an expected call of BTCStakingParamsByVersion. +func (mr *MockBabylonQueryClientMockRecorder) BTCStakingParamsByVersion(version interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BTCStakingParams", reflect.TypeOf((*MockBabylonQueryClient)(nil).BTCStakingParams)) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BTCStakingParamsByVersion", reflect.TypeOf((*MockBabylonQueryClient)(nil).BTCStakingParamsByVersion), version) } // FinalityProviderDelegations mocks base method. diff --git a/btcstaking-tracker/btcslasher/slasher.go b/btcstaking-tracker/btcslasher/slasher.go index 3c211ab8..e963f96f 100644 --- a/btcstaking-tracker/btcslasher/slasher.go +++ b/btcstaking-tracker/btcslasher/slasher.go @@ -33,7 +33,6 @@ type BTCSlasher struct { // parameters netParams *chaincfg.Params btcFinalizationTimeout uint64 - bsParams *bstypes.Params retrySleepTime time.Duration maxRetrySleepTime time.Duration @@ -97,7 +96,7 @@ func (bs *BTCSlasher) quitContext() (context.Context, func()) { } func (bs *BTCSlasher) LoadParams() error { - if bs.btcFinalizationTimeout != 0 && bs.bsParams != nil { + if bs.btcFinalizationTimeout != 0 { // already loaded, skip return nil } @@ -108,12 +107,6 @@ func (bs *BTCSlasher) LoadParams() error { } bs.btcFinalizationTimeout = btccParamsResp.Params.CheckpointFinalizationTimeout - bsParamsResp, err := bs.BBNQuerier.BTCStakingParams() - if err != nil { - return err - } - bs.bsParams = &bsParamsResp.Params - return nil } diff --git a/btcstaking-tracker/btcslasher/slasher_test.go b/btcstaking-tracker/btcslasher/slasher_test.go index 7a1548e4..8571934f 100644 --- a/btcstaking-tracker/btcslasher/slasher_test.go +++ b/btcstaking-tracker/btcslasher/slasher_test.go @@ -59,14 +59,14 @@ func FuzzSlasher(f *testing.F) { covenantPks = append(covenantPks, *bbn.NewBIP340PubKeyFromBTCPK(btcPubKey)) } // mock slashing rate and covenant - bsParams := &bstypes.QueryParamsResponse{Params: bstypes.Params{ + bsParams := &bstypes.QueryParamsByVersionResponse{Params: bstypes.Params{ // TODO: Can't use the below value as the datagen functionality only covers one covenant signature // CovenantQuorum: uint32(covQuorum), CovenantQuorum: 1, CovenantPks: covenantPks, SlashingRate: sdkmath.LegacyMustNewDecFromStr("0.1"), }} - mockBabylonQuerier.EXPECT().BTCStakingParams().Return(bsParams, nil).Times(1) + mockBabylonQuerier.EXPECT().BTCStakingParamsByVersion(gomock.Any()).Return(bsParams, nil).AnyTimes() logger, err := config.NewRootLogger("auto", "debug") require.NoError(t, err) diff --git a/btcstaking-tracker/btcslasher/slasher_utils.go b/btcstaking-tracker/btcslasher/slasher_utils.go index 42e44c0c..8ebac8f2 100644 --- a/btcstaking-tracker/btcslasher/slasher_utils.go +++ b/btcstaking-tracker/btcslasher/slasher_utils.go @@ -139,12 +139,19 @@ func (bs *BTCSlasher) sendSlashingTx( ) } + // get BTC staking parameter with the version in this BTC delegation + bsParamsResp, err := bs.BBNQuerier.BTCStakingParamsByVersion(del.ParamsVersion) + if err != nil { + return nil, fmt.Errorf("failed to get BTC staking parameter at version %d", del.ParamsVersion) + } + bsParams := &bsParamsResp.Params + // assemble witness for unbonding slashing tx var slashingMsgTxWithWitness *wire.MsgTx if isUnbondingSlashingTx { - slashingMsgTxWithWitness, err = BuildUnbondingSlashingTxWithWitness(del, bs.bsParams, bs.netParams, extractedfpBTCSK) + slashingMsgTxWithWitness, err = BuildUnbondingSlashingTxWithWitness(del, bsParams, bs.netParams, extractedfpBTCSK) } else { - slashingMsgTxWithWitness, err = BuildSlashingTxWithWitness(del, bs.bsParams, bs.netParams, extractedfpBTCSK) + slashingMsgTxWithWitness, err = BuildSlashingTxWithWitness(del, bsParams, bs.netParams, extractedfpBTCSK) } if err != nil { // Warning: this can only be a programming error in Babylon side @@ -374,6 +381,9 @@ func (bs *BTCSlasher) getAllActiveAndUnbondedBTCDelegations( ) ([]*bstypes.BTCDelegationResponse, []*bstypes.BTCDelegationResponse, error) { activeDels, unbondedDels := make([]*bstypes.BTCDelegationResponse, 0), make([]*bstypes.BTCDelegationResponse, 0) + // a map where key is the parameter version and value is the parameters + paramsMap := make(map[uint32]*bstypes.Params) + // get all active BTC delegations pagination := query.PageRequest{Limit: defaultPaginationLimit} for { @@ -383,6 +393,16 @@ func (bs *BTCSlasher) getAllActiveAndUnbondedBTCDelegations( } for _, dels := range resp.BtcDelegatorDelegations { for i, del := range dels.Dels { + // get the BTC staking parameter at that version + bsParams, ok := paramsMap[del.ParamsVersion] + if !ok { + bsParamsResp, err := bs.BBNQuerier.BTCStakingParamsByVersion(del.ParamsVersion) + if err != nil { + return nil, nil, fmt.Errorf("failed to get BTC staking parameter at version %d", del.ParamsVersion) + } + bsParams = &bsParamsResp.Params + } + // filter out all active and unbonded BTC delegations // NOTE: slasher does not slash BTC delegations who // - is expired in Babylon due to the timelock of = int(bs.bsParams.CovenantQuorum) && + len(del.UndelegationResponse.CovenantSlashingSigs) >= int(bsParams.CovenantQuorum) && len(del.UndelegationResponse.DelegatorUnbondingSigHex) > 0 { // NOTE: Babylon considers a BTC delegation to be unbonded once it // receives staker signature for unbonding transaction, no matter diff --git a/btcstaking-tracker/tracker.go b/btcstaking-tracker/tracker.go index 4ecba003..68ec704d 100644 --- a/btcstaking-tracker/tracker.go +++ b/btcstaking-tracker/tracker.go @@ -4,7 +4,7 @@ import ( "fmt" "sync" - bbnclient "github.com/babylonchain/rpc-client/client" + bbnclient "github.com/babylonchain/babylon/client/client" "github.com/babylonchain/vigilante/btcclient" "github.com/babylonchain/vigilante/btcstaking-tracker/atomicslasher" "github.com/babylonchain/vigilante/btcstaking-tracker/btcslasher" diff --git a/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go b/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go index faba777e..76cfdca3 100644 --- a/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go +++ b/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go @@ -5,9 +5,9 @@ import ( "fmt" "cosmossdk.io/errors" + bbnclient "github.com/babylonchain/babylon/client/client" bbn "github.com/babylonchain/babylon/types" btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - bbnclient "github.com/babylonchain/rpc-client/client" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" diff --git a/cmd/vigilante/cmd/btcstaking_tracker.go b/cmd/vigilante/cmd/btcstaking_tracker.go index 2f81d3c7..529f09ea 100644 --- a/cmd/vigilante/cmd/btcstaking_tracker.go +++ b/cmd/vigilante/cmd/btcstaking_tracker.go @@ -3,7 +3,7 @@ package cmd import ( "fmt" - bbnclient "github.com/babylonchain/rpc-client/client" + bbnclient "github.com/babylonchain/babylon/client/client" "github.com/babylonchain/vigilante/btcclient" bst "github.com/babylonchain/vigilante/btcstaking-tracker" "github.com/babylonchain/vigilante/config" diff --git a/cmd/vigilante/cmd/monitor.go b/cmd/vigilante/cmd/monitor.go index 835ddd6d..faa09e05 100644 --- a/cmd/vigilante/cmd/monitor.go +++ b/cmd/vigilante/cmd/monitor.go @@ -3,8 +3,8 @@ package cmd import ( "fmt" - bbnqccfg "github.com/babylonchain/rpc-client/config" - bbnqc "github.com/babylonchain/rpc-client/query" + bbnqccfg "github.com/babylonchain/babylon/client/config" + bbnqc "github.com/babylonchain/babylon/client/query" "github.com/spf13/cobra" "github.com/babylonchain/vigilante/btcclient" diff --git a/cmd/vigilante/cmd/reporter.go b/cmd/vigilante/cmd/reporter.go index a13a5314..7874a37b 100644 --- a/cmd/vigilante/cmd/reporter.go +++ b/cmd/vigilante/cmd/reporter.go @@ -3,7 +3,7 @@ package cmd import ( "fmt" - bbnclient "github.com/babylonchain/rpc-client/client" + bbnclient "github.com/babylonchain/babylon/client/client" "github.com/spf13/cobra" "github.com/babylonchain/vigilante/btcclient" diff --git a/cmd/vigilante/cmd/submitter.go b/cmd/vigilante/cmd/submitter.go index e8512e78..ab6952d7 100644 --- a/cmd/vigilante/cmd/submitter.go +++ b/cmd/vigilante/cmd/submitter.go @@ -3,8 +3,8 @@ package cmd import ( "fmt" - bbnqccfg "github.com/babylonchain/rpc-client/config" - bbnqc "github.com/babylonchain/rpc-client/query" + bbnqccfg "github.com/babylonchain/babylon/client/config" + bbnqc "github.com/babylonchain/babylon/client/query" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" @@ -78,7 +78,7 @@ func GetSubmitterCmd() *cobra.Command { } // create RPC server - server, err := rpcserver.New(&cfg.GRPC, rootLogger, vigilantSubmitter, nil, nil,nil) + server, err := rpcserver.New(&cfg.GRPC, rootLogger, vigilantSubmitter, nil, nil, nil) if err != nil { panic(fmt.Errorf("failed to create submitter's RPC server: %w", err)) } diff --git a/config/config.go b/config/config.go index ebeb203d..95d9d2d8 100644 --- a/config/config.go +++ b/config/config.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - bbncfg "github.com/babylonchain/rpc-client/config" + bbncfg "github.com/babylonchain/babylon/client/config" "github.com/btcsuite/btcd/btcutil" "github.com/spf13/viper" "go.uber.org/zap" diff --git a/e2etest/test_manager.go b/e2etest/test_manager.go index b90be3cd..5060a9ce 100644 --- a/e2etest/test_manager.go +++ b/e2etest/test_manager.go @@ -11,9 +11,9 @@ import ( pv "github.com/cosmos/relayer/v2/relayer/provider" + bbnclient "github.com/babylonchain/babylon/client/client" bbn "github.com/babylonchain/babylon/types" btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - bbnclient "github.com/babylonchain/rpc-client/client" "github.com/babylonchain/vigilante/btcclient" "github.com/babylonchain/vigilante/config" "github.com/babylonchain/vigilante/types" diff --git a/go.mod b/go.mod index 7dc316ad..32c0ce41 100644 --- a/go.mod +++ b/go.mod @@ -6,11 +6,10 @@ toolchain go1.21.4 require ( cosmossdk.io/errors v1.0.1 - cosmossdk.io/log v1.3.0 + cosmossdk.io/log v1.3.1 cosmossdk.io/math v1.2.0 github.com/avast/retry-go/v4 v4.5.1 - github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d - github.com/babylonchain/rpc-client v0.8.0 + github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d github.com/btcsuite/btcd v0.24.0 github.com/btcsuite/btcd/btcec/v2 v2.3.2 @@ -19,7 +18,7 @@ require ( github.com/btcsuite/btcwallet v0.16.10-0.20230621165747-9c21f464ce13 github.com/cometbft/cometbft v0.38.5 github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 - github.com/cosmos/relayer/v2 v2.4.3-0.20231227002143-820caf5ab483 + github.com/cosmos/relayer/v2 v2.5.1 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 github.com/gogo/protobuf v1.3.3 github.com/golang/mock v1.6.0 @@ -31,13 +30,13 @@ require ( github.com/lightningnetwork/lnd v0.16.4-beta.rc1 github.com/pebbe/zmq4 v1.2.9 github.com/pkg/errors v0.9.1 - github.com/prometheus/client_golang v1.17.0 + github.com/prometheus/client_golang v1.18.0 github.com/spf13/cobra v1.8.0 github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.8.4 go.uber.org/atomic v1.10.0 go.uber.org/zap v1.26.0 - golang.org/x/net v0.20.0 + golang.org/x/net v0.21.0 google.golang.org/grpc v1.60.1 google.golang.org/protobuf v1.32.0 gopkg.in/yaml.v2 v2.4.0 @@ -49,7 +48,7 @@ require ( cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.5 // indirect cloud.google.com/go/storage v1.35.1 // indirect - cosmossdk.io/api v0.7.2 // indirect + cosmossdk.io/api v0.7.3 // indirect cosmossdk.io/client/v2 v2.0.0-beta.1 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect @@ -74,7 +73,7 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect - github.com/bits-and-blooms/bitset v1.8.0 // indirect + github.com/bits-and-blooms/bitset v1.10.0 // indirect github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect github.com/btcsuite/btcwallet/walletdb v1.4.0 // indirect github.com/btcsuite/btcwallet/wtxmgr v1.5.0 // indirect @@ -88,7 +87,7 @@ require ( github.com/cockroachdb/apd/v2 v2.0.2 // indirect github.com/cockroachdb/errors v1.11.1 // indirect github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect - github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb // indirect + github.com/cockroachdb/pebble v1.1.0 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect github.com/cometbft/cometbft-db v0.9.1 // indirect @@ -98,11 +97,11 @@ require ( github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.0.0 // indirect - github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect + github.com/cosmos/cosmos-proto v1.0.0-beta.4 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect github.com/cosmos/gogoproto v1.4.11 // indirect - github.com/cosmos/iavl v1.0.0 // indirect + github.com/cosmos/iavl v1.0.1 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect github.com/cosmos/ibc-go/v8 v8.0.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect @@ -123,20 +122,19 @@ require ( github.com/dsnet/compress v0.0.1 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/dvsekhvalnov/jose2go v1.6.0 // indirect - github.com/emicklei/dot v1.6.0 // indirect + github.com/emicklei/dot v1.6.1 // indirect github.com/ethereum/c-kzg-4844 v0.4.0 // indirect - github.com/ethereum/go-ethereum v1.13.5 // indirect + github.com/ethereum/go-ethereum v1.13.14 // indirect github.com/fatih/color v1.15.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fergusstrange/embedded-postgres v1.10.0 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/getsentry/sentry-go v0.25.0 // indirect + github.com/getsentry/sentry-go v0.27.0 // indirect github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect github.com/go-logr/logr v1.2.3 // indirect github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-stack/stack v1.8.1 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/googleapis v1.4.1 // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect @@ -154,10 +152,9 @@ require ( github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.5.2 // indirect github.com/gorilla/mux v1.8.1 // indirect - github.com/gorilla/websocket v1.5.0 // indirect + github.com/gorilla/websocket v1.5.1 // indirect github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect - github.com/gtank/merlin v0.1.1 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-getter v1.7.2 // indirect @@ -171,7 +168,7 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/yamux v0.1.1 // indirect github.com/hdevalence/ed25519consensus v0.1.0 // indirect - github.com/holiman/uint256 v1.2.3 // indirect + github.com/holiman/uint256 v1.2.4 // indirect github.com/huandu/skiplist v1.2.0 // indirect github.com/iancoleman/strcase v0.3.0 // indirect github.com/improbable-eng/grpc-web v0.15.0 // indirect @@ -194,7 +191,7 @@ require ( github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect github.com/kkdai/bstream v1.0.0 // indirect - github.com/klauspost/compress v1.17.4 // indirect + github.com/klauspost/compress v1.17.6 // indirect github.com/klauspost/pgzip v1.2.5 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect @@ -210,15 +207,13 @@ require ( github.com/lightningnetwork/lnd/ticker v1.1.0 // indirect github.com/lightningnetwork/lnd/tlv v1.1.0 // indirect github.com/lightningnetwork/lnd/tor v1.1.0 // indirect - github.com/linxGnu/grocksdb v1.8.6 // indirect + github.com/linxGnu/grocksdb v1.8.12 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect github.com/mholt/archiver/v3 v3.5.0 // indirect github.com/miekg/dns v1.1.43 // indirect - github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect @@ -235,14 +230,15 @@ require ( github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect github.com/pierrec/lz4/v4 v4.1.8 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_model v0.5.0 // indirect - github.com/prometheus/common v0.45.0 // indirect + github.com/prometheus/client_model v0.6.0 // indirect + github.com/prometheus/common v0.47.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect - github.com/rogpeppe/go-internal v1.11.0 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/rs/cors v1.8.3 // indirect - github.com/rs/zerolog v1.31.0 // indirect + github.com/rs/zerolog v1.32.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect @@ -252,7 +248,7 @@ require ( github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cast v1.6.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/strangelove-ventures/cometbft v0.37.3-0.20231004194858-c01e8d5bcac3 // indirect + github.com/strangelove-ventures/cometbft-client v0.1.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/supranational/blst v0.3.11 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect @@ -282,16 +278,16 @@ require ( go.opentelemetry.io/otel/trace v1.14.0 // indirect go.opentelemetry.io/proto/otlp v0.9.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.18.0 // indirect - golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect - golang.org/x/mod v0.14.0 // indirect - golang.org/x/oauth2 v0.15.0 // indirect - golang.org/x/sync v0.5.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/term v0.16.0 // indirect + golang.org/x/crypto v0.19.0 // indirect + golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect + golang.org/x/mod v0.15.0 // indirect + golang.org/x/oauth2 v0.16.0 // indirect + golang.org/x/sync v0.6.0 // indirect + golang.org/x/sys v0.17.0 // indirect + golang.org/x/term v0.17.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.14.0 // indirect + golang.org/x/tools v0.18.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.153.0 // indirect google.golang.org/appengine v1.6.8 // indirect diff --git a/go.sum b/go.sum index 2a155168..c9fc828d 100644 --- a/go.sum +++ b/go.sum @@ -184,8 +184,8 @@ cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xX cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4= -cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +cosmossdk.io/api v0.7.3 h1:V815i8YOwOAQa1rLCsSMjVG5Gnzs02JLq+l7ks8s1jk= +cosmossdk.io/api v0.7.3/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= cosmossdk.io/client/v2 v2.0.0-beta.1 h1:XkHh1lhrLYIT9zKl7cIOXUXg2hdhtjTPBUfqERNA1/Q= cosmossdk.io/client/v2 v2.0.0-beta.1/go.mod h1:JEUSu9moNZQ4kU3ir1DKD5eU4bllmAexrGWjmb9k8qU= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= @@ -196,8 +196,8 @@ cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98ok cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU= cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= -cosmossdk.io/log v1.3.0 h1:L0Z0XstClo2kOU4h3V1iDoE5Ji64sg5HLOogzGg67Oo= -cosmossdk.io/log v1.3.0/go.mod h1:HIDyvWLqZe2ovlWabsDN4aPMpY/nUEquAhgfTf2ZzB8= +cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI= +cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM= cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= cosmossdk.io/store v1.0.2 h1:lSg5BTvJBHUDwswNNyeh4K/CbqiHER73VU4nDNb8uk0= @@ -225,8 +225,6 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM= -github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4= github.com/CosmWasm/wasmd v0.50.0 h1:NVaGqCSTRfb9UTDHJwT6nQIWcb6VjlQl88iI+u1+qjE= github.com/CosmWasm/wasmd v0.50.0/go.mod h1:UjmShW4l9YxaMytwJZ7IB7MWzHiynSZP3DdWrG0FRtk= github.com/CosmWasm/wasmvm v1.5.2 h1:+pKB1Mz9GZVt1vadxB+EDdD1FOz3dMNjIKq/58/lrag= @@ -285,12 +283,8 @@ 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/babylonchain/babylon v0.8.0 h1:QC04LPCFBD0MZyiM3cAjVBlr3CXEZPdhORWPBlO2gaQ= -github.com/babylonchain/babylon v0.8.0/go.mod h1:jR1b+5mA7BkRrXfd/PMHwk7W/RpoeQtunvjal+tKeHY= -github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d h1:cjqjqlGjaSUHf/g7iE0LIGeEApIOYpX1S7q2nkEQzUw= -github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d/go.mod h1:jR1b+5mA7BkRrXfd/PMHwk7W/RpoeQtunvjal+tKeHY= -github.com/babylonchain/rpc-client v0.8.0 h1:H7VN7dTR1Z6uffRrziFRD9FTj+1Jf3u9gL2RLm3z9Jo= -github.com/babylonchain/rpc-client v0.8.0/go.mod h1:+7IiKHmIAmfM888hPpfAVmGs85yZRxfbJym4swmgKG8= +github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 h1:7XtfE9n9STrZq3j1B9qk41a+LQgSR4vwOIKd4QD2jtg= +github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955/go.mod h1:lfeASLNJgcUsX7LEns3HRUv0k+MjzcB2q2AMasfz38M= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -301,8 +295,8 @@ github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 h1:41iFGWnSlI2gVpmOtVTJZNodLdLQLn/KsJqFvXwnd/s= github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bits-and-blooms/bitset v1.8.0 h1:FD+XqgOZDUxxZ8hzoBFuV9+cGWY9CslN6d5MS5JVb4c= -github.com/bits-and-blooms/bitset v1.8.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= +github.com/bits-and-blooms/bitset v1.10.0 h1:ePXTeiPEazB5+opbv5fr8umg2R/1NlzgDsyepwsSr88= +github.com/bits-and-blooms/bitset v1.10.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d h1:zsO4lp+bjv5XvPTF58Vq+qgmZEYZttJK+CWtSZhKenI= github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d/go.mod h1:f1iKL6ZhUWvbk7PdWVmOaak10o86cqMUYEmn1CZNGEI= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= @@ -403,8 +397,8 @@ github.com/cockroachdb/errors v1.11.1 h1:xSEW75zKaKCWzR3OfxXUxgrk/NtT4G1MiOv5lWZ github.com/cockroachdb/errors v1.11.1/go.mod h1:8MUxA3Gi6b25tYlFEBGLf+D8aISL+M4MIpiWMSNRfxw= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= -github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb h1:6Po+YYKT5B5ZXN0wd2rwFBaebM0LufPf8p4zxOd48Kg= -github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb/go.mod h1:acMRUGd/BK8AUmQNK3spUCCGzFLZU2bSST3NMXSq2Kc= +github.com/cockroachdb/pebble v1.1.0 h1:pcFh8CdCIt2kmEpK0OIatq67Ln9uGDYY3d5XnE0LJG4= +github.com/cockroachdb/pebble v1.1.0/go.mod h1:sEHm5NOXxyiAoKWhoFxT8xMgd/f3RA6qUqQ1BXKrh2E= github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= @@ -435,8 +429,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0E= github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= -github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= -github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= +github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU= +github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co= github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 h1:Pjvcy7wHUoYh253LvNv5Dyx+d3SNkRPsDZH+FytqZ3w= github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987/go.mod h1:0D9mrUy1eAUMQuvYzf2xvhEPk2ta9w7XH1zcYvyFiuM= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= @@ -446,8 +440,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so= -github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= +github.com/cosmos/iavl v1.0.1 h1:D+mYbcRO2wptYzOM1Hxl9cpmmHU1ZEt9T2Wv5nZTeUw= +github.com/cosmos/iavl v1.0.1/go.mod h1:8xIUkgVvwvVrBu81scdPty+/Dx9GqwHnAvXz4cwF7RY= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= @@ -458,17 +452,17 @@ github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 h1:DdzS1m6o/pCqeZ github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76/go.mod h1:0mkLWIoZuQ7uBoospo5Q9zIpqq6rYCPJDSUdeCJvPM8= github.com/cosmos/ledger-cosmos-go v0.13.3 h1:7ehuBGuyIytsXbd4MP43mLeoN2LTOEnk5nvue4rK+yM= github.com/cosmos/ledger-cosmos-go v0.13.3/go.mod h1:HENcEP+VtahZFw38HZ3+LS3Iv5XV6svsnkk9vdJtLr8= -github.com/cosmos/relayer/v2 v2.4.3-0.20231227002143-820caf5ab483 h1:l8Elru92qhdzwJdOYDEKcDfFPEdPPFH5jTRL7OZWGMA= -github.com/cosmos/relayer/v2 v2.4.3-0.20231227002143-820caf5ab483/go.mod h1:eBKSRbCx2zhqpvzZG4+HcDacWz4BywqgcLBkiyzuGYI= +github.com/cosmos/relayer/v2 v2.5.1 h1:gYYD/xywc0Lw3957NmWuyJr9idKQmhgVuVoLIiBNYog= +github.com/cosmos/relayer/v2 v2.5.1/go.mod h1:KygWPbGY9ley9Q42CMg5uzmrf4BIe+EfxU5j44xrLRQ= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 h1:d28BXYi+wUpz1KBmiF9bWrjEMacUEREV6MBi2ODnrfQ= +github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233/go.mod h1:geZJZH3SzKCqnz5VT0q/DyIG/tvu/dZk+VIfXicupJs= github.com/crate-crypto/go-kzg-4844 v0.7.0 h1:C0vgZRk4q4EZ/JgPfzuSoxdCq3C3mOZMBShovmncxvA= github.com/crate-crypto/go-kzg-4844 v0.7.0/go.mod h1:1kMhvPgI0Ky3yIa+9lFySEBUBXkYxeOi8ZF1sYioxhc= github.com/creachadair/atomicfile v0.3.1 h1:yQORkHjSYySh/tv5th1dkKcn02NEW5JleB84sjt+W4Q= github.com/creachadair/atomicfile v0.3.1/go.mod h1:mwfrkRxFKwpNAflYZzytbSwxvbK6fdGRRlp0KEQc0qU= -github.com/creachadair/taskgroup v0.4.2 h1:jsBLdAJE42asreGss2xZGZ8fJra7WtwnHWeJFxv2Li8= -github.com/creachadair/taskgroup v0.4.2/go.mod h1:qiXUOSrbwAY3u0JPGTzObbE3yf9hcXHDKBZ2ZjpCbgM= github.com/creachadair/tomledit v0.0.24 h1:5Xjr25R2esu1rKCbQEmjZYlrhFkDspoAbAKb6QKQDhQ= github.com/creachadair/tomledit v0.0.24/go.mod h1:9qHbShRWQzSCcn617cMzg4eab1vbLCOjOshAWSzWr8U= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= @@ -522,8 +516,8 @@ github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5m github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/emicklei/dot v1.6.0 h1:vUzuoVE8ipzS7QkES4UfxdpCwdU2U97m2Pb2tQCoYRY= -github.com/emicklei/dot v1.6.0/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= +github.com/emicklei/dot v1.6.1 h1:ujpDlBkkwgWUY+qPId5IwapRW/xEoligRSYjioR6DFI= +github.com/emicklei/dot v1.6.1/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -539,8 +533,8 @@ github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBF github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= github.com/ethereum/c-kzg-4844 v0.4.0 h1:3MS1s4JtA868KpJxroZoepdV0ZKBp3u/O5HcZ7R3nlY= github.com/ethereum/c-kzg-4844 v0.4.0/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0= -github.com/ethereum/go-ethereum v1.13.5 h1:U6TCRciCqZRe4FPXmy1sMGxTfuk8P7u2UoinF3VbaFk= -github.com/ethereum/go-ethereum v1.13.5/go.mod h1:yMTu38GSuyxaYzQMViqNmQ1s3cE84abZexQmTgenWk0= +github.com/ethereum/go-ethereum v1.13.14 h1:EwiY3FZP94derMCIam1iW4HFVrSgIcpsu0HwTQtm6CQ= +github.com/ethereum/go-ethereum v1.13.14/go.mod h1:TN8ZiHrdJwSe8Cb6x+p0hs5CxhJZPbqB7hHkaUXcmIU= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= @@ -560,8 +554,10 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4 github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= -github.com/getsentry/sentry-go v0.25.0 h1:q6Eo+hS+yoJlTO3uu/azhQadsD8V+jQn2D8VvX1eOyI= -github.com/getsentry/sentry-go v0.25.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= +github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46 h1:BAIP2GihuqhwdILrV+7GJel5lyPV3u1+PgzrWLc0TkE= +github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46/go.mod h1:QNpY22eby74jVhqH4WhDLDwxc/vqsern6pW+u2kbkpc= +github.com/getsentry/sentry-go v0.27.0 h1:Pv98CIbtB3LkMWmXi4Joa5OOcwbmnX88sF5qbK3r3Ps= +github.com/getsentry/sentry-go v0.27.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= @@ -590,8 +586,8 @@ github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= -github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= +github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= +github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= @@ -604,8 +600,6 @@ github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJ github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw= -github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU= @@ -761,8 +755,9 @@ github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= +github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= @@ -774,10 +769,6 @@ github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4 github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= -github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is= -github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= -github.com/gtank/ristretto255 v0.1.2 h1:JEqUCPA1NvLq5DwYtuzigd7ss8fwbYay9fi4/5uMzcc= -github.com/gtank/ristretto255 v0.1.2/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -832,8 +823,8 @@ github.com/hdevalence/ed25519consensus v0.1.0 h1:jtBwzzcHuTmFrQN6xQZn6CQEO/V9f7H github.com/hdevalence/ed25519consensus v0.1.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo= github.com/holiman/bloomfilter/v2 v2.0.3 h1:73e0e/V0tCydx14a0SCYS/EWCxgwLZ18CZcZKVu0fao= github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA= -github.com/holiman/uint256 v1.2.3 h1:K8UWO1HUJpRMXBxbmaY1Y8IAMZC/RsKB+ArEnnK4l5o= -github.com/holiman/uint256 v1.2.3/go.mod h1:SC8Ryt4n+UBbPbIBKaG9zbbDlp4jOru9xFZmPzLUTxw= +github.com/holiman/uint256 v1.2.4 h1:jUc4Nk8fm9jZabQuqr2JzednajVmBpC+oiTiXZJEApU= +github.com/holiman/uint256 v1.2.4/go.mod h1:EOMSn4q6Nyt9P6efbI3bueV4e1b3dGlUCXeiRV4ng7E= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/go-assert v1.1.5 h1:fjemmA7sSfYHJD7CUqs9qTwwfdNAx7/j2/ZlHXzNB3c= github.com/huandu/go-assert v1.1.5/go.mod h1:yOLvuqZwmcHIC5rIzrBhT7D3Q9c3GFnd0JrPVhn/06U= @@ -946,8 +937,8 @@ github.com/klauspost/compress v1.10.10/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdY github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4= -github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= +github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI= +github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/pgzip v1.2.4/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/klauspost/pgzip v1.2.5 h1:qnWYvvKqedOF2ulHpMG72XQol4ILEJ8k2wwRl/Km8oE= @@ -1009,8 +1000,8 @@ github.com/lightningnetwork/lnd/tor v1.1.0 h1:iXO7fSzjxTI+p88KmtpbuyuRJeNfgtpl9Q github.com/lightningnetwork/lnd/tor v1.1.0/go.mod h1:RDtaAdwfAm+ONuPYwUhNIH1RAvKPv+75lHPOegUcz64= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linxGnu/grocksdb v1.8.6 h1:O7I6SIGPrypf3f/gmrrLUBQDKfO8uOoYdWf4gLS06tc= -github.com/linxGnu/grocksdb v1.8.6/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= +github.com/linxGnu/grocksdb v1.8.12 h1:1/pCztQUOa3BX/1gR3jSZDoaKFpeHFvQ1XrqZpSvZVo= +github.com/linxGnu/grocksdb v1.8.12/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 h1:sjOGyegMIhvgfq5oaue6Td+hxZuf3tDC8lAPrFldqFw= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796/go.mod h1:3p7ZTf9V1sNPI5H8P3NkTFF4LuwMdPl2DodF60qAKqY= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= @@ -1043,16 +1034,11 @@ github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh github.com/mattn/go-sqlite3 v1.14.15 h1:vfoHhTN1af61xCRSWzFIWzx2YskyMTwHLrExkBOjvxI= github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= -github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= github.com/mholt/archiver/v3 v3.5.0 h1:nE8gZIrw66cu4osS/U7UW7YDuGMHssxKutU8IfWxwWE= github.com/mholt/archiver/v3 v3.5.0/go.mod h1:qqTTPUK/HZPFgFQ/TJ3BzvTpF/dPtFVJXdQbCmeMxwc= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg= github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= -github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= -github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 h1:QRUSJEgZn2Snx0EmT/QLXibWjSUDjKWvXIT19NBVp94= -github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= @@ -1177,24 +1163,24 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q= -github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY= +github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= +github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= -github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= +github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos= +github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= -github.com/prometheus/common v0.45.0 h1:2BGz0eBc2hdMDLnO/8n0jeB3oPrt2D08CekT0lneoxM= -github.com/prometheus/common v0.45.0/go.mod h1:YJmSTw9BoKxJplESWWxlbyttQR4uaEcGyv9MZjVOJsY= +github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= +github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= @@ -1216,8 +1202,8 @@ github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6So github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= -github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo= github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= @@ -1225,8 +1211,8 @@ github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= -github.com/rs/zerolog v1.31.0 h1:FcTR3NnLWW+NnTwwhFWiJSZr4ECLpqCm6QsEnyvbV4A= -github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= +github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= +github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -1282,8 +1268,8 @@ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= -github.com/strangelove-ventures/cometbft v0.37.3-0.20231004194858-c01e8d5bcac3 h1:sOdCYxFMTVbEGvJ6LfjQsm+tQbB5YdUpvMcXJnHBFm4= -github.com/strangelove-ventures/cometbft v0.37.3-0.20231004194858-c01e8d5bcac3/go.mod h1:Jgux5ULdCs9N7ARy9NHe+hPfJQhUFpYF6+/+gmcqsGw= +github.com/strangelove-ventures/cometbft-client v0.1.0 h1:fcA652QaaR0LDnyJOZVjZKtuyAawnVXaq/p1MWJSYD4= +github.com/strangelove-ventures/cometbft-client v0.1.0/go.mod h1:QzThgjzvsGgUNVNpGPitmxOWMIhp6a0oqf80nCRNt/0= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -1445,8 +1431,8 @@ golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWP golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= +golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1458,8 +1444,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1486,8 +1472,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= +golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1551,8 +1537,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= +golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= +golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1578,8 +1564,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= -golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= +golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= +golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1594,8 +1580,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= -golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1701,14 +1687,14 @@ golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= -golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= +golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= +golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1791,8 +1777,8 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= -golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= +golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= +golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/reporter/expected_babylon_client.go b/reporter/expected_babylon_client.go index cb760ced..d368cd7e 100644 --- a/reporter/expected_babylon_client.go +++ b/reporter/expected_babylon_client.go @@ -2,9 +2,10 @@ package reporter import ( "context" + + "github.com/babylonchain/babylon/client/config" btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/rpc-client/config" "github.com/btcsuite/btcd/chaincfg/chainhash" pv "github.com/cosmos/relayer/v2/relayer/provider" ) diff --git a/reporter/mock_babylon_client.go b/reporter/mock_babylon_client.go index 7de2de74..b20a3ca2 100644 --- a/reporter/mock_babylon_client.go +++ b/reporter/mock_babylon_client.go @@ -8,9 +8,9 @@ import ( context "context" reflect "reflect" + config "github.com/babylonchain/babylon/client/config" types "github.com/babylonchain/babylon/x/btccheckpoint/types" types0 "github.com/babylonchain/babylon/x/btclightclient/types" - config "github.com/babylonchain/rpc-client/config" chainhash "github.com/btcsuite/btcd/chaincfg/chainhash" provider "github.com/cosmos/relayer/v2/relayer/provider" gomock "github.com/golang/mock/gomock" diff --git a/tools/go.mod b/tools/go.mod index 3f49cea7..19232670 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -5,7 +5,7 @@ go 1.21 toolchain go1.21.4 require ( - github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d + github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 github.com/btcsuite/btcd v0.24.0 github.com/btcsuite/btcwallet v0.16.9 ) @@ -16,13 +16,13 @@ require ( cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.5 // indirect cloud.google.com/go/storage v1.35.1 // indirect - cosmossdk.io/api v0.7.2 // indirect + cosmossdk.io/api v0.7.3 // indirect cosmossdk.io/client/v2 v2.0.0-beta.1 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect cosmossdk.io/errors v1.0.1 // indirect - cosmossdk.io/log v1.3.0 // indirect + cosmossdk.io/log v1.3.1 // indirect cosmossdk.io/math v1.2.0 // indirect cosmossdk.io/store v1.0.2 // indirect cosmossdk.io/tools/confix v0.1.0 // indirect @@ -40,11 +40,11 @@ require ( github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/aead/siphash v1.0.1 // indirect - github.com/aws/aws-sdk-go v1.44.224 // indirect + github.com/aws/aws-sdk-go v1.44.312 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect - github.com/bits-and-blooms/bitset v1.8.0 // indirect + github.com/bits-and-blooms/bitset v1.10.0 // indirect github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d // indirect github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect github.com/btcsuite/btcd/btcutil v1.1.5 // indirect @@ -66,19 +66,19 @@ require ( github.com/cockroachdb/apd/v2 v2.0.2 // indirect github.com/cockroachdb/errors v1.11.1 // indirect github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect - github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb // indirect + github.com/cockroachdb/pebble v1.1.0 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect github.com/cometbft/cometbft v0.38.5 // indirect github.com/cometbft/cometbft-db v0.9.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.0.0 // indirect - github.com/cosmos/cosmos-proto v1.0.0-beta.3 // indirect + github.com/cosmos/cosmos-proto v1.0.0-beta.4 // indirect github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect github.com/cosmos/gogoproto v1.4.11 // indirect - github.com/cosmos/iavl v1.0.0 // indirect + github.com/cosmos/iavl v1.0.1 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect github.com/cosmos/ibc-go/v8 v8.0.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect @@ -98,11 +98,11 @@ require ( github.com/docker/docker v23.0.8+incompatible // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/dvsekhvalnov/jose2go v1.6.0 // indirect - github.com/emicklei/dot v1.6.0 // indirect + github.com/emicklei/dot v1.6.1 // indirect github.com/fatih/color v1.15.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/getsentry/sentry-go v0.25.0 // indirect + github.com/getsentry/sentry-go v0.27.0 // indirect github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect @@ -113,7 +113,7 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect github.com/golang/protobuf v1.5.3 // indirect - github.com/golang/snappy v0.0.4 // indirect + github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect github.com/google/btree v1.1.2 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect @@ -124,12 +124,12 @@ require ( github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.5.2 // indirect github.com/gorilla/mux v1.8.1 // indirect - github.com/gorilla/websocket v1.5.0 // indirect + github.com/gorilla/websocket v1.5.1 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-getter v1.7.1 // indirect + github.com/hashicorp/go-getter v1.7.2 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-metrics v0.5.1 // indirect @@ -150,7 +150,7 @@ require ( github.com/jmhodges/levigo v1.0.0 // indirect github.com/jrick/logrotate v1.0.0 // indirect github.com/kkdai/bstream v0.0.0-20181106074824-b3251f7901ec // indirect - github.com/klauspost/compress v1.17.4 // indirect + github.com/klauspost/compress v1.17.6 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/lib/pq v1.10.7 // indirect @@ -162,12 +162,11 @@ require ( github.com/lightningnetwork/lnd/queue v1.0.1 // indirect github.com/lightningnetwork/lnd/ticker v1.0.0 // indirect github.com/lightningnetwork/lnd/tlv v1.0.2 // indirect - github.com/linxGnu/grocksdb v1.8.6 // indirect + github.com/linxGnu/grocksdb v1.8.12 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect github.com/minio/highwayhash v1.0.2 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect @@ -180,14 +179,14 @@ require ( github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_golang v1.17.0 // indirect - github.com/prometheus/client_model v0.5.0 // indirect - github.com/prometheus/common v0.45.0 // indirect + github.com/prometheus/client_golang v1.18.0 // indirect + github.com/prometheus/client_model v0.6.0 // indirect + github.com/prometheus/common v0.47.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect - github.com/rogpeppe/go-internal v1.11.0 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/rs/cors v1.8.3 // indirect - github.com/rs/zerolog v1.31.0 // indirect + github.com/rs/zerolog v1.32.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect @@ -209,13 +208,13 @@ require ( go.etcd.io/bbolt v1.3.8 // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.18.0 // indirect - golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect - golang.org/x/net v0.20.0 // indirect - golang.org/x/oauth2 v0.15.0 // indirect - golang.org/x/sync v0.5.0 // indirect - golang.org/x/sys v0.16.0 // indirect - golang.org/x/term v0.16.0 // indirect + golang.org/x/crypto v0.19.0 // indirect + golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect + golang.org/x/net v0.21.0 // indirect + golang.org/x/oauth2 v0.16.0 // indirect + golang.org/x/sync v0.6.0 // indirect + golang.org/x/sys v0.17.0 // indirect + golang.org/x/term v0.17.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect diff --git a/tools/go.sum b/tools/go.sum index 761a50d0..dc2453b9 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -184,8 +184,8 @@ cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xX cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cosmossdk.io/api v0.7.2 h1:BO3i5fvKMKvfaUiMkCznxViuBEfyWA/k6w2eAF6q1C4= -cosmossdk.io/api v0.7.2/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +cosmossdk.io/api v0.7.3 h1:V815i8YOwOAQa1rLCsSMjVG5Gnzs02JLq+l7ks8s1jk= +cosmossdk.io/api v0.7.3/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= cosmossdk.io/client/v2 v2.0.0-beta.1 h1:XkHh1lhrLYIT9zKl7cIOXUXg2hdhtjTPBUfqERNA1/Q= cosmossdk.io/client/v2 v2.0.0-beta.1/go.mod h1:JEUSu9moNZQ4kU3ir1DKD5eU4bllmAexrGWjmb9k8qU= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= @@ -196,8 +196,8 @@ cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98ok cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU= cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= -cosmossdk.io/log v1.3.0 h1:L0Z0XstClo2kOU4h3V1iDoE5Ji64sg5HLOogzGg67Oo= -cosmossdk.io/log v1.3.0/go.mod h1:HIDyvWLqZe2ovlWabsDN4aPMpY/nUEquAhgfTf2ZzB8= +cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI= +cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM= cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= cosmossdk.io/store v1.0.2 h1:lSg5BTvJBHUDwswNNyeh4K/CbqiHER73VU4nDNb8uk0= @@ -267,11 +267,11 @@ github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6l github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.44.224 h1:09CiaaF35nRmxrzWZ2uRq5v6Ghg/d2RiPjZnSgtt+RQ= -github.com/aws/aws-sdk-go v1.44.224/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +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/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d h1:cjqjqlGjaSUHf/g7iE0LIGeEApIOYpX1S7q2nkEQzUw= -github.com/babylonchain/babylon v0.8.6-0.20240315100614-79615c6b057d/go.mod h1:jR1b+5mA7BkRrXfd/PMHwk7W/RpoeQtunvjal+tKeHY= +github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 h1:7XtfE9n9STrZq3j1B9qk41a+LQgSR4vwOIKd4QD2jtg= +github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955/go.mod h1:lfeASLNJgcUsX7LEns3HRUv0k+MjzcB2q2AMasfz38M= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -282,8 +282,8 @@ github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 h1:41iFGWnSlI2gVpmOtVTJZNodLdLQLn/KsJqFvXwnd/s= github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bits-and-blooms/bitset v1.8.0 h1:FD+XqgOZDUxxZ8hzoBFuV9+cGWY9CslN6d5MS5JVb4c= -github.com/bits-and-blooms/bitset v1.8.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= +github.com/bits-and-blooms/bitset v1.10.0 h1:ePXTeiPEazB5+opbv5fr8umg2R/1NlzgDsyepwsSr88= +github.com/bits-and-blooms/bitset v1.10.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d h1:zsO4lp+bjv5XvPTF58Vq+qgmZEYZttJK+CWtSZhKenI= github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d/go.mod h1:f1iKL6ZhUWvbk7PdWVmOaak10o86cqMUYEmn1CZNGEI= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= @@ -383,8 +383,8 @@ github.com/cockroachdb/errors v1.11.1 h1:xSEW75zKaKCWzR3OfxXUxgrk/NtT4G1MiOv5lWZ github.com/cockroachdb/errors v1.11.1/go.mod h1:8MUxA3Gi6b25tYlFEBGLf+D8aISL+M4MIpiWMSNRfxw= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= -github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb h1:6Po+YYKT5B5ZXN0wd2rwFBaebM0LufPf8p4zxOd48Kg= -github.com/cockroachdb/pebble v0.0.0-20231102162011-844f0582c2eb/go.mod h1:acMRUGd/BK8AUmQNK3spUCCGzFLZU2bSST3NMXSq2Kc= +github.com/cockroachdb/pebble v1.1.0 h1:pcFh8CdCIt2kmEpK0OIatq67Ln9uGDYY3d5XnE0LJG4= +github.com/cockroachdb/pebble v1.1.0/go.mod h1:sEHm5NOXxyiAoKWhoFxT8xMgd/f3RA6qUqQ1BXKrh2E= github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= @@ -406,8 +406,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0E= github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= -github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o= -github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I= +github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU= +github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co= github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 h1:Pjvcy7wHUoYh253LvNv5Dyx+d3SNkRPsDZH+FytqZ3w= github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987/go.mod h1:0D9mrUy1eAUMQuvYzf2xvhEPk2ta9w7XH1zcYvyFiuM= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= @@ -417,8 +417,8 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.0 h1:bw6t0Mv/mVCJvlMTOPHWLs5uUE3BRBfVWCRelOzl+so= -github.com/cosmos/iavl v1.0.0/go.mod h1:CmTGqMnRnucjxbjduneZXT+0vPgNElYvdefjX2q9tYc= +github.com/cosmos/iavl v1.0.1 h1:D+mYbcRO2wptYzOM1Hxl9cpmmHU1ZEt9T2Wv5nZTeUw= +github.com/cosmos/iavl v1.0.1/go.mod h1:8xIUkgVvwvVrBu81scdPty+/Dx9GqwHnAvXz4cwF7RY= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= @@ -480,8 +480,8 @@ github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5m github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/emicklei/dot v1.6.0 h1:vUzuoVE8ipzS7QkES4UfxdpCwdU2U97m2Pb2tQCoYRY= -github.com/emicklei/dot v1.6.0/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= +github.com/emicklei/dot v1.6.1 h1:ujpDlBkkwgWUY+qPId5IwapRW/xEoligRSYjioR6DFI= +github.com/emicklei/dot v1.6.1/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -509,8 +509,8 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= -github.com/getsentry/sentry-go v0.25.0 h1:q6Eo+hS+yoJlTO3uu/azhQadsD8V+jQn2D8VvX1eOyI= -github.com/getsentry/sentry-go v0.25.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= +github.com/getsentry/sentry-go v0.27.0 h1:Pv98CIbtB3LkMWmXi4Joa5OOcwbmnX88sF5qbK3r3Ps= +github.com/getsentry/sentry-go v0.27.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= @@ -611,8 +611,9 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb h1:PBC98N2aIaM3XXiurYmW7fx4GZkL8feAMVq7nEjURHk= +github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU= @@ -696,8 +697,9 @@ github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= +github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 h1:UH//fgunKIs4JdUbpDl1VZCDaL56wXCB/5+wF6uHfaI= @@ -715,8 +717,8 @@ github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= -github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.2 h1:uJDtyXwEfalmp1PqdxuhZqrNkUyClZAhVeZYTArbqkg= +github.com/hashicorp/go-getter v1.7.2/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= @@ -813,8 +815,8 @@ github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4= -github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= +github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI= +github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= @@ -848,8 +850,8 @@ github.com/lightningnetwork/lnd/tlv v1.0.2 h1:LG7H3Uw/mHYGnEeHRPg+STavAH+UsFvuBf github.com/lightningnetwork/lnd/tlv v1.0.2/go.mod h1:fICAfsqk1IOsC1J7G9IdsWX1EqWRMqEDCNxZJSKr9C4= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linxGnu/grocksdb v1.8.6 h1:O7I6SIGPrypf3f/gmrrLUBQDKfO8uOoYdWf4gLS06tc= -github.com/linxGnu/grocksdb v1.8.6/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= +github.com/linxGnu/grocksdb v1.8.12 h1:1/pCztQUOa3BX/1gR3jSZDoaKFpeHFvQ1XrqZpSvZVo= +github.com/linxGnu/grocksdb v1.8.12/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= @@ -872,8 +874,6 @@ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= -github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= @@ -982,24 +982,24 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q= -github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY= +github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= +github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw= -github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI= +github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos= +github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= -github.com/prometheus/common v0.45.0 h1:2BGz0eBc2hdMDLnO/8n0jeB3oPrt2D08CekT0lneoxM= -github.com/prometheus/common v0.45.0/go.mod h1:YJmSTw9BoKxJplESWWxlbyttQR4uaEcGyv9MZjVOJsY= +github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= +github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= @@ -1015,14 +1015,14 @@ github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6So github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= -github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo= github.com/rs/cors v1.8.3/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.31.0 h1:FcTR3NnLWW+NnTwwhFWiJSZr4ECLpqCm6QsEnyvbV4A= -github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= +github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= +github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= @@ -1169,8 +1169,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= -golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= +golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= +golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1182,8 +1182,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= +golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1210,8 +1210,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= -golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= +golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1272,8 +1272,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= +golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= +golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1299,8 +1299,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= -golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= +golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= +golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1315,8 +1315,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= -golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1414,13 +1414,13 @@ golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= -golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= +golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= +golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1502,8 +1502,8 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= -golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= +golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= +golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= From 8507dab8b1c71b2991191750454b0ef7c2fb905e Mon Sep 17 00:00:00 2001 From: KonradStaniec Date: Tue, 11 Jun 2024 08:18:48 +0200 Subject: [PATCH 13/15] Bumps babylon to latest dev (#222) --- Dockerfile | 6 +- .../btcslasher/bootstrapping_test.go | 9 + btcstaking-tracker/btcslasher/slasher_test.go | 6 + e2etest/test_manager_btcstaking.go | 8 +- go.mod | 109 ++++----- go.sum | 226 +++++++++--------- tools/go.mod | 100 ++++---- tools/go.sum | 215 +++++++++-------- 8 files changed, 367 insertions(+), 312 deletions(-) diff --git a/Dockerfile b/Dockerfile index 47ec33e2..091910af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,12 +27,12 @@ RUN if [ -n "${VERSION}" ]; then \ fi # Cosmwasm - Download correct libwasmvm version -RUN WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm | cut -d ' ' -f 2) && \ +RUN WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm/v2 | cut -d ' ' -f 2) && \ wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/libwasmvm_muslc.$(uname -m).a \ - -O /lib/libwasmvm_muslc.a && \ + -O /lib/libwasmvm_muslc.$(uname -m).a && \ # verify checksum wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/checksums.txt -O /tmp/checksums.txt && \ - sha256sum /lib/libwasmvm_muslc.a | grep $(cat /tmp/checksums.txt | grep libwasmvm_muslc.$(uname -m) | cut -d ' ' -f 1) + sha256sum /lib/libwasmvm_muslc.$(uname -m).a | grep $(cat /tmp/checksums.txt | grep libwasmvm_muslc.$(uname -m) | cut -d ' ' -f 1) RUN CGO_LDFLAGS="$CGO_LDFLAGS -lstdc++ -lm -lsodium" \ CGO_ENABLED=1 \ diff --git a/btcstaking-tracker/btcslasher/bootstrapping_test.go b/btcstaking-tracker/btcslasher/bootstrapping_test.go index 5c5f2596..cf3f98a8 100644 --- a/btcstaking-tracker/btcslasher/bootstrapping_test.go +++ b/btcstaking-tracker/btcslasher/bootstrapping_test.go @@ -52,6 +52,11 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { covenantSks = append(covenantSks, covenantSk) covenantPks = append(covenantPks, *bbn.NewBIP340PubKeyFromBTCPK(covenantSk.PubKey())) } + var covPks []*btcec.PublicKey + + for _, pk := range covenantPks { + covPks = append(covPks, pk.MustToBTCPK()) + } logger, err := config.NewRootLogger("auto", "debug") require.NoError(t, err) @@ -95,9 +100,11 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { activeBTCDel, err := datagen.GenRandomBTCDelegation( r, t, + net, []bbn.BIP340PubKey{*fpBTCPK}, delSK, covenantSks, + covPks, bsParams.Params.CovenantQuorum, slashingAddr.String(), 100, @@ -123,9 +130,11 @@ func FuzzSlasher_Bootstrapping(f *testing.F) { activeBTCDel, err := datagen.GenRandomBTCDelegation( r, t, + net, []bbn.BIP340PubKey{*fpBTCPK}, delSK, covenantSks, + covPks, bsParams.Params.CovenantQuorum, slashingAddr.String(), 100, diff --git a/btcstaking-tracker/btcslasher/slasher_test.go b/btcstaking-tracker/btcslasher/slasher_test.go index 8571934f..f6bb8128 100644 --- a/btcstaking-tracker/btcslasher/slasher_test.go +++ b/btcstaking-tracker/btcslasher/slasher_test.go @@ -95,9 +95,11 @@ func FuzzSlasher(f *testing.F) { expiredBTCDel, err := datagen.GenRandomBTCDelegation( r, t, + net, []bbn.BIP340PubKey{*fpBTCPK}, delSK, covenantSks, + covenantBtcPks, bsParams.Params.CovenantQuorum, slashingAddr.String(), 100, @@ -120,9 +122,11 @@ func FuzzSlasher(f *testing.F) { activeBTCDel, err := datagen.GenRandomBTCDelegation( r, t, + net, []bbn.BIP340PubKey{*fpBTCPK}, delSK, covenantSks, + covenantBtcPks, bsParams.Params.CovenantQuorum, slashingAddr.String(), 100, @@ -145,9 +149,11 @@ func FuzzSlasher(f *testing.F) { unbondingBTCDel, err := datagen.GenRandomBTCDelegation( r, t, + net, []bbn.BIP340PubKey{*fpBTCPK}, delSK, covenantSks, + covenantBtcPks, bsParams.Params.CovenantQuorum, slashingAddr.String(), 100, diff --git a/e2etest/test_manager_btcstaking.go b/e2etest/test_manager_btcstaking.go index 76bf657b..a117f043 100644 --- a/e2etest/test_manager_btcstaking.go +++ b/e2etest/test_manager_btcstaking.go @@ -397,7 +397,7 @@ func (tm *TestManager) VoteAndEquivocate(t *testing.T, fpSK *btcec.PrivateKey) { require.NoError(t, err) msgToSign := append(sdk.Uint64ToBigEndian(activatedHeight), blockToVote.Block.AppHash...) // generate EOTS signature - sig, err := eots.Sign(fpSK, srList[0], msgToSign) + sig, err := eots.Sign(fpSK, srList.SRList[0], msgToSign) require.NoError(t, err) eotsSig := bbn.NewSchnorrEOTSSigFromModNScalar(sig) // submit finality signature @@ -405,6 +405,8 @@ func (tm *TestManager) VoteAndEquivocate(t *testing.T, fpSK *btcec.PrivateKey) { Signer: signerAddr, FpBtcPk: btcFp.BtcPk, BlockHeight: activatedHeight, + PubRand: &srList.PRList[0], + Proof: srList.ProofList[0].ToProto(), BlockAppHash: blockToVote.Block.AppHash, FinalitySig: eotsSig, } @@ -417,13 +419,15 @@ func (tm *TestManager) VoteAndEquivocate(t *testing.T, fpSK *btcec.PrivateKey) { */ invalidAppHash := datagen.GenRandomByteArray(r, 32) invalidMsgToSign := append(sdk.Uint64ToBigEndian(activatedHeight), invalidAppHash...) - invalidSig, err := eots.Sign(fpSK, srList[0], invalidMsgToSign) + invalidSig, err := eots.Sign(fpSK, srList.SRList[0], invalidMsgToSign) require.NoError(t, err) invalidEotsSig := bbn.NewSchnorrEOTSSigFromModNScalar(invalidSig) invalidMsgAddFinalitySig := &ftypes.MsgAddFinalitySig{ Signer: signerAddr, FpBtcPk: btcFp.BtcPk, BlockHeight: activatedHeight, + PubRand: &srList.PRList[0], + Proof: srList.ProofList[0].ToProto(), BlockAppHash: invalidAppHash, FinalitySig: invalidEotsSig, } diff --git a/go.mod b/go.mod index 32c0ce41..34df8e3a 100644 --- a/go.mod +++ b/go.mod @@ -7,17 +7,17 @@ toolchain go1.21.4 require ( cosmossdk.io/errors v1.0.1 cosmossdk.io/log v1.3.1 - cosmossdk.io/math v1.2.0 + cosmossdk.io/math v1.3.0 github.com/avast/retry-go/v4 v4.5.1 - github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 + github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d github.com/btcsuite/btcd v0.24.0 github.com/btcsuite/btcd/btcec/v2 v2.3.2 github.com/btcsuite/btcd/btcutil v1.1.5 github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 github.com/btcsuite/btcwallet v0.16.10-0.20230621165747-9c21f464ce13 - github.com/cometbft/cometbft v0.38.5 - github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 + github.com/cometbft/cometbft v0.38.6 + github.com/cosmos/cosmos-sdk v0.50.6 github.com/cosmos/relayer/v2 v2.5.1 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 github.com/gogo/protobuf v1.3.3 @@ -30,41 +30,41 @@ require ( github.com/lightningnetwork/lnd v0.16.4-beta.rc1 github.com/pebbe/zmq4 v1.2.9 github.com/pkg/errors v0.9.1 - github.com/prometheus/client_golang v1.18.0 + github.com/prometheus/client_golang v1.19.0 github.com/spf13/cobra v1.8.0 github.com/spf13/viper v1.18.2 - github.com/stretchr/testify v1.8.4 + github.com/stretchr/testify v1.9.0 go.uber.org/atomic v1.10.0 go.uber.org/zap v1.26.0 - golang.org/x/net v0.21.0 - google.golang.org/grpc v1.60.1 - google.golang.org/protobuf v1.32.0 + golang.org/x/net v0.24.0 + google.golang.org/grpc v1.63.2 + google.golang.org/protobuf v1.33.0 gopkg.in/yaml.v2 v2.4.0 ) require ( - cloud.google.com/go v0.110.10 // indirect - cloud.google.com/go/compute v1.23.3 // indirect + cloud.google.com/go v0.112.0 // indirect + cloud.google.com/go/compute v1.24.0 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.5 // indirect - cloud.google.com/go/storage v1.35.1 // indirect - cosmossdk.io/api v0.7.3 // indirect + cloud.google.com/go/iam v1.1.6 // indirect + cloud.google.com/go/storage v1.36.0 // indirect + cosmossdk.io/api v0.7.4 // indirect cosmossdk.io/client/v2 v2.0.0-beta.1 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect - cosmossdk.io/store v1.0.2 // indirect - cosmossdk.io/tools/confix v0.1.0 // indirect + cosmossdk.io/store v1.1.0 // indirect + cosmossdk.io/tools/confix v0.1.1 // indirect cosmossdk.io/x/circuit v0.1.0 // indirect cosmossdk.io/x/evidence v0.1.0 // indirect cosmossdk.io/x/feegrant v0.1.0 // indirect cosmossdk.io/x/nft v0.1.0 // indirect - cosmossdk.io/x/tx v0.13.0 // indirect - cosmossdk.io/x/upgrade v0.1.0 // indirect + cosmossdk.io/x/tx v0.13.3 // indirect + cosmossdk.io/x/upgrade v0.1.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/keyring v1.2.1 // indirect - github.com/CosmWasm/wasmd v0.50.0 // indirect - github.com/CosmWasm/wasmvm v1.5.2 // indirect + github.com/CosmWasm/wasmd v0.51.0 // indirect + github.com/CosmWasm/wasmvm/v2 v2.0.0 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/aead/siphash v1.0.1 // indirect @@ -82,7 +82,7 @@ require ( github.com/btcsuite/winsvc v1.0.0 // indirect github.com/cenkalti/backoff/v4 v4.2.0 // indirect github.com/cespare/xxhash v1.1.0 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/chzyer/readline v1.5.1 // indirect github.com/cockroachdb/apd/v2 v2.0.2 // indirect github.com/cockroachdb/errors v1.11.1 // indirect @@ -96,12 +96,12 @@ require ( github.com/coreos/go-semver v0.3.0 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/cosmos/btcutil v1.0.5 // indirect - github.com/cosmos/cosmos-db v1.0.0 // indirect - github.com/cosmos/cosmos-proto v1.0.0-beta.4 // indirect + github.com/cosmos/cosmos-db v1.0.2 // indirect + github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/gogoproto v1.4.11 // indirect - github.com/cosmos/iavl v1.0.1 // indirect + github.com/cosmos/gogoproto v1.4.12 // indirect + github.com/cosmos/iavl v1.1.2 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect github.com/cosmos/ibc-go/v8 v8.0.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect @@ -133,21 +133,21 @@ require ( github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect - github.com/go-logr/logr v1.2.3 // indirect + github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/googleapis v1.4.1 // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.3 // indirect + github.com/golang/protobuf v1.5.4 // indirect github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect github.com/google/btree v1.1.2 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/orderedcode v0.0.1 // indirect github.com/google/s2a-go v0.1.7 // indirect - github.com/google/uuid v1.4.0 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.5.2 // indirect @@ -157,10 +157,10 @@ require ( github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-getter v1.7.2 // indirect + github.com/hashicorp/go-getter v1.7.3 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/go-metrics v0.5.1 // indirect + github.com/hashicorp/go-metrics v0.5.3 // indirect github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect @@ -191,7 +191,7 @@ require ( github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect github.com/kkdai/bstream v1.0.0 // indirect - github.com/klauspost/compress v1.17.6 // indirect + github.com/klauspost/compress v1.17.7 // indirect github.com/klauspost/pgzip v1.2.5 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect @@ -207,7 +207,7 @@ require ( github.com/lightningnetwork/lnd/ticker v1.1.0 // indirect github.com/lightningnetwork/lnd/tlv v1.1.0 // indirect github.com/lightningnetwork/lnd/tor v1.1.0 // indirect - github.com/linxGnu/grocksdb v1.8.12 // indirect + github.com/linxGnu/grocksdb v1.8.14 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect @@ -227,12 +227,12 @@ require ( github.com/oklog/run v1.1.0 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect + github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect github.com/pierrec/lz4/v4 v4.1.8 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_model v0.6.0 // indirect - github.com/prometheus/common v0.47.0 // indirect - github.com/prometheus/procfs v0.12.0 // indirect + github.com/prometheus/client_model v0.6.1 // indirect + github.com/prometheus/common v0.52.2 // indirect + github.com/prometheus/procfs v0.13.0 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect github.com/rivo/uniseg v0.4.4 // indirect @@ -270,30 +270,31 @@ require ( go.etcd.io/etcd/raft/v3 v3.5.7 // indirect go.etcd.io/etcd/server/v3 v3.5.7 // indirect go.opencensus.io v0.24.0 // indirect - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3 // indirect - go.opentelemetry.io/otel v1.14.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect + go.opentelemetry.io/otel v1.22.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.0.1 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.0.1 // indirect - go.opentelemetry.io/otel/sdk v1.14.0 // indirect - go.opentelemetry.io/otel/trace v1.14.0 // indirect + go.opentelemetry.io/otel/metric v1.22.0 // indirect + go.opentelemetry.io/otel/sdk v1.21.0 // indirect + go.opentelemetry.io/otel/trace v1.22.0 // indirect go.opentelemetry.io/proto/otlp v0.9.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.19.0 // indirect - golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect - golang.org/x/mod v0.15.0 // indirect - golang.org/x/oauth2 v0.16.0 // indirect - golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.17.0 // indirect - golang.org/x/term v0.17.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect + golang.org/x/mod v0.17.0 // indirect + golang.org/x/oauth2 v0.18.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/term v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.18.0 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.153.0 // indirect + golang.org/x/tools v0.20.0 // indirect + google.golang.org/api v0.162.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect + google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index c9fc828d..2fb3ca65 100644 --- a/go.sum +++ b/go.sum @@ -30,8 +30,8 @@ cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w9 cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= -cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= +cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM= +cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= @@ -68,8 +68,8 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= -cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= +cloud.google.com/go/compute v1.24.0 h1:phWcR2eWzRJaL/kOiJwfFsPs4BaKq1j6vnpZrc1YlVg= +cloud.google.com/go/compute v1.24.0/go.mod h1:kw1/T+h/+tK2LJK0wiPPx1intgdAM3j/g3hFDlscY40= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= @@ -109,8 +109,8 @@ cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y97 cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= -cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= +cloud.google.com/go/iam v1.1.6 h1:bEa06k05IO4f4uJonbB5iAgKTPpABy1ayxaIZV/GHVc= +cloud.google.com/go/iam v1.1.6/go.mod h1:O0zxdPeGBoFdWW3HWmBxJsk0pfvNM/p/qa82rWOGTwI= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= @@ -171,8 +171,8 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9 cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cloud.google.com/go/storage v1.35.1 h1:B59ahL//eDfx2IIKFBeT5Atm9wnNmj3+8xG/W4WB//w= -cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= +cloud.google.com/go/storage v1.36.0 h1:P0mOkAcaJxhCTvAkMhxMfrTKiNcub4YmmPBtlhAyTr8= +cloud.google.com/go/storage v1.36.0/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= @@ -184,8 +184,8 @@ cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xX cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cosmossdk.io/api v0.7.3 h1:V815i8YOwOAQa1rLCsSMjVG5Gnzs02JLq+l7ks8s1jk= -cosmossdk.io/api v0.7.3/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +cosmossdk.io/api v0.7.4 h1:sPo8wKwCty1lht8kgL3J7YL1voJywP3YWuA5JKkBz30= +cosmossdk.io/api v0.7.4/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= cosmossdk.io/client/v2 v2.0.0-beta.1 h1:XkHh1lhrLYIT9zKl7cIOXUXg2hdhtjTPBUfqERNA1/Q= cosmossdk.io/client/v2 v2.0.0-beta.1/go.mod h1:JEUSu9moNZQ4kU3ir1DKD5eU4bllmAexrGWjmb9k8qU= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= @@ -198,12 +198,12 @@ cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI= cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM= -cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= -cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= -cosmossdk.io/store v1.0.2 h1:lSg5BTvJBHUDwswNNyeh4K/CbqiHER73VU4nDNb8uk0= -cosmossdk.io/store v1.0.2/go.mod h1:EFtENTqVTuWwitGW1VwaBct+yDagk7oG/axBMPH+FXs= -cosmossdk.io/tools/confix v0.1.0 h1:2OOZTtQsDT5e7P3FM5xqM0bPfluAxZlAwxqaDmYBE+E= -cosmossdk.io/tools/confix v0.1.0/go.mod h1:TdXKVYs4gEayav5wM+JHT+kTU2J7fozFNqoVaN+8CdY= +cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE= +cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k= +cosmossdk.io/store v1.1.0 h1:LnKwgYMc9BInn9PhpTFEQVbL9UK475G2H911CGGnWHk= +cosmossdk.io/store v1.1.0/go.mod h1:oZfW/4Fc/zYqu3JmQcQdUJ3fqu5vnYTn3LZFFy8P8ng= +cosmossdk.io/tools/confix v0.1.1 h1:aexyRv9+y15veH3Qw16lxQwo+ki7r2I+g0yNTEFEQM8= +cosmossdk.io/tools/confix v0.1.1/go.mod h1:nQVvP1tHsGXS83PonPVWJtSbddIqyjEw99L4M3rPJyQ= cosmossdk.io/x/circuit v0.1.0 h1:IAej8aRYeuOMritczqTlljbUVHq1E85CpBqaCTwYgXs= cosmossdk.io/x/circuit v0.1.0/go.mod h1:YDzblVE8+E+urPYQq5kq5foRY/IzhXovSYXb4nwd39w= cosmossdk.io/x/evidence v0.1.0 h1:J6OEyDl1rbykksdGynzPKG5R/zm6TacwW2fbLTW4nCk= @@ -212,10 +212,10 @@ cosmossdk.io/x/feegrant v0.1.0 h1:c7s3oAq/8/UO0EiN1H5BIjwVntujVTkYs35YPvvrdQk= cosmossdk.io/x/feegrant v0.1.0/go.mod h1:4r+FsViJRpcZif/yhTn+E0E6OFfg4n0Lx+6cCtnZElU= cosmossdk.io/x/nft v0.1.0 h1:VhcsFiEK33ODN27kxKLa0r/CeFd8laBfbDBwYqCyYCM= cosmossdk.io/x/nft v0.1.0/go.mod h1:ec4j4QAO4mJZ+45jeYRnW7awLHby1JZANqe1hNZ4S3g= -cosmossdk.io/x/tx v0.13.0 h1:8lzyOh3zONPpZv2uTcUmsv0WTXy6T1/aCVDCqShmpzU= -cosmossdk.io/x/tx v0.13.0/go.mod h1:CpNQtmoqbXa33/DVxWQNx5Dcnbkv2xGUhL7tYQ5wUsY= -cosmossdk.io/x/upgrade v0.1.0 h1:z1ZZG4UL9ICTNbJDYZ6jOnF9GdEK9wyoEFi4BUScHXE= -cosmossdk.io/x/upgrade v0.1.0/go.mod h1:/6jjNGbiPCNtmA1N+rBtP601sr0g4ZXuj3yC6ClPCGY= +cosmossdk.io/x/tx v0.13.3 h1:Ha4mNaHmxBc6RMun9aKuqul8yHiL78EKJQ8g23Zf73g= +cosmossdk.io/x/tx v0.13.3/go.mod h1:I8xaHv0rhUdIvIdptKIqzYy27+n2+zBVaxO6fscFhys= +cosmossdk.io/x/upgrade v0.1.1 h1:aoPe2gNvH+Gwt/Pgq3dOxxQVU3j5P6Xf+DaUJTDZATc= +cosmossdk.io/x/upgrade v0.1.1/go.mod h1:MNLptLPcIFK9CWt7Ra//8WUZAxweyRDNcbs5nkOcQy0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= @@ -225,10 +225,10 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/CosmWasm/wasmd v0.50.0 h1:NVaGqCSTRfb9UTDHJwT6nQIWcb6VjlQl88iI+u1+qjE= -github.com/CosmWasm/wasmd v0.50.0/go.mod h1:UjmShW4l9YxaMytwJZ7IB7MWzHiynSZP3DdWrG0FRtk= -github.com/CosmWasm/wasmvm v1.5.2 h1:+pKB1Mz9GZVt1vadxB+EDdD1FOz3dMNjIKq/58/lrag= -github.com/CosmWasm/wasmvm v1.5.2/go.mod h1:Q0bSEtlktzh7W2hhEaifrFp1Erx11ckQZmjq8FLCyys= +github.com/CosmWasm/wasmd v0.51.0 h1:3A2o20RrdF7P1D3Xb+R7A/pHbbHWsYCDXrHLa7S0SC8= +github.com/CosmWasm/wasmd v0.51.0/go.mod h1:7TSaj5HoolghujuVWeExqmcUKgpcYWEySGLSODbnnwY= +github.com/CosmWasm/wasmvm/v2 v2.0.0 h1:IqNCI2G0mvs7K6ej17/I28805rVqnu+Y1cWDqIdwb08= +github.com/CosmWasm/wasmvm/v2 v2.0.0/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -283,8 +283,8 @@ 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/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 h1:7XtfE9n9STrZq3j1B9qk41a+LQgSR4vwOIKd4QD2jtg= -github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955/go.mod h1:lfeASLNJgcUsX7LEns3HRUv0k+MjzcB2q2AMasfz38M= +github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb h1:WHtB8TneukFZrDFH5ynNvGiQ5fpSB1+le/lydCoeujc= +github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb/go.mod h1:YFALTW+Kp/b5jSDoA7Z70RggJjAedlmQTrpdeU8c3hY= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -359,8 +359,8 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= +github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM= @@ -384,8 +384,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 h1:/inchEIKaYC1Akx+H+gqO04wryn5h75LSazbRlnya1k= -github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= @@ -404,8 +404,8 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.5 h1:4lOcK5VTPrfbLOhNHmPYe6c7eDXHtBdMCQuKbAfFJdU= -github.com/cometbft/cometbft v0.38.5/go.mod h1:0tqKin+KQs8zDwzYD8rPHzSBIDNPuB4NrwwGDNb/hUg= +github.com/cometbft/cometbft v0.38.6 h1:QSgpCzrGWJ2KUq1qpw+FCfASRpE27T6LQbfEHscdyOk= +github.com/cometbft/cometbft v0.38.6/go.mod h1:8rSPxzUJYquCN8uuBgbUHOMg2KAwvr7CyUw+6ukO4nw= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/consensys/bavard v0.1.13 h1:oLhMLOFGTLdlda/kma4VOJazblc7IM5y5QPd2A/YjhQ= @@ -427,21 +427,21 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= -github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0E= -github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= -github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU= -github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co= -github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 h1:Pjvcy7wHUoYh253LvNv5Dyx+d3SNkRPsDZH+FytqZ3w= -github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987/go.mod h1:0D9mrUy1eAUMQuvYzf2xvhEPk2ta9w7XH1zcYvyFiuM= +github.com/cosmos/cosmos-db v1.0.2 h1:hwMjozuY1OlJs/uh6vddqnk9j7VamLv+0DBlbEXbAKs= +github.com/cosmos/cosmos-db v1.0.2/go.mod h1:Z8IXcFJ9PqKK6BIsVOB3QXtkKoqUOp1vRvPT39kOXEA= +github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA= +github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec= +github.com/cosmos/cosmos-sdk v0.50.6 h1:efR3MsvMHX5sxS3be+hOobGk87IzlZbSpsI2x/Vw3hk= +github.com/cosmos/cosmos-sdk v0.50.6/go.mod h1:lVkRY6cdMJ0fG3gp8y4hFrsKZqF4z7y0M2UXFb9Yt40= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI= github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= -github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= -github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.1 h1:D+mYbcRO2wptYzOM1Hxl9cpmmHU1ZEt9T2Wv5nZTeUw= -github.com/cosmos/iavl v1.0.1/go.mod h1:8xIUkgVvwvVrBu81scdPty+/Dx9GqwHnAvXz4cwF7RY= +github.com/cosmos/gogoproto v1.4.12 h1:vB6Lbe/rtnYGjQuFxkPiPYiCybqFT8QvLipDZP8JpFE= +github.com/cosmos/gogoproto v1.4.12/go.mod h1:LnZob1bXRdUoqMMtwYlcR3wjiElmlC+FkjaZRv1/eLY= +github.com/cosmos/iavl v1.1.2 h1:zL9FK7C4L/P4IF1Dm5fIwz0WXCnn7Bp1M2FxH0ayM7Y= +github.com/cosmos/iavl v1.1.2/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= @@ -529,8 +529,8 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.m github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= -github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= +github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A= +github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/ethereum/c-kzg-4844 v0.4.0 h1:3MS1s4JtA868KpJxroZoepdV0ZKBp3u/O5HcZ7R3nlY= github.com/ethereum/c-kzg-4844 v0.4.0/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0= github.com/ethereum/go-ethereum v1.13.14 h1:EwiY3FZP94derMCIam1iW4HFVrSgIcpsu0HwTQtm6CQ= @@ -582,8 +582,8 @@ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= @@ -660,8 +660,8 @@ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -726,8 +726,8 @@ github.com/google/subcommands v1.2.0/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3 github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= -github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= @@ -778,15 +778,15 @@ github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-getter v1.7.2 h1:uJDtyXwEfalmp1PqdxuhZqrNkUyClZAhVeZYTArbqkg= -github.com/hashicorp/go-getter v1.7.2/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.3 h1:bN2+Fw9XPFvOCjB0UOevFIMICZ7G2XSQHzfvLUyOM5E= +github.com/hashicorp/go-getter v1.7.3/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/Hqck/U= -github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= +github.com/hashicorp/go-metrics v0.5.3 h1:M5uADWMOGCTUNU1YuC4hfknOeHNaX54LDm4oYSucoNE= +github.com/hashicorp/go-metrics v0.5.3/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= @@ -937,8 +937,8 @@ github.com/klauspost/compress v1.10.10/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdY github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI= -github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= +github.com/klauspost/compress v1.17.7 h1:ehO88t2UGzQK66LMdE8tibEd1ErmzZjNEqWkjLAKQQg= +github.com/klauspost/compress v1.17.7/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/pgzip v1.2.4/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/klauspost/pgzip v1.2.5 h1:qnWYvvKqedOF2ulHpMG72XQol4ILEJ8k2wwRl/Km8oE= @@ -1000,8 +1000,8 @@ github.com/lightningnetwork/lnd/tor v1.1.0 h1:iXO7fSzjxTI+p88KmtpbuyuRJeNfgtpl9Q github.com/lightningnetwork/lnd/tor v1.1.0/go.mod h1:RDtaAdwfAm+ONuPYwUhNIH1RAvKPv+75lHPOegUcz64= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linxGnu/grocksdb v1.8.12 h1:1/pCztQUOa3BX/1gR3jSZDoaKFpeHFvQ1XrqZpSvZVo= -github.com/linxGnu/grocksdb v1.8.12/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= +github.com/linxGnu/grocksdb v1.8.14 h1:HTgyYalNwBSG/1qCQUIott44wU5b2Y9Kr3z7SK5OfGQ= +github.com/linxGnu/grocksdb v1.8.14/go.mod h1:QYiYypR2d4v63Wj1adOOfzglnoII0gLj3PNh4fZkcFA= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 h1:sjOGyegMIhvgfq5oaue6Td+hxZuf3tDC8lAPrFldqFw= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796/go.mod h1:3p7ZTf9V1sNPI5H8P3NkTFF4LuwMdPl2DodF60qAKqY= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= @@ -1138,8 +1138,8 @@ github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6 github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc h1:8bQZVK1X6BJR/6nYUPxQEP+ReTsceJTKizeuwjWOPUA= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 h1:jik8PHtAIsPlCRJjJzl4udgEf7hawInF9texMeO2jrU= +github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pierrec/lz4/v4 v4.0.3/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= @@ -1163,32 +1163,32 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= -github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= +github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU= +github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos= -github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8= +github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= +github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= -github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= -github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= +github.com/prometheus/common v0.52.2 h1:LW8Vk7BccEdONfrJBDffQGRtpSzi5CQaRZGtboOO2ck= +github.com/prometheus/common v0.52.2/go.mod h1:lrWtQx+iDfn2mbH5GUzlH9TSHyfZpHkSiG1W7y3sF2Q= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= -github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= +github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o= +github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= @@ -1277,8 +1277,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1289,8 +1290,9 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/supranational/blst v0.3.11 h1:LyU6FolezeWAhvQk0k6O/d49jqgO52MSDDfYgbeoEm4= @@ -1373,21 +1375,25 @@ go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3 h1:syAz40OyelLZo42+3U68Phisvrx4qh+4wpdZw7eUUdY= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3/go.mod h1:Dts42MGkzZne2yCru741+bFiTMWkIj/LLRizad7b9tw= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 h1:UNQQKPfTDe1J81ViolILjTKPr9WetKW6uei2hFgJmFs= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0/go.mod h1:r9vWsPS/3AQItv3OSlEJ/E4mbrhUbbw18meOjArPtKQ= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 h1:sv9kVfal0MK0wBMCOGr+HeJm9v803BkJxGrk2au7j08= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0/go.mod h1:SK2UL73Zy1quvRPonmOmRDiWk1KBV3LyIeeIxcEApWw= go.opentelemetry.io/otel v1.0.1/go.mod h1:OPEOD4jIT2SlZPMmwT6FqZz2C0ZNdQqiWcoK6M0SNFU= -go.opentelemetry.io/otel v1.14.0 h1:/79Huy8wbf5DnIPhemGB+zEPVwnN6fuQybr/SRXa6hM= -go.opentelemetry.io/otel v1.14.0/go.mod h1:o4buv+dJzx8rohcUeRmWUZhqupFvzWis188WlggnNeU= +go.opentelemetry.io/otel v1.22.0 h1:xS7Ku+7yTFvDfDraDIJVpw7XPyuHlB9MCiqqX5mcJ6Y= +go.opentelemetry.io/otel v1.22.0/go.mod h1:eoV4iAi3Ea8LkAEI9+GFT44O6T/D0GWAVFyZVCC6pMI= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.0.1 h1:ofMbch7i29qIUf7VtF+r0HRF6ac0SBaPSziSsKp7wkk= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.0.1/go.mod h1:Kv8liBeVNFkkkbilbgWRpV+wWuu+H5xdOT6HAgd30iw= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.0.1 h1:CFMFNoz+CGprjFAFy+RJFrfEe4GBia3RRm2a4fREvCA= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.0.1/go.mod h1:xOvWoTOrQjxjW61xtOmD/WKGRYb/P4NzRo3bs65U6Rk= +go.opentelemetry.io/otel/metric v1.22.0 h1:lypMQnGyJYeuYPhOM/bgjbFM6WE44W1/T45er4d8Hhg= +go.opentelemetry.io/otel/metric v1.22.0/go.mod h1:evJGjVpZv0mQ5QBRJoBF64yMuOf4xCWdXjK8pzFvliY= go.opentelemetry.io/otel/sdk v1.0.1/go.mod h1:HrdXne+BiwsOHYYkBE5ysIcv2bvdZstxzmCQhxTcZkI= -go.opentelemetry.io/otel/sdk v1.14.0 h1:PDCppFRDq8A1jL9v6KMI6dYesaq+DFcDZvjsoGvxGzY= -go.opentelemetry.io/otel/sdk v1.14.0/go.mod h1:bwIC5TjrNG6QDCHNWvW4HLHtUQ4I+VQDsnjhvyZCALM= +go.opentelemetry.io/otel/sdk v1.21.0 h1:FTt8qirL1EysG6sTQRZ5TokkU8d0ugCj8htOgThZXQ8= +go.opentelemetry.io/otel/sdk v1.21.0/go.mod h1:Nna6Yv7PWTdgJHVRD9hIYywQBRx7pbox6nwBnZIxl/E= go.opentelemetry.io/otel/trace v1.0.1/go.mod h1:5g4i4fKLaX2BQpSBsxw8YYcgKpMMSW3x7ZTuYBr3sUk= -go.opentelemetry.io/otel/trace v1.14.0 h1:wp2Mmvj41tDsyAJXiWDWpfNsOiIyd38fy85pyKcFq/M= -go.opentelemetry.io/otel/trace v1.14.0/go.mod h1:8avnQLK+CG77yNLUae4ea2JDQ6iT+gozhnZjy/rw9G8= +go.opentelemetry.io/otel/trace v1.22.0 h1:Hg6pPujv0XG9QaVbGOBVHunyuLcCC3jN7WEhPx83XD0= +go.opentelemetry.io/otel/trace v1.22.0/go.mod h1:RbbHXVqKES9QhzZq/fE5UnOSILqRt40a21sPw2He1xo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.9.0 h1:C0g6TWmQYvjKRnljRULLWUVJGy8Uvu0NEL/5frY2/t4= go.opentelemetry.io/proto/otlp v0.9.0/go.mod h1:1vKfU9rv61e9EVGthD1zNvUbiwPcimSsOPU9brfSHJg= @@ -1431,8 +1437,8 @@ golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWP golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= -golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1444,8 +1450,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= +golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 h1:985EYyeCOxTpcgOTJpflJUwOeEz0CQOdPt73OzpE9F8= +golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0/go.mod h1:/lliqkxwWAhPjf5oSOIJup2XcqJaw8RGS6k3TGEc7GI= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1472,8 +1478,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= -golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1537,8 +1543,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= +golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1564,8 +1570,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= -golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= +golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= +golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1580,8 +1586,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1687,14 +1693,14 @@ golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= -golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= +golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= +golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1706,8 +1712,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1777,8 +1783,8 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= -golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= +golang.org/x/tools v0.20.0 h1:hz/CVckiOxybQvFw6h7b/q80NTr9IUQb4s1IIzW7KNY= +golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1839,8 +1845,8 @@ google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.153.0 h1:N1AwGhielyKFaUqH07/ZSIQR3uNPcV7NVw0vj+j4iR4= -google.golang.org/api v0.153.0/go.mod h1:3qNJX5eOmhiWYc67jRA/3GsDw97UFb5ivv7Y2PrriAY= +google.golang.org/api v0.162.0 h1:Vhs54HkaEpkMBdgGdOT2P6F0csGG/vxDS0hWHJzmmps= +google.golang.org/api v0.162.0/go.mod h1:6SulDkfoBIg4NFmCuZ39XeeAgSHCPecfSUuDyYlAHs0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1958,12 +1964,12 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 h1:1hfbdAfFbkmpg41000wDVqr7jUpK/Yo+LPnIxxGzmkg= -google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3/go.mod h1:5RBcpGRxr25RbDzY5w+dmaqpSEvl8Gwl1x2CICf60ic= -google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f h1:2yNACc1O40tTnrsbk9Cv6oxiW8pxI/pXj0wRtdlYmgY= -google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f/go.mod h1:Uy9bTZJqmfrw2rIBxgGLnamc78euZULUBrLZ9XTITKI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 h1:/jFB8jK5R3Sq3i/lmeZO0cATSzFfZaJq1J2Euan3XKU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0/go.mod h1:FUoWkonphQm3RhTS+kOEhF8h0iDpm4tdXolVCeZ9KKA= +google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY= +google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo= +google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0= +google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= @@ -2006,8 +2012,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= -google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= +google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= +google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -2024,8 +2030,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= -google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tools/go.mod b/tools/go.mod index 19232670..0864eb42 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -5,38 +5,38 @@ go 1.21 toolchain go1.21.4 require ( - github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 + github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb github.com/btcsuite/btcd v0.24.0 github.com/btcsuite/btcwallet v0.16.9 ) require ( - cloud.google.com/go v0.110.10 // indirect - cloud.google.com/go/compute v1.23.3 // indirect + cloud.google.com/go v0.112.0 // indirect + cloud.google.com/go/compute v1.24.0 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.5 // indirect - cloud.google.com/go/storage v1.35.1 // indirect - cosmossdk.io/api v0.7.3 // indirect + cloud.google.com/go/iam v1.1.6 // indirect + cloud.google.com/go/storage v1.36.0 // indirect + cosmossdk.io/api v0.7.4 // indirect cosmossdk.io/client/v2 v2.0.0-beta.1 // indirect cosmossdk.io/collections v0.4.0 // indirect cosmossdk.io/core v0.11.0 // indirect cosmossdk.io/depinject v1.0.0-alpha.4 // indirect cosmossdk.io/errors v1.0.1 // indirect cosmossdk.io/log v1.3.1 // indirect - cosmossdk.io/math v1.2.0 // indirect - cosmossdk.io/store v1.0.2 // indirect - cosmossdk.io/tools/confix v0.1.0 // indirect + cosmossdk.io/math v1.3.0 // indirect + cosmossdk.io/store v1.1.0 // indirect + cosmossdk.io/tools/confix v0.1.1 // indirect cosmossdk.io/x/circuit v0.1.0 // indirect cosmossdk.io/x/evidence v0.1.0 // indirect cosmossdk.io/x/feegrant v0.1.0 // indirect cosmossdk.io/x/nft v0.1.0 // indirect - cosmossdk.io/x/tx v0.13.0 // indirect - cosmossdk.io/x/upgrade v0.1.0 // indirect + cosmossdk.io/x/tx v0.13.3 // indirect + cosmossdk.io/x/upgrade v0.1.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect - github.com/CosmWasm/wasmd v0.50.0 // indirect - github.com/CosmWasm/wasmvm v1.5.2 // indirect + github.com/CosmWasm/wasmd v0.51.0 // indirect + github.com/CosmWasm/wasmvm/v2 v2.0.0 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/aead/siphash v1.0.1 // indirect @@ -61,7 +61,7 @@ require ( github.com/btcsuite/winsvc v1.0.0 // indirect github.com/cenkalti/backoff/v4 v4.2.0 // indirect github.com/cespare/xxhash v1.1.0 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/chzyer/readline v1.5.1 // indirect github.com/cockroachdb/apd/v2 v2.0.2 // indirect github.com/cockroachdb/errors v1.11.1 // indirect @@ -69,16 +69,16 @@ require ( github.com/cockroachdb/pebble v1.1.0 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/cometbft/cometbft v0.38.5 // indirect + github.com/cometbft/cometbft v0.38.6 // indirect github.com/cometbft/cometbft-db v0.9.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect - github.com/cosmos/cosmos-db v1.0.0 // indirect - github.com/cosmos/cosmos-proto v1.0.0-beta.4 // indirect - github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 // indirect + github.com/cosmos/cosmos-db v1.0.2 // indirect + github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect + github.com/cosmos/cosmos-sdk v0.50.6 // indirect github.com/cosmos/go-bip39 v1.0.0 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/gogoproto v1.4.11 // indirect - github.com/cosmos/iavl v1.0.1 // indirect + github.com/cosmos/gogoproto v1.4.12 // indirect + github.com/cosmos/iavl v1.1.2 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect github.com/cosmos/ibc-go/v8 v8.0.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect @@ -106,20 +106,22 @@ require ( github.com/go-kit/kit v0.12.0 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect + github.com/go-logr/logr v1.4.1 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/googleapis v1.4.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect - github.com/golang/protobuf v1.5.3 // indirect + github.com/golang/protobuf v1.5.4 // indirect github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect github.com/google/btree v1.1.2 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/orderedcode v0.0.1 // indirect github.com/google/s2a-go v0.1.7 // indirect - github.com/google/uuid v1.4.0 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/handlers v1.5.2 // indirect @@ -129,10 +131,10 @@ require ( github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-getter v1.7.2 // indirect + github.com/hashicorp/go-getter v1.7.3 // indirect github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect - github.com/hashicorp/go-metrics v0.5.1 // indirect + github.com/hashicorp/go-metrics v0.5.3 // indirect github.com/hashicorp/go-plugin v1.5.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-version v1.6.0 // indirect @@ -150,7 +152,7 @@ require ( github.com/jmhodges/levigo v1.0.0 // indirect github.com/jrick/logrotate v1.0.0 // indirect github.com/kkdai/bstream v0.0.0-20181106074824-b3251f7901ec // indirect - github.com/klauspost/compress v1.17.6 // indirect + github.com/klauspost/compress v1.17.7 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/kr/text v0.2.0 // indirect github.com/lib/pq v1.10.7 // indirect @@ -162,7 +164,7 @@ require ( github.com/lightningnetwork/lnd/queue v1.0.1 // indirect github.com/lightningnetwork/lnd/ticker v1.0.0 // indirect github.com/lightningnetwork/lnd/tlv v1.0.2 // indirect - github.com/linxGnu/grocksdb v1.8.12 // indirect + github.com/linxGnu/grocksdb v1.8.14 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect @@ -176,13 +178,13 @@ require ( github.com/oklog/run v1.1.0 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/pelletier/go-toml/v2 v2.1.0 // indirect - github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc // indirect + github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/prometheus/client_golang v1.18.0 // indirect - github.com/prometheus/client_model v0.6.0 // indirect - github.com/prometheus/common v0.47.0 // indirect - github.com/prometheus/procfs v0.12.0 // indirect + github.com/prometheus/client_golang v1.19.0 // indirect + github.com/prometheus/client_model v0.6.1 // indirect + github.com/prometheus/common v0.52.2 // indirect + github.com/prometheus/procfs v0.13.0 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/rs/cors v1.8.3 // indirect @@ -196,7 +198,7 @@ require ( github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/viper v1.18.2 // indirect - github.com/stretchr/testify v1.8.4 // indirect + github.com/stretchr/testify v1.9.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/supranational/blst v0.3.11 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect @@ -207,24 +209,28 @@ require ( github.com/zondax/ledger-go v0.14.3 // indirect go.etcd.io/bbolt v1.3.8 // indirect go.opencensus.io v0.24.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect + go.opentelemetry.io/otel v1.22.0 // indirect + go.opentelemetry.io/otel/metric v1.22.0 // indirect + go.opentelemetry.io/otel/trace v1.22.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.19.0 // indirect - golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect - golang.org/x/net v0.21.0 // indirect - golang.org/x/oauth2 v0.16.0 // indirect - golang.org/x/sync v0.6.0 // indirect - golang.org/x/sys v0.17.0 // indirect - golang.org/x/term v0.17.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect + golang.org/x/net v0.24.0 // indirect + golang.org/x/oauth2 v0.18.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/term v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect golang.org/x/time v0.5.0 // indirect - golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.153.0 // indirect + google.golang.org/api v0.162.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect - google.golang.org/grpc v1.60.1 // indirect - google.golang.org/protobuf v1.32.0 // indirect + google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect + google.golang.org/grpc v1.63.2 // indirect + google.golang.org/protobuf v1.33.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/tools/go.sum b/tools/go.sum index dc2453b9..74e3e342 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -30,8 +30,8 @@ cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w9 cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= -cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= +cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM= +cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= @@ -68,8 +68,8 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= -cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= +cloud.google.com/go/compute v1.24.0 h1:phWcR2eWzRJaL/kOiJwfFsPs4BaKq1j6vnpZrc1YlVg= +cloud.google.com/go/compute v1.24.0/go.mod h1:kw1/T+h/+tK2LJK0wiPPx1intgdAM3j/g3hFDlscY40= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= @@ -109,8 +109,8 @@ cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y97 cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= -cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= +cloud.google.com/go/iam v1.1.6 h1:bEa06k05IO4f4uJonbB5iAgKTPpABy1ayxaIZV/GHVc= +cloud.google.com/go/iam v1.1.6/go.mod h1:O0zxdPeGBoFdWW3HWmBxJsk0pfvNM/p/qa82rWOGTwI= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= @@ -171,8 +171,8 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9 cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cloud.google.com/go/storage v1.35.1 h1:B59ahL//eDfx2IIKFBeT5Atm9wnNmj3+8xG/W4WB//w= -cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= +cloud.google.com/go/storage v1.36.0 h1:P0mOkAcaJxhCTvAkMhxMfrTKiNcub4YmmPBtlhAyTr8= +cloud.google.com/go/storage v1.36.0/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= @@ -184,8 +184,8 @@ cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xX cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cosmossdk.io/api v0.7.3 h1:V815i8YOwOAQa1rLCsSMjVG5Gnzs02JLq+l7ks8s1jk= -cosmossdk.io/api v0.7.3/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= +cosmossdk.io/api v0.7.4 h1:sPo8wKwCty1lht8kgL3J7YL1voJywP3YWuA5JKkBz30= +cosmossdk.io/api v0.7.4/go.mod h1:IcxpYS5fMemZGqyYtErK7OqvdM0C8kdW3dq8Q/XIG38= cosmossdk.io/client/v2 v2.0.0-beta.1 h1:XkHh1lhrLYIT9zKl7cIOXUXg2hdhtjTPBUfqERNA1/Q= cosmossdk.io/client/v2 v2.0.0-beta.1/go.mod h1:JEUSu9moNZQ4kU3ir1DKD5eU4bllmAexrGWjmb9k8qU= cosmossdk.io/collections v0.4.0 h1:PFmwj2W8szgpD5nOd8GWH6AbYNi1f2J6akWXJ7P5t9s= @@ -198,12 +198,12 @@ cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= cosmossdk.io/log v1.3.1 h1:UZx8nWIkfbbNEWusZqzAx3ZGvu54TZacWib3EzUYmGI= cosmossdk.io/log v1.3.1/go.mod h1:2/dIomt8mKdk6vl3OWJcPk2be3pGOS8OQaLUM/3/tCM= -cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= -cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= -cosmossdk.io/store v1.0.2 h1:lSg5BTvJBHUDwswNNyeh4K/CbqiHER73VU4nDNb8uk0= -cosmossdk.io/store v1.0.2/go.mod h1:EFtENTqVTuWwitGW1VwaBct+yDagk7oG/axBMPH+FXs= -cosmossdk.io/tools/confix v0.1.0 h1:2OOZTtQsDT5e7P3FM5xqM0bPfluAxZlAwxqaDmYBE+E= -cosmossdk.io/tools/confix v0.1.0/go.mod h1:TdXKVYs4gEayav5wM+JHT+kTU2J7fozFNqoVaN+8CdY= +cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE= +cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k= +cosmossdk.io/store v1.1.0 h1:LnKwgYMc9BInn9PhpTFEQVbL9UK475G2H911CGGnWHk= +cosmossdk.io/store v1.1.0/go.mod h1:oZfW/4Fc/zYqu3JmQcQdUJ3fqu5vnYTn3LZFFy8P8ng= +cosmossdk.io/tools/confix v0.1.1 h1:aexyRv9+y15veH3Qw16lxQwo+ki7r2I+g0yNTEFEQM8= +cosmossdk.io/tools/confix v0.1.1/go.mod h1:nQVvP1tHsGXS83PonPVWJtSbddIqyjEw99L4M3rPJyQ= cosmossdk.io/x/circuit v0.1.0 h1:IAej8aRYeuOMritczqTlljbUVHq1E85CpBqaCTwYgXs= cosmossdk.io/x/circuit v0.1.0/go.mod h1:YDzblVE8+E+urPYQq5kq5foRY/IzhXovSYXb4nwd39w= cosmossdk.io/x/evidence v0.1.0 h1:J6OEyDl1rbykksdGynzPKG5R/zm6TacwW2fbLTW4nCk= @@ -212,10 +212,10 @@ cosmossdk.io/x/feegrant v0.1.0 h1:c7s3oAq/8/UO0EiN1H5BIjwVntujVTkYs35YPvvrdQk= cosmossdk.io/x/feegrant v0.1.0/go.mod h1:4r+FsViJRpcZif/yhTn+E0E6OFfg4n0Lx+6cCtnZElU= cosmossdk.io/x/nft v0.1.0 h1:VhcsFiEK33ODN27kxKLa0r/CeFd8laBfbDBwYqCyYCM= cosmossdk.io/x/nft v0.1.0/go.mod h1:ec4j4QAO4mJZ+45jeYRnW7awLHby1JZANqe1hNZ4S3g= -cosmossdk.io/x/tx v0.13.0 h1:8lzyOh3zONPpZv2uTcUmsv0WTXy6T1/aCVDCqShmpzU= -cosmossdk.io/x/tx v0.13.0/go.mod h1:CpNQtmoqbXa33/DVxWQNx5Dcnbkv2xGUhL7tYQ5wUsY= -cosmossdk.io/x/upgrade v0.1.0 h1:z1ZZG4UL9ICTNbJDYZ6jOnF9GdEK9wyoEFi4BUScHXE= -cosmossdk.io/x/upgrade v0.1.0/go.mod h1:/6jjNGbiPCNtmA1N+rBtP601sr0g4ZXuj3yC6ClPCGY= +cosmossdk.io/x/tx v0.13.3 h1:Ha4mNaHmxBc6RMun9aKuqul8yHiL78EKJQ8g23Zf73g= +cosmossdk.io/x/tx v0.13.3/go.mod h1:I8xaHv0rhUdIvIdptKIqzYy27+n2+zBVaxO6fscFhys= +cosmossdk.io/x/upgrade v0.1.1 h1:aoPe2gNvH+Gwt/Pgq3dOxxQVU3j5P6Xf+DaUJTDZATc= +cosmossdk.io/x/upgrade v0.1.1/go.mod h1:MNLptLPcIFK9CWt7Ra//8WUZAxweyRDNcbs5nkOcQy0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= @@ -227,10 +227,10 @@ github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25 github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/CosmWasm/wasmd v0.50.0 h1:NVaGqCSTRfb9UTDHJwT6nQIWcb6VjlQl88iI+u1+qjE= -github.com/CosmWasm/wasmd v0.50.0/go.mod h1:UjmShW4l9YxaMytwJZ7IB7MWzHiynSZP3DdWrG0FRtk= -github.com/CosmWasm/wasmvm v1.5.2 h1:+pKB1Mz9GZVt1vadxB+EDdD1FOz3dMNjIKq/58/lrag= -github.com/CosmWasm/wasmvm v1.5.2/go.mod h1:Q0bSEtlktzh7W2hhEaifrFp1Erx11ckQZmjq8FLCyys= +github.com/CosmWasm/wasmd v0.51.0 h1:3A2o20RrdF7P1D3Xb+R7A/pHbbHWsYCDXrHLa7S0SC8= +github.com/CosmWasm/wasmd v0.51.0/go.mod h1:7TSaj5HoolghujuVWeExqmcUKgpcYWEySGLSODbnnwY= +github.com/CosmWasm/wasmvm/v2 v2.0.0 h1:IqNCI2G0mvs7K6ej17/I28805rVqnu+Y1cWDqIdwb08= +github.com/CosmWasm/wasmvm/v2 v2.0.0/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -270,8 +270,8 @@ 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/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955 h1:7XtfE9n9STrZq3j1B9qk41a+LQgSR4vwOIKd4QD2jtg= -github.com/babylonchain/babylon v0.8.6-0.20240403114330-1ee4d649d955/go.mod h1:lfeASLNJgcUsX7LEns3HRUv0k+MjzcB2q2AMasfz38M= +github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb h1:WHtB8TneukFZrDFH5ynNvGiQ5fpSB1+le/lydCoeujc= +github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb/go.mod h1:YFALTW+Kp/b5jSDoA7Z70RggJjAedlmQTrpdeU8c3hY= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -349,8 +349,8 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= +github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM= @@ -374,6 +374,8 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ= +github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM= github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOGr0B9pvN3Gw= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= @@ -390,8 +392,8 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.5 h1:4lOcK5VTPrfbLOhNHmPYe6c7eDXHtBdMCQuKbAfFJdU= -github.com/cometbft/cometbft v0.38.5/go.mod h1:0tqKin+KQs8zDwzYD8rPHzSBIDNPuB4NrwwGDNb/hUg= +github.com/cometbft/cometbft v0.38.6 h1:QSgpCzrGWJ2KUq1qpw+FCfASRpE27T6LQbfEHscdyOk= +github.com/cometbft/cometbft v0.38.6/go.mod h1:8rSPxzUJYquCN8uuBgbUHOMg2KAwvr7CyUw+6ukO4nw= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= @@ -404,21 +406,21 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= -github.com/cosmos/cosmos-db v1.0.0 h1:EVcQZ+qYag7W6uorBKFPvX6gRjw6Uq2hIh4hCWjuQ0E= -github.com/cosmos/cosmos-db v1.0.0/go.mod h1:iBvi1TtqaedwLdcrZVYRSSCb6eSy61NLj4UNmdIgs0U= -github.com/cosmos/cosmos-proto v1.0.0-beta.4 h1:aEL7tU/rLOmxZQ9z4i7mzxcLbSCY48OdY7lIWTLG7oU= -github.com/cosmos/cosmos-proto v1.0.0-beta.4/go.mod h1:oeB+FyVzG3XrQJbJng0EnV8Vljfk9XvTIpGILNU/9Co= -github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987 h1:Pjvcy7wHUoYh253LvNv5Dyx+d3SNkRPsDZH+FytqZ3w= -github.com/cosmos/cosmos-sdk v0.50.4-0.20240126152601-c4a2fe2b8987/go.mod h1:0D9mrUy1eAUMQuvYzf2xvhEPk2ta9w7XH1zcYvyFiuM= +github.com/cosmos/cosmos-db v1.0.2 h1:hwMjozuY1OlJs/uh6vddqnk9j7VamLv+0DBlbEXbAKs= +github.com/cosmos/cosmos-db v1.0.2/go.mod h1:Z8IXcFJ9PqKK6BIsVOB3QXtkKoqUOp1vRvPT39kOXEA= +github.com/cosmos/cosmos-proto v1.0.0-beta.5 h1:eNcayDLpip+zVLRLYafhzLvQlSmyab+RC5W7ZfmxJLA= +github.com/cosmos/cosmos-proto v1.0.0-beta.5/go.mod h1:hQGLpiIUloJBMdQMMWb/4wRApmI9hjHH05nefC0Ojec= +github.com/cosmos/cosmos-sdk v0.50.6 h1:efR3MsvMHX5sxS3be+hOobGk87IzlZbSpsI2x/Vw3hk= +github.com/cosmos/cosmos-sdk v0.50.6/go.mod h1:lVkRY6cdMJ0fG3gp8y4hFrsKZqF4z7y0M2UXFb9Yt40= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI= github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= -github.com/cosmos/gogoproto v1.4.11 h1:LZcMHrx4FjUgrqQSWeaGC1v/TeuVFqSLa43CC6aWR2g= -github.com/cosmos/gogoproto v1.4.11/go.mod h1:/g39Mh8m17X8Q/GDEs5zYTSNaNnInBSohtaxzQnYq1Y= -github.com/cosmos/iavl v1.0.1 h1:D+mYbcRO2wptYzOM1Hxl9cpmmHU1ZEt9T2Wv5nZTeUw= -github.com/cosmos/iavl v1.0.1/go.mod h1:8xIUkgVvwvVrBu81scdPty+/Dx9GqwHnAvXz4cwF7RY= +github.com/cosmos/gogoproto v1.4.12 h1:vB6Lbe/rtnYGjQuFxkPiPYiCybqFT8QvLipDZP8JpFE= +github.com/cosmos/gogoproto v1.4.12/go.mod h1:LnZob1bXRdUoqMMtwYlcR3wjiElmlC+FkjaZRv1/eLY= +github.com/cosmos/iavl v1.1.2 h1:zL9FK7C4L/P4IF1Dm5fIwz0WXCnn7Bp1M2FxH0ayM7Y= +github.com/cosmos/iavl v1.1.2/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= @@ -493,6 +495,8 @@ github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.m github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A= +github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= @@ -535,6 +539,11 @@ github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= @@ -607,8 +616,8 @@ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -668,8 +677,8 @@ github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8 github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= -github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= @@ -717,15 +726,15 @@ github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-getter v1.7.2 h1:uJDtyXwEfalmp1PqdxuhZqrNkUyClZAhVeZYTArbqkg= -github.com/hashicorp/go-getter v1.7.2/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= +github.com/hashicorp/go-getter v1.7.3 h1:bN2+Fw9XPFvOCjB0UOevFIMICZ7G2XSQHzfvLUyOM5E= +github.com/hashicorp/go-getter v1.7.3/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-metrics v0.5.1 h1:rfPwUqFU6uZXNvGl4hzjY8LEBsqFVU4si1H9/Hqck/U= -github.com/hashicorp/go-metrics v0.5.1/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= +github.com/hashicorp/go-metrics v0.5.3 h1:M5uADWMOGCTUNU1YuC4hfknOeHNaX54LDm4oYSucoNE= +github.com/hashicorp/go-metrics v0.5.3/go.mod h1:KEjodfebIOuBYSAe/bHTm+HChmKSxAOXPBieMLYozDE= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= @@ -815,8 +824,8 @@ github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI= -github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= +github.com/klauspost/compress v1.17.7 h1:ehO88t2UGzQK66LMdE8tibEd1ErmzZjNEqWkjLAKQQg= +github.com/klauspost/compress v1.17.7/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= @@ -850,8 +859,8 @@ github.com/lightningnetwork/lnd/tlv v1.0.2 h1:LG7H3Uw/mHYGnEeHRPg+STavAH+UsFvuBf github.com/lightningnetwork/lnd/tlv v1.0.2/go.mod h1:fICAfsqk1IOsC1J7G9IdsWX1EqWRMqEDCNxZJSKr9C4= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/linxGnu/grocksdb v1.8.12 h1:1/pCztQUOa3BX/1gR3jSZDoaKFpeHFvQ1XrqZpSvZVo= -github.com/linxGnu/grocksdb v1.8.12/go.mod h1:xZCIb5Muw+nhbDK4Y5UJuOrin5MceOuiXkVUR7vp4WY= +github.com/linxGnu/grocksdb v1.8.14 h1:HTgyYalNwBSG/1qCQUIott44wU5b2Y9Kr3z7SK5OfGQ= +github.com/linxGnu/grocksdb v1.8.14/go.mod h1:QYiYypR2d4v63Wj1adOOfzglnoII0gLj3PNh4fZkcFA= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= @@ -960,8 +969,8 @@ github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6 github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc h1:8bQZVK1X6BJR/6nYUPxQEP+ReTsceJTKizeuwjWOPUA= -github.com/petermattis/goid v0.0.0-20230904192822-1876fd5063bc/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= +github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 h1:jik8PHtAIsPlCRJjJzl4udgEf7hawInF9texMeO2jrU= +github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= @@ -982,32 +991,32 @@ github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5Fsn github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk= -github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA= +github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU= +github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos= -github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8= +github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= +github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= -github.com/prometheus/common v0.47.0 h1:p5Cz0FNHo7SnWOmWmoRozVcjEp0bIVU8cV7OShpjL1k= -github.com/prometheus/common v0.47.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc= +github.com/prometheus/common v0.52.2 h1:LW8Vk7BccEdONfrJBDffQGRtpSzi5CQaRZGtboOO2ck= +github.com/prometheus/common v0.52.2/go.mod h1:lrWtQx+iDfn2mbH5GUzlH9TSHyfZpHkSiG1W7y3sF2Q= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo= -github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo= +github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o= +github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= @@ -1075,8 +1084,9 @@ github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5J github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1087,8 +1097,9 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= github.com/supranational/blst v0.3.11 h1:LyU6FolezeWAhvQk0k6O/d49jqgO52MSDDfYgbeoEm4= @@ -1142,6 +1153,18 @@ go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 h1:UNQQKPfTDe1J81ViolILjTKPr9WetKW6uei2hFgJmFs= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0/go.mod h1:r9vWsPS/3AQItv3OSlEJ/E4mbrhUbbw18meOjArPtKQ= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 h1:sv9kVfal0MK0wBMCOGr+HeJm9v803BkJxGrk2au7j08= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0/go.mod h1:SK2UL73Zy1quvRPonmOmRDiWk1KBV3LyIeeIxcEApWw= +go.opentelemetry.io/otel v1.22.0 h1:xS7Ku+7yTFvDfDraDIJVpw7XPyuHlB9MCiqqX5mcJ6Y= +go.opentelemetry.io/otel v1.22.0/go.mod h1:eoV4iAi3Ea8LkAEI9+GFT44O6T/D0GWAVFyZVCC6pMI= +go.opentelemetry.io/otel/metric v1.22.0 h1:lypMQnGyJYeuYPhOM/bgjbFM6WE44W1/T45er4d8Hhg= +go.opentelemetry.io/otel/metric v1.22.0/go.mod h1:evJGjVpZv0mQ5QBRJoBF64yMuOf4xCWdXjK8pzFvliY= +go.opentelemetry.io/otel/sdk v1.21.0 h1:FTt8qirL1EysG6sTQRZ5TokkU8d0ugCj8htOgThZXQ8= +go.opentelemetry.io/otel/sdk v1.21.0/go.mod h1:Nna6Yv7PWTdgJHVRD9hIYywQBRx7pbox6nwBnZIxl/E= +go.opentelemetry.io/otel/trace v1.22.0 h1:Hg6pPujv0XG9QaVbGOBVHunyuLcCC3jN7WEhPx83XD0= +go.opentelemetry.io/otel/trace v1.22.0/go.mod h1:RbbHXVqKES9QhzZq/fE5UnOSILqRt40a21sPw2He1xo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= @@ -1169,8 +1192,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo= -golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1182,8 +1205,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a h1:HinSgX1tJRX3KsL//Gxynpw5CTOAIPhgL4W8PNiIpVE= -golang.org/x/exp v0.0.0-20240213143201-ec583247a57a/go.mod h1:CxmFvTBINI24O/j8iY7H1xHzx2i4OsyguNBmN/uPtqc= +golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 h1:985EYyeCOxTpcgOTJpflJUwOeEz0CQOdPt73OzpE9F8= +golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0/go.mod h1:/lliqkxwWAhPjf5oSOIJup2XcqJaw8RGS6k3TGEc7GI= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1210,8 +1233,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= -golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1272,8 +1295,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= +golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1299,8 +1322,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= -golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= +golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= +golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1315,8 +1338,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= -golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1414,13 +1437,13 @@ golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= -golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= +golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= +golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1432,8 +1455,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1502,8 +1525,8 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= -golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= +golang.org/x/tools v0.20.0 h1:hz/CVckiOxybQvFw6h7b/q80NTr9IUQb4s1IIzW7KNY= +golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1562,8 +1585,8 @@ google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.153.0 h1:N1AwGhielyKFaUqH07/ZSIQR3uNPcV7NVw0vj+j4iR4= -google.golang.org/api v0.153.0/go.mod h1:3qNJX5eOmhiWYc67jRA/3GsDw97UFb5ivv7Y2PrriAY= +google.golang.org/api v0.162.0 h1:Vhs54HkaEpkMBdgGdOT2P6F0csGG/vxDS0hWHJzmmps= +google.golang.org/api v0.162.0/go.mod h1:6SulDkfoBIg4NFmCuZ39XeeAgSHCPecfSUuDyYlAHs0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1680,12 +1703,12 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 h1:1hfbdAfFbkmpg41000wDVqr7jUpK/Yo+LPnIxxGzmkg= -google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3/go.mod h1:5RBcpGRxr25RbDzY5w+dmaqpSEvl8Gwl1x2CICf60ic= -google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f h1:2yNACc1O40tTnrsbk9Cv6oxiW8pxI/pXj0wRtdlYmgY= -google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f/go.mod h1:Uy9bTZJqmfrw2rIBxgGLnamc78euZULUBrLZ9XTITKI= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 h1:/jFB8jK5R3Sq3i/lmeZO0cATSzFfZaJq1J2Euan3XKU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0/go.mod h1:FUoWkonphQm3RhTS+kOEhF8h0iDpm4tdXolVCeZ9KKA= +google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY= +google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo= +google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0= +google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= @@ -1727,8 +1750,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= -google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= +google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= +google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1745,8 +1768,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= -google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From d73b523c409a1444bb0ea94cf3dfa299d1a6e27a Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Wed, 31 Jul 2024 09:57:20 +1000 Subject: [PATCH 14/15] fix dependency (#1) --- Dockerfile | 10 +++--- Makefile | 2 +- btcclient/client.go | 6 ++-- btcclient/client_block_subscriber.go | 14 ++++---- btcclient/client_wallet.go | 6 ++-- btcclient/interface.go | 4 +-- btcclient/notifier.go | 4 +-- btcclient/query.go | 4 +-- btcclient/testutils.go | 6 ++-- .../atomicslasher/atomic_slasher.go | 6 ++-- .../atomicslasher/babylon_adapter.go | 6 ++-- .../atomicslasher/expected_babylon_client.go | 2 +- .../atomicslasher/mock_babylon_client.go | 2 +- btcstaking-tracker/atomicslasher/routines.go | 2 +- btcstaking-tracker/atomicslasher/types.go | 6 ++-- .../btcslasher/bootstrapping.go | 2 +- .../btcslasher/bootstrapping_test.go | 18 +++++----- btcstaking-tracker/btcslasher/btc_utils.go | 2 +- .../btcslasher/expected_babylon_client.go | 6 ++-- .../btcslasher/mock_babylon_client.go | 6 ++-- btcstaking-tracker/btcslasher/slasher.go | 8 ++--- btcstaking-tracker/btcslasher/slasher_test.go | 20 +++++------ .../btcslasher/slasher_utils.go | 10 +++--- btcstaking-tracker/tracker.go | 16 ++++----- .../expected_babylon_client.go | 6 ++-- .../unbondingwatcher/unbondingwatcher.go | 6 ++-- cmd/vigilante/cmd/btcstaking_tracker.go | 14 ++++---- cmd/vigilante/cmd/monitor.go | 16 ++++----- cmd/vigilante/cmd/reporter.go | 12 +++---- cmd/vigilante/cmd/submitter.go | 14 ++++---- cmd/vigilante/main.go | 4 +-- config/bitcoin.go | 2 +- config/btcstaking_tracker.go | 2 +- config/config.go | 2 +- config/reporter.go | 2 +- config/submitter.go | 2 +- e2etest/atomicslasher_e2e_test.go | 14 ++++---- e2etest/babylon_node_handler.go | 2 +- e2etest/log.go | 2 +- e2etest/reporter_e2e_test.go | 8 ++--- e2etest/slasher_e2e_test.go | 10 +++--- e2etest/submitter_e2e_test.go | 10 +++--- e2etest/test_manager.go | 12 +++---- e2etest/test_manager_btcstaking.go | 33 +++++++++---------- e2etest/unbondingwatcher_e2e_test.go | 12 +++---- go.mod | 14 ++++---- go.sum | 22 +++++++------ metrics/btcstaking_tracker.go | 2 +- metrics/prometheus.go | 2 +- monitor/btcscanner/block_handler.go | 2 +- monitor/btcscanner/btc_scanner.go | 10 +++--- monitor/btcscanner/btc_scanner_test.go | 12 +++---- monitor/btcscanner/interface.go | 2 +- monitor/expected_babylon_client.go | 8 ++--- monitor/liveness_checker.go | 4 +-- monitor/liveness_checker_test.go | 16 ++++----- monitor/mock_babylon_client.go | 8 ++--- monitor/monitor.go | 12 +++---- monitor/monitor_test.go | 12 +++---- monitor/query.go | 12 +++---- monitor/query_test.go | 10 +++--- netparams/bitcoin.go | 2 +- reporter/block_handler.go | 2 +- reporter/bootstrapping.go | 4 +-- reporter/expected_babylon_client.go | 6 ++-- reporter/mock_babylon_client.go | 6 ++-- reporter/reorg_list.go | 2 +- reporter/reporter.go | 14 ++++---- reporter/utils.go | 8 ++--- reporter/utils_test.go | 18 +++++----- rpcserver/server.go | 10 +++--- rpcserver/service.go | 2 +- submitter/expected_babylon_client.go | 4 +-- submitter/mock_babylon_client.go | 4 +-- submitter/poller/expected_babylon_client.go | 2 +- submitter/poller/mock_babylon_client.go | 2 +- submitter/poller/poller.go | 2 +- submitter/poller/poller_test.go | 6 ++-- submitter/relayer/change_address_test.go | 10 +++--- submitter/relayer/estimator.go | 4 +-- submitter/relayer/relayer.go | 12 +++---- submitter/relayer/utils.go | 2 +- submitter/submitter.go | 16 ++++----- testutil/datagen/datagen.go | 4 +-- testutil/datagen/reporter.go | 8 ++--- testutil/mocks/btcclient.go | 4 +-- tools/go.mod | 14 ++++---- tools/go.sum | 22 +++++++------ tools/tools.go | 2 +- types/btccache_test.go | 6 ++-- types/btccheckpoint.go | 4 +-- types/btclightclient.go | 4 +-- types/ckpt.go | 4 +-- types/ckpt_cache.go | 2 +- types/ckpt_cache_test.go | 6 ++-- types/ckpt_record.go | 2 +- types/ckpt_segment.go | 9 +++-- types/ckpt_segment_test.go | 4 +-- types/epoch_info.go | 4 +-- types/genesis_info.go | 10 +++--- types/genesis_info_test.go | 6 ++-- types/indexed_block.go | 6 ++-- types/indexed_block_test.go | 8 ++--- zmq/client.go | 2 +- zmq/subscribe.go | 2 +- 105 files changed, 390 insertions(+), 382 deletions(-) diff --git a/Dockerfile b/Dockerfile index 091910af..449db259 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,12 +15,12 @@ RUN apk add --no-cache --update openssh git make build-base linux-headers libc-d libzmq-static libsodium-static gcc # Build -WORKDIR /go/src/github.com/babylonchain/vigilante +WORKDIR /go/src/github.com/babylonlabs-io/vigilante # Cache dependencies -COPY go.mod go.sum /go/src/github.com/babylonchain/vigilante/ +COPY go.mod go.sum /go/src/github.com/babylonlabs-io/vigilante/ RUN go mod download # Copy the rest of the files -COPY ./ /go/src/github.com/babylonchain/vigilante/ +COPY ./ /go/src/github.com/babylonlabs-io/vigilante/ # If version is set, then checkout this version RUN if [ -n "${VERSION}" ]; then \ git checkout -f ${VERSION}; \ @@ -46,9 +46,9 @@ RUN addgroup --gid 1138 -S vigilante && adduser --uid 1138 -S vigilante -G vigil RUN apk add bash curl jq # Label should match your github repo -LABEL org.opencontainers.image.source="https://github.com/babylonchain/vigilante:${VERSION}" +LABEL org.opencontainers.image.source="https://github.com/babylonlabs-io/vigilante:${VERSION}" -COPY --from=build-env /go/src/github.com/babylonchain/vigilante/build/vigilante /bin/vigilante +COPY --from=build-env /go/src/github.com/babylonlabs-io/vigilante/build/vigilante /bin/vigilante # Set home directory and user WORKDIR /home/vigilante diff --git a/Makefile b/Makefile index c70cc7ed..28a48faf 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ TOOLS_DIR := tools BTCD_PKG := github.com/btcsuite/btcd BTCDW_PKG := github.com/btcsuite/btcwallet -BABYLON_PKG := github.com/babylonchain/babylon/cmd/babylond +BABYLON_PKG := github.com/babylonlabs-io/babylon/cmd/babylond GO_BIN := ${GOPATH}/bin BTCD_BIN := $(GO_BIN)/btcd diff --git a/btcclient/client.go b/btcclient/client.go index ccb52a34..b784fd9b 100644 --- a/btcclient/client.go +++ b/btcclient/client.go @@ -14,9 +14,9 @@ import ( "github.com/btcsuite/btcd/rpcclient" "go.uber.org/zap" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/types" - "github.com/babylonchain/vigilante/zmq" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/types" + "github.com/babylonlabs-io/vigilante/zmq" ) var _ BTCClient = &Client{} diff --git a/btcclient/client_block_subscriber.go b/btcclient/client_block_subscriber.go index 8d60719a..f0926a01 100644 --- a/btcclient/client_block_subscriber.go +++ b/btcclient/client_block_subscriber.go @@ -4,14 +4,14 @@ import ( "fmt" "time" - "github.com/babylonchain/babylon/types/retry" + "github.com/babylonlabs-io/babylon/types/retry" "github.com/btcsuite/btcd/btcutil" "go.uber.org/zap" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/netparams" - "github.com/babylonchain/vigilante/types" - "github.com/babylonchain/vigilante/zmq" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/netparams" + "github.com/babylonlabs-io/vigilante/types" + "github.com/babylonlabs-io/vigilante/zmq" "github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcd/wire" @@ -56,7 +56,7 @@ func NewWithBlockSubscriber(cfg *config.BTCConfig, retrySleepTime, maxRetrySleep if err != nil { return nil, fmt.Errorf("failed to get BTC backend: %v", err) } - if backend != rpcclient.BitcoindPost19 { + if backend != rpcclient.BitcoindPost25 { return nil, fmt.Errorf("zmq is only supported by bitcoind, but got %v", backend) } @@ -100,7 +100,7 @@ func NewWithBlockSubscriber(cfg *config.BTCConfig, retrySleepTime, maxRetrySleep if err != nil { return nil, fmt.Errorf("failed to get BTC backend: %v", err) } - if backend != rpcclient.Btcd { + if backend != rpcclient.BtcdPost2401 { return nil, fmt.Errorf("websocket is only supported by btcd, but got %v", backend) } diff --git a/btcclient/client_wallet.go b/btcclient/client_wallet.go index 5dfe1730..1504eacc 100644 --- a/btcclient/client_wallet.go +++ b/btcclient/client_wallet.go @@ -11,9 +11,9 @@ import ( "github.com/btcsuite/btcd/wire" "go.uber.org/zap" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/netparams" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/netparams" + "github.com/babylonlabs-io/vigilante/types" ) // NewWallet creates a new BTC wallet diff --git a/btcclient/interface.go b/btcclient/interface.go index 83f26e49..12adb6a5 100644 --- a/btcclient/interface.go +++ b/btcclient/interface.go @@ -7,8 +7,8 @@ import ( "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/types" ) type BTCClient interface { diff --git a/btcclient/notifier.go b/btcclient/notifier.go index 4f91eb4d..2e31fd71 100644 --- a/btcclient/notifier.go +++ b/btcclient/notifier.go @@ -7,8 +7,8 @@ import ( "os" "time" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/rpcclient" "github.com/btcsuite/btcwallet/chain" diff --git a/btcclient/query.go b/btcclient/query.go index 9702c886..c62b4cf3 100644 --- a/btcclient/query.go +++ b/btcclient/query.go @@ -3,13 +3,13 @@ package btcclient import ( "fmt" - "github.com/babylonchain/babylon/types/retry" + "github.com/babylonlabs-io/babylon/types/retry" "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" "go.uber.org/zap" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) // GetBestBlock provides similar functionality with the btcd.rpcclient.GetBestBlock function diff --git a/btcclient/testutils.go b/btcclient/testutils.go index fd49a455..c0941e58 100644 --- a/btcclient/testutils.go +++ b/btcclient/testutils.go @@ -3,9 +3,9 @@ package btcclient import ( "time" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/netparams" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/netparams" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/rpcclient" ) diff --git a/btcstaking-tracker/atomicslasher/atomic_slasher.go b/btcstaking-tracker/atomicslasher/atomic_slasher.go index a1e05567..3a17e96b 100644 --- a/btcstaking-tracker/atomicslasher/atomic_slasher.go +++ b/btcstaking-tracker/atomicslasher/atomic_slasher.go @@ -6,9 +6,9 @@ import ( "sync/atomic" "time" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" "github.com/btcsuite/btcd/btcec/v2" notifier "github.com/lightningnetwork/lnd/chainntnfs" "go.uber.org/zap" diff --git a/btcstaking-tracker/atomicslasher/babylon_adapter.go b/btcstaking-tracker/atomicslasher/babylon_adapter.go index 537909ac..50bd341c 100644 --- a/btcstaking-tracker/atomicslasher/babylon_adapter.go +++ b/btcstaking-tracker/atomicslasher/babylon_adapter.go @@ -7,9 +7,9 @@ import ( "cosmossdk.io/errors" "github.com/avast/retry-go/v4" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/vigilante/config" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/vigilante/config" "github.com/btcsuite/btcd/btcec/v2" "github.com/cosmos/cosmos-sdk/types/query" "go.uber.org/zap" diff --git a/btcstaking-tracker/atomicslasher/expected_babylon_client.go b/btcstaking-tracker/atomicslasher/expected_babylon_client.go index fc26712a..444aa50d 100644 --- a/btcstaking-tracker/atomicslasher/expected_babylon_client.go +++ b/btcstaking-tracker/atomicslasher/expected_babylon_client.go @@ -4,7 +4,7 @@ import ( "context" "cosmossdk.io/errors" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" pv "github.com/cosmos/relayer/v2/relayer/provider" diff --git a/btcstaking-tracker/atomicslasher/mock_babylon_client.go b/btcstaking-tracker/atomicslasher/mock_babylon_client.go index ebf4c8ee..3924ec90 100644 --- a/btcstaking-tracker/atomicslasher/mock_babylon_client.go +++ b/btcstaking-tracker/atomicslasher/mock_babylon_client.go @@ -9,7 +9,7 @@ import ( reflect "reflect" errors "cosmossdk.io/errors" - types "github.com/babylonchain/babylon/x/btcstaking/types" + types "github.com/babylonlabs-io/babylon/x/btcstaking/types" types0 "github.com/cosmos/cosmos-sdk/types" query "github.com/cosmos/cosmos-sdk/types/query" provider "github.com/cosmos/relayer/v2/relayer/provider" diff --git a/btcstaking-tracker/atomicslasher/routines.go b/btcstaking-tracker/atomicslasher/routines.go index a03f06b3..af46651a 100644 --- a/btcstaking-tracker/atomicslasher/routines.go +++ b/btcstaking-tracker/atomicslasher/routines.go @@ -3,7 +3,7 @@ package atomicslasher import ( "time" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "go.uber.org/zap" ) diff --git a/btcstaking-tracker/atomicslasher/types.go b/btcstaking-tracker/atomicslasher/types.go index f8f87be8..50e9629a 100644 --- a/btcstaking-tracker/atomicslasher/types.go +++ b/btcstaking-tracker/atomicslasher/types.go @@ -4,9 +4,9 @@ import ( "fmt" "sync" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" diff --git a/btcstaking-tracker/btcslasher/bootstrapping.go b/btcstaking-tracker/btcslasher/bootstrapping.go index 13cb72bc..119c4b20 100644 --- a/btcstaking-tracker/btcslasher/bootstrapping.go +++ b/btcstaking-tracker/btcslasher/bootstrapping.go @@ -3,7 +3,7 @@ package btcslasher import ( "fmt" - ftypes "github.com/babylonchain/babylon/x/finality/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/cosmos/cosmos-sdk/types/query" "github.com/hashicorp/go-multierror" ) diff --git a/btcstaking-tracker/btcslasher/bootstrapping_test.go b/btcstaking-tracker/btcslasher/bootstrapping_test.go index cf3f98a8..57eb7ff2 100644 --- a/btcstaking-tracker/btcslasher/bootstrapping_test.go +++ b/btcstaking-tracker/btcslasher/bootstrapping_test.go @@ -8,15 +8,15 @@ import ( sdkmath "cosmossdk.io/math" "github.com/btcsuite/btcd/btcec/v2" - datagen "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" - "github.com/babylonchain/vigilante/btcstaking-tracker/btcslasher" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/testutil/mocks" + datagen "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" + "github.com/babylonlabs-io/vigilante/btcstaking-tracker/btcslasher" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/testutil/mocks" "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/btcstaking-tracker/btcslasher/btc_utils.go b/btcstaking-tracker/btcslasher/btc_utils.go index 8c51b6cc..917962a9 100644 --- a/btcstaking-tracker/btcslasher/btc_utils.go +++ b/btcstaking-tracker/btcslasher/btc_utils.go @@ -3,7 +3,7 @@ package btcslasher import ( "fmt" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/chaincfg/chainhash" ) diff --git a/btcstaking-tracker/btcslasher/expected_babylon_client.go b/btcstaking-tracker/btcslasher/expected_babylon_client.go index b40c7280..53c34683 100644 --- a/btcstaking-tracker/btcslasher/expected_babylon_client.go +++ b/btcstaking-tracker/btcslasher/expected_babylon_client.go @@ -1,9 +1,9 @@ package btcslasher import ( - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" coretypes "github.com/cometbft/cometbft/rpc/core/types" "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/btcstaking-tracker/btcslasher/mock_babylon_client.go b/btcstaking-tracker/btcslasher/mock_babylon_client.go index 3c96b6d7..66c0d84e 100644 --- a/btcstaking-tracker/btcslasher/mock_babylon_client.go +++ b/btcstaking-tracker/btcslasher/mock_babylon_client.go @@ -7,9 +7,9 @@ package btcslasher import ( reflect "reflect" - types "github.com/babylonchain/babylon/x/btccheckpoint/types" - types0 "github.com/babylonchain/babylon/x/btcstaking/types" - types1 "github.com/babylonchain/babylon/x/finality/types" + types "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types0 "github.com/babylonlabs-io/babylon/x/btcstaking/types" + types1 "github.com/babylonlabs-io/babylon/x/finality/types" coretypes "github.com/cometbft/cometbft/rpc/core/types" query "github.com/cosmos/cosmos-sdk/types/query" gomock "github.com/golang/mock/gomock" diff --git a/btcstaking-tracker/btcslasher/slasher.go b/btcstaking-tracker/btcslasher/slasher.go index e963f96f..0ba37bf3 100644 --- a/btcstaking-tracker/btcslasher/slasher.go +++ b/btcstaking-tracker/btcslasher/slasher.go @@ -6,10 +6,10 @@ import ( "sync" "time" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/metrics" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/metrics" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg" coretypes "github.com/cometbft/cometbft/rpc/core/types" diff --git a/btcstaking-tracker/btcslasher/slasher_test.go b/btcstaking-tracker/btcslasher/slasher_test.go index f6bb8128..9debfe61 100644 --- a/btcstaking-tracker/btcslasher/slasher_test.go +++ b/btcstaking-tracker/btcslasher/slasher_test.go @@ -7,12 +7,12 @@ import ( "testing" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/btcstaking" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/btcstaking" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcjson" "github.com/btcsuite/btcd/btcutil" @@ -23,10 +23,10 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/vigilante/btcstaking-tracker/btcslasher" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/testutil/mocks" + "github.com/babylonlabs-io/vigilante/btcstaking-tracker/btcslasher" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/testutil/mocks" ) func FuzzSlasher(f *testing.F) { diff --git a/btcstaking-tracker/btcslasher/slasher_utils.go b/btcstaking-tracker/btcslasher/slasher_utils.go index 8ebac8f2..08e77bab 100644 --- a/btcstaking-tracker/btcslasher/slasher_utils.go +++ b/btcstaking-tracker/btcslasher/slasher_utils.go @@ -6,11 +6,11 @@ import ( "strings" "github.com/avast/retry-go/v4" - "github.com/babylonchain/babylon/btcstaking" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" - "github.com/babylonchain/vigilante/utils" + "github.com/babylonlabs-io/babylon/btcstaking" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" + "github.com/babylonlabs-io/vigilante/utils" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" diff --git a/btcstaking-tracker/tracker.go b/btcstaking-tracker/tracker.go index 68ec704d..0894619f 100644 --- a/btcstaking-tracker/tracker.go +++ b/btcstaking-tracker/tracker.go @@ -4,14 +4,14 @@ import ( "fmt" "sync" - bbnclient "github.com/babylonchain/babylon/client/client" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/btcstaking-tracker/atomicslasher" - "github.com/babylonchain/vigilante/btcstaking-tracker/btcslasher" - uw "github.com/babylonchain/vigilante/btcstaking-tracker/unbondingwatcher" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/netparams" + bbnclient "github.com/babylonlabs-io/babylon/client/client" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/btcstaking-tracker/atomicslasher" + "github.com/babylonlabs-io/vigilante/btcstaking-tracker/btcslasher" + uw "github.com/babylonlabs-io/vigilante/btcstaking-tracker/unbondingwatcher" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/netparams" "github.com/btcsuite/btcd/btcec/v2" notifier "github.com/lightningnetwork/lnd/chainntnfs" "go.uber.org/zap" diff --git a/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go b/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go index 76cfdca3..11ea2792 100644 --- a/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go +++ b/btcstaking-tracker/unbondingwatcher/expected_babylon_client.go @@ -5,9 +5,9 @@ import ( "fmt" "cosmossdk.io/errors" - bbnclient "github.com/babylonchain/babylon/client/client" - bbn "github.com/babylonchain/babylon/types" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbnclient "github.com/babylonlabs-io/babylon/client/client" + bbn "github.com/babylonlabs-io/babylon/types" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" diff --git a/btcstaking-tracker/unbondingwatcher/unbondingwatcher.go b/btcstaking-tracker/unbondingwatcher/unbondingwatcher.go index 27c2abcc..fc7f7482 100644 --- a/btcstaking-tracker/unbondingwatcher/unbondingwatcher.go +++ b/btcstaking-tracker/unbondingwatcher/unbondingwatcher.go @@ -10,9 +10,9 @@ import ( "time" "github.com/avast/retry-go/v4" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/utils" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/utils" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" diff --git a/cmd/vigilante/cmd/btcstaking_tracker.go b/cmd/vigilante/cmd/btcstaking_tracker.go index 529f09ea..f11bf804 100644 --- a/cmd/vigilante/cmd/btcstaking_tracker.go +++ b/cmd/vigilante/cmd/btcstaking_tracker.go @@ -3,13 +3,13 @@ package cmd import ( "fmt" - bbnclient "github.com/babylonchain/babylon/client/client" - "github.com/babylonchain/vigilante/btcclient" - bst "github.com/babylonchain/vigilante/btcstaking-tracker" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/netparams" - "github.com/babylonchain/vigilante/rpcserver" + bbnclient "github.com/babylonlabs-io/babylon/client/client" + "github.com/babylonlabs-io/vigilante/btcclient" + bst "github.com/babylonlabs-io/vigilante/btcstaking-tracker" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/netparams" + "github.com/babylonlabs-io/vigilante/rpcserver" "github.com/spf13/cobra" ) diff --git a/cmd/vigilante/cmd/monitor.go b/cmd/vigilante/cmd/monitor.go index 80bf0a49..2b66c15b 100644 --- a/cmd/vigilante/cmd/monitor.go +++ b/cmd/vigilante/cmd/monitor.go @@ -3,16 +3,16 @@ package cmd import ( "fmt" - bbnqccfg "github.com/babylonchain/babylon/client/config" - bbnqc "github.com/babylonchain/babylon/client/query" + bbnqccfg "github.com/babylonlabs-io/babylon/client/config" + bbnqc "github.com/babylonlabs-io/babylon/client/query" "github.com/spf13/cobra" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/monitor" - "github.com/babylonchain/vigilante/rpcserver" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/monitor" + "github.com/babylonlabs-io/vigilante/rpcserver" + "github.com/babylonlabs-io/vigilante/types" ) const ( diff --git a/cmd/vigilante/cmd/reporter.go b/cmd/vigilante/cmd/reporter.go index 7874a37b..bbaa9317 100644 --- a/cmd/vigilante/cmd/reporter.go +++ b/cmd/vigilante/cmd/reporter.go @@ -3,14 +3,14 @@ package cmd import ( "fmt" - bbnclient "github.com/babylonchain/babylon/client/client" + bbnclient "github.com/babylonlabs-io/babylon/client/client" "github.com/spf13/cobra" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/reporter" - "github.com/babylonchain/vigilante/rpcserver" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/reporter" + "github.com/babylonlabs-io/vigilante/rpcserver" ) // GetReporterCmd returns the CLI commands for the reporter diff --git a/cmd/vigilante/cmd/submitter.go b/cmd/vigilante/cmd/submitter.go index ab6952d7..c0be7412 100644 --- a/cmd/vigilante/cmd/submitter.go +++ b/cmd/vigilante/cmd/submitter.go @@ -3,16 +3,16 @@ package cmd import ( "fmt" - bbnqccfg "github.com/babylonchain/babylon/client/config" - bbnqc "github.com/babylonchain/babylon/client/query" + bbnqccfg "github.com/babylonlabs-io/babylon/client/config" + bbnqc "github.com/babylonlabs-io/babylon/client/query" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/rpcserver" - "github.com/babylonchain/vigilante/submitter" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/rpcserver" + "github.com/babylonlabs-io/vigilante/submitter" ) // GetSubmitterCmd returns the CLI commands for the submitter diff --git a/cmd/vigilante/main.go b/cmd/vigilante/main.go index 61ad3e44..cdca8091 100644 --- a/cmd/vigilante/main.go +++ b/cmd/vigilante/main.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "github.com/babylonchain/babylon/app/params" - "github.com/babylonchain/vigilante/cmd/vigilante/cmd" + "github.com/babylonlabs-io/babylon/app/params" + "github.com/babylonlabs-io/vigilante/cmd/vigilante/cmd" "os" ) diff --git a/config/bitcoin.go b/config/bitcoin.go index 1c9f09a0..c188dd14 100644 --- a/config/bitcoin.go +++ b/config/bitcoin.go @@ -7,7 +7,7 @@ import ( "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) // BTCConfig defines configuration for the Bitcoin client diff --git a/config/btcstaking_tracker.go b/config/btcstaking_tracker.go index b2582b9e..3ed3ff0a 100644 --- a/config/btcstaking_tracker.go +++ b/config/btcstaking_tracker.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) const maxBatchSize = 10000 diff --git a/config/config.go b/config/config.go index 95d9d2d8..281c7976 100644 --- a/config/config.go +++ b/config/config.go @@ -6,7 +6,7 @@ import ( "os" "path/filepath" - bbncfg "github.com/babylonchain/babylon/client/config" + bbncfg "github.com/babylonlabs-io/babylon/client/config" "github.com/btcsuite/btcd/btcutil" "github.com/spf13/viper" "go.uber.org/zap" diff --git a/config/reporter.go b/config/reporter.go index 6e705e01..292bf219 100644 --- a/config/reporter.go +++ b/config/reporter.go @@ -3,7 +3,7 @@ package config import ( "fmt" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) const ( diff --git a/config/submitter.go b/config/submitter.go index f6454549..b507f1bb 100644 --- a/config/submitter.go +++ b/config/submitter.go @@ -3,7 +3,7 @@ package config import ( "errors" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) const ( diff --git a/e2etest/atomicslasher_e2e_test.go b/e2etest/atomicslasher_e2e_test.go index 6da1a2ab..d30181ac 100644 --- a/e2etest/atomicslasher_e2e_test.go +++ b/e2etest/atomicslasher_e2e_test.go @@ -8,13 +8,13 @@ import ( "testing" "time" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/vigilante/btcclient" - bst "github.com/babylonchain/vigilante/btcstaking-tracker" - "github.com/babylonchain/vigilante/btcstaking-tracker/btcslasher" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/vigilante/btcclient" + bst "github.com/babylonlabs-io/vigilante/btcstaking-tracker" + "github.com/babylonlabs-io/vigilante/btcstaking-tracker/btcslasher" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" diff --git a/e2etest/babylon_node_handler.go b/e2etest/babylon_node_handler.go index 1d3a44bf..0590047a 100644 --- a/e2etest/babylon_node_handler.go +++ b/e2etest/babylon_node_handler.go @@ -8,7 +8,7 @@ import ( "path/filepath" "runtime" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" ) diff --git a/e2etest/log.go b/e2etest/log.go index 2c2cce1e..b7a99f56 100644 --- a/e2etest/log.go +++ b/e2etest/log.go @@ -1,7 +1,7 @@ package e2etest import ( - "github.com/babylonchain/vigilante/config" + "github.com/babylonlabs-io/vigilante/config" ) var ( diff --git a/e2etest/reporter_e2e_test.go b/e2etest/reporter_e2e_test.go index 17a1846a..142fe3a6 100644 --- a/e2etest/reporter_e2e_test.go +++ b/e2etest/reporter_e2e_test.go @@ -8,10 +8,10 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/reporter" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/reporter" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/integration/rpctest" "github.com/btcsuite/btcd/rpcclient" diff --git a/e2etest/slasher_e2e_test.go b/e2etest/slasher_e2e_test.go index cef7404f..c83ae3e4 100644 --- a/e2etest/slasher_e2e_test.go +++ b/e2etest/slasher_e2e_test.go @@ -10,11 +10,11 @@ import ( "github.com/btcsuite/btcd/chaincfg" - "github.com/babylonchain/vigilante/btcclient" - bst "github.com/babylonchain/vigilante/btcstaking-tracker" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/btcclient" + bst "github.com/babylonlabs-io/vigilante/btcstaking-tracker" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/rpcclient" diff --git a/e2etest/submitter_e2e_test.go b/e2etest/submitter_e2e_test.go index b9fe116f..b4c1383a 100644 --- a/e2etest/submitter_e2e_test.go +++ b/e2etest/submitter_e2e_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/rpcclient" @@ -18,8 +18,8 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/submitter" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/submitter" ) func TestSubmitterSubmission(t *testing.T) { diff --git a/e2etest/test_manager.go b/e2etest/test_manager.go index 5060a9ce..0395cc02 100644 --- a/e2etest/test_manager.go +++ b/e2etest/test_manager.go @@ -11,12 +11,12 @@ import ( pv "github.com/cosmos/relayer/v2/relayer/provider" - bbnclient "github.com/babylonchain/babylon/client/client" - bbn "github.com/babylonchain/babylon/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/types" + bbnclient "github.com/babylonlabs-io/babylon/client/client" + bbn "github.com/babylonlabs-io/babylon/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/btcutil/hdkeychain" diff --git a/e2etest/test_manager_btcstaking.go b/e2etest/test_manager_btcstaking.go index a117f043..a780aa77 100644 --- a/e2etest/test_manager_btcstaking.go +++ b/e2etest/test_manager_btcstaking.go @@ -12,19 +12,18 @@ import ( "github.com/btcsuite/btcd/btcec/v2/schnorr" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/btcstaking" - "github.com/babylonchain/babylon/crypto/eots" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/btcstaking" + "github.com/babylonlabs-io/babylon/crypto/eots" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" @@ -51,10 +50,11 @@ func (tm *TestManager) getBTCUnbondingTime(t *testing.T) uint64 { func (tm *TestManager) CreateFinalityProvider(t *testing.T) (*bstypes.FinalityProvider, *btcec.PrivateKey) { var err error signerAddr := tm.BabylonClient.MustGetAddr() + addr := sdk.MustAccAddressFromBech32(signerAddr) fpSK, _, err := datagen.GenRandomBTCKeyPair(r) require.NoError(t, err) - btcFp, err := datagen.GenRandomFinalityProviderWithBTCSK(r, fpSK) + btcFp, err := datagen.GenRandomFinalityProviderWithBTCBabylonSKs(r, fpSK, addr) require.NoError(t, err) /* @@ -62,10 +62,9 @@ func (tm *TestManager) CreateFinalityProvider(t *testing.T) (*bstypes.FinalityPr */ commission := sdkmath.LegacyZeroDec() msgNewVal := &bstypes.MsgCreateFinalityProvider{ - Signer: signerAddr, + Addr: signerAddr, Description: &stakingtypes.Description{Moniker: datagen.GenRandomHexStr(r, 10)}, Commission: &commission, - BabylonPk: btcFp.BabylonPk, BtcPk: btcFp.BtcPk, Pop: btcFp.Pop, } @@ -80,6 +79,7 @@ func (tm *TestManager) CreateBTCDelegation( fpSK *btcec.PrivateKey, ) (*datagen.TestStakingSlashingInfo, *datagen.TestUnbondingSlashingInfo, *btcec.PrivateKey) { signerAddr := tm.BabylonClient.MustGetAddr() + addr := sdk.MustAccAddressFromBech32(signerAddr) fpPK := fpSK.PubKey() @@ -165,10 +165,8 @@ func (tm *TestManager) CreateBTCDelegation( stakingOutIdx, err := outIdx(stakingSlashingInfo.StakingTx, stakingSlashingInfo.StakingInfo.StakingOutput) require.NoError(t, err) - // BTC delegation's Babylon key pair - delBabylonSK, delBabylonPK, _ := datagen.GenRandomSecp256k1KeyPair(r) // create PoP - pop, err := bstypes.NewPoP(delBabylonSK, wif.PrivKey) + pop, err := bstypes.NewPoPBTC(addr, wif.PrivKey) require.NoError(t, err) slashingSpendPath, err := stakingSlashingInfo.StakingInfo.SlashingPathSpendInfo() require.NoError(t, err) @@ -219,8 +217,7 @@ func (tm *TestManager) CreateBTCDelegation( // submit BTC delegation to Babylon msgBTCDel := &bstypes.MsgCreateBTCDelegation{ - Signer: signerAddr, - BabylonPk: delBabylonPK.(*secp256k1.PubKey), + StakerAddr: signerAddr, Pop: pop, BtcPk: bbn.NewBIP340PubKeyFromBTCPK(wif.PrivKey.PubKey()), FpBtcPkList: []bbn.BIP340PubKey{*bbn.NewBIP340PubKeyFromBTCPK(fpPK)}, diff --git a/e2etest/unbondingwatcher_e2e_test.go b/e2etest/unbondingwatcher_e2e_test.go index 00e138fc..53ef2fcf 100644 --- a/e2etest/unbondingwatcher_e2e_test.go +++ b/e2etest/unbondingwatcher_e2e_test.go @@ -8,12 +8,12 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/btcstaking" - "github.com/babylonchain/vigilante/btcclient" - bst "github.com/babylonchain/vigilante/btcstaking-tracker" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/btcstaking" + "github.com/babylonlabs-io/vigilante/btcclient" + bst "github.com/babylonlabs-io/vigilante/btcstaking-tracker" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" diff --git a/go.mod b/go.mod index 34df8e3a..62d71c1e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/babylonchain/vigilante +module github.com/babylonlabs-io/vigilante go 1.21 @@ -9,14 +9,14 @@ require ( cosmossdk.io/log v1.3.1 cosmossdk.io/math v1.3.0 github.com/avast/retry-go/v4 v4.5.1 - github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb + github.com/babylonlabs-io/babylon v0.9.0 github.com/boljen/go-bitmap v0.0.0-20151001105940-23cd2fb0ce7d - github.com/btcsuite/btcd v0.24.0 + github.com/btcsuite/btcd v0.24.2 github.com/btcsuite/btcd/btcec/v2 v2.3.2 github.com/btcsuite/btcd/btcutil v1.1.5 github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 github.com/btcsuite/btcwallet v0.16.10-0.20230621165747-9c21f464ce13 - github.com/cometbft/cometbft v0.38.6 + github.com/cometbft/cometbft v0.38.7 github.com/cosmos/cosmos-sdk v0.50.6 github.com/cosmos/relayer/v2 v2.5.1 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 @@ -64,7 +64,7 @@ require ( filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/keyring v1.2.1 // indirect github.com/CosmWasm/wasmd v0.51.0 // indirect - github.com/CosmWasm/wasmvm/v2 v2.0.0 // indirect + github.com/CosmWasm/wasmvm/v2 v2.0.1 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/aead/siphash v1.0.1 // indirect @@ -103,7 +103,8 @@ require ( github.com/cosmos/gogoproto v1.4.12 // indirect github.com/cosmos/iavl v1.1.2 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect - github.com/cosmos/ibc-go/v8 v8.0.0 // indirect + github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead // indirect + github.com/cosmos/ibc-go/v8 v8.3.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect github.com/crate-crypto/go-kzg-4844 v0.7.0 // indirect @@ -249,6 +250,7 @@ require ( github.com/spf13/cast v1.6.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/strangelove-ventures/cometbft-client v0.1.0 // indirect + github.com/stretchr/objx v0.5.2 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/supranational/blst v0.3.11 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect diff --git a/go.sum b/go.sum index 2fb3ca65..0022478c 100644 --- a/go.sum +++ b/go.sum @@ -227,8 +227,8 @@ github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CosmWasm/wasmd v0.51.0 h1:3A2o20RrdF7P1D3Xb+R7A/pHbbHWsYCDXrHLa7S0SC8= github.com/CosmWasm/wasmd v0.51.0/go.mod h1:7TSaj5HoolghujuVWeExqmcUKgpcYWEySGLSODbnnwY= -github.com/CosmWasm/wasmvm/v2 v2.0.0 h1:IqNCI2G0mvs7K6ej17/I28805rVqnu+Y1cWDqIdwb08= -github.com/CosmWasm/wasmvm/v2 v2.0.0/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= +github.com/CosmWasm/wasmvm/v2 v2.0.1 h1:0YCQ7MKGNri7NFeRp75erPJXrqyCtH4gdc9jMstyMzk= +github.com/CosmWasm/wasmvm/v2 v2.0.1/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -283,8 +283,8 @@ 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/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb h1:WHtB8TneukFZrDFH5ynNvGiQ5fpSB1+le/lydCoeujc= -github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb/go.mod h1:YFALTW+Kp/b5jSDoA7Z70RggJjAedlmQTrpdeU8c3hY= +github.com/babylonlabs-io/babylon v0.9.0 h1:dHZ9wUrI5XLaO4UIwJRgiCdnzFdi5yv7dpibbu6TDv0= +github.com/babylonlabs-io/babylon v0.9.0/go.mod h1:t7B4e+ooD2oYvAxkegtNKDL9bXe+vU29a8xnCQh+UKo= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -305,8 +305,8 @@ github.com/btcsuite/btcd v0.22.0-beta.0.20220204213055-eaf0459ff879/go.mod h1:os github.com/btcsuite/btcd v0.22.0-beta.0.20220207191057-4dc4ff7963b4/go.mod h1:7alexyj/lHlOtr2PJK7L/+HDJZpcGDn/pAU98r7DY08= github.com/btcsuite/btcd v0.23.3/go.mod h1:0QJIIN1wwIXF/3G/m87gIwGniDMDQqjVn4SZgnFpsYY= github.com/btcsuite/btcd v0.23.5-0.20231215221805-96c9fd8078fd/go.mod h1:nm3Bko6zh6bWP60UxwoT5LzdGJsQJaPo6HjduXq9p6A= -github.com/btcsuite/btcd v0.24.0 h1:gL3uHE/IaFj6fcZSu03SvqPMSx7s/dPzfpG/atRwWdo= -github.com/btcsuite/btcd v0.24.0/go.mod h1:K4IDc1593s8jKXIF7yS7yCTSxrknB9z0STzc2j6XgE4= +github.com/btcsuite/btcd v0.24.2 h1:aLmxPguqxza+4ag8R1I2nnJjSu2iFn/kqtHTIImswcY= +github.com/btcsuite/btcd v0.24.2/go.mod h1:5C8ChTkl5ejr3WHj8tkQSCmydiMEPB0ZhQhehpq7Dgg= github.com/btcsuite/btcd/btcec/v2 v2.1.0/go.mod h1:2VzYrv4Gm4apmbVVsSq5bqf1Ec8v56E48Vt0Y/umPgA= github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U= @@ -404,8 +404,8 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.6 h1:QSgpCzrGWJ2KUq1qpw+FCfASRpE27T6LQbfEHscdyOk= -github.com/cometbft/cometbft v0.38.6/go.mod h1:8rSPxzUJYquCN8uuBgbUHOMg2KAwvr7CyUw+6ukO4nw= +github.com/cometbft/cometbft v0.38.7 h1:ULhIOJ9+LgSy6nLekhq9ae3juX3NnQUMMPyVdhZV6Hk= +github.com/cometbft/cometbft v0.38.7/go.mod h1:HIyf811dFMI73IE0F7RrnY/Fr+d1+HuJAgtkEpQjCMY= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/consensys/bavard v0.1.13 h1:oLhMLOFGTLdlda/kma4VOJazblc7IM5y5QPd2A/YjhQ= @@ -444,8 +444,10 @@ github.com/cosmos/iavl v1.1.2 h1:zL9FK7C4L/P4IF1Dm5fIwz0WXCnn7Bp1M2FxH0ayM7Y= github.com/cosmos/iavl v1.1.2/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= -github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= -github.com/cosmos/ibc-go/v8 v8.0.0/go.mod h1:C6IiJom0F3cIQCD5fKwVPDrDK9j/xTu563AWuOmXois= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead h1:QB50+AmrEVqFr2hzvIxMkICziWQ/uuebze0vNYKMnBg= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead/go.mod h1:AJeroAXnPKeFpD1AfEfjYBHGEWt5gBfzUjgs4SYn2ZY= +github.com/cosmos/ibc-go/v8 v8.3.0 h1:fdW2S7NjZYFhSwmCaFjjyDv80kI1ePOJDQmco4qrnD0= +github.com/cosmos/ibc-go/v8 v8.3.0/go.mod h1:izwHZvn9lKrBn8xWj0aXWut6HKcwHMPD3uyuvOJoPSA= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 h1:DdzS1m6o/pCqeZ8VOAit/gyATedRgjvkVI+UCrLpyuU= diff --git a/metrics/btcstaking_tracker.go b/metrics/btcstaking_tracker.go index 831139f0..989c707c 100644 --- a/metrics/btcstaking_tracker.go +++ b/metrics/btcstaking_tracker.go @@ -1,7 +1,7 @@ package metrics import ( - "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" ) diff --git a/metrics/prometheus.go b/metrics/prometheus.go index f753e91f..4033339c 100644 --- a/metrics/prometheus.go +++ b/metrics/prometheus.go @@ -5,7 +5,7 @@ import ( _ "net/http/pprof" "regexp" - "github.com/babylonchain/vigilante/config" + "github.com/babylonlabs-io/vigilante/config" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/collectors" "github.com/prometheus/client_golang/prometheus/promhttp" diff --git a/monitor/btcscanner/block_handler.go b/monitor/btcscanner/block_handler.go index 3affb4ad..7054f9a4 100644 --- a/monitor/btcscanner/block_handler.go +++ b/monitor/btcscanner/block_handler.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) // blockEventHandler handles connected and disconnected blocks from the BTC client. diff --git a/monitor/btcscanner/btc_scanner.go b/monitor/btcscanner/btc_scanner.go index eefb4791..5ed6ebe4 100644 --- a/monitor/btcscanner/btc_scanner.go +++ b/monitor/btcscanner/btc_scanner.go @@ -4,15 +4,15 @@ import ( "fmt" "sync" - "github.com/babylonchain/babylon/btctxformatter" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/btcsuite/btcd/wire" "go.uber.org/atomic" "go.uber.org/zap" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/types" ) type BtcScanner struct { diff --git a/monitor/btcscanner/btc_scanner_test.go b/monitor/btcscanner/btc_scanner_test.go index 2daf772c..74b8f195 100644 --- a/monitor/btcscanner/btc_scanner_test.go +++ b/monitor/btcscanner/btc_scanner_test.go @@ -4,16 +4,16 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" "go.uber.org/atomic" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/monitor/btcscanner" - vdatagen "github.com/babylonchain/vigilante/testutil/datagen" - "github.com/babylonchain/vigilante/testutil/mocks" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/monitor/btcscanner" + vdatagen "github.com/babylonlabs-io/vigilante/testutil/datagen" + "github.com/babylonlabs-io/vigilante/testutil/mocks" + "github.com/babylonlabs-io/vigilante/types" ) func FuzzBootStrap(f *testing.F) { diff --git a/monitor/btcscanner/interface.go b/monitor/btcscanner/interface.go index 46747252..0f64c1a5 100644 --- a/monitor/btcscanner/interface.go +++ b/monitor/btcscanner/interface.go @@ -1,7 +1,7 @@ package btcscanner import ( - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/wire" ) diff --git a/monitor/expected_babylon_client.go b/monitor/expected_babylon_client.go index 2cc0b60f..c57f425f 100644 --- a/monitor/expected_babylon_client.go +++ b/monitor/expected_babylon_client.go @@ -1,10 +1,10 @@ package monitor import ( - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - monitortypes "github.com/babylonchain/babylon/x/monitor/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" "github.com/btcsuite/btcd/chaincfg/chainhash" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/monitor/liveness_checker.go b/monitor/liveness_checker.go index a3cb288e..11c511aa 100644 --- a/monitor/liveness_checker.go +++ b/monitor/liveness_checker.go @@ -6,9 +6,9 @@ import ( "github.com/pkg/errors" - monitortypes "github.com/babylonchain/babylon/x/monitor/types" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) func (m *Monitor) runLivenessChecker() { diff --git a/monitor/liveness_checker_test.go b/monitor/liveness_checker_test.go index 63d95df5..eb36c957 100644 --- a/monitor/liveness_checker_test.go +++ b/monitor/liveness_checker_test.go @@ -4,17 +4,17 @@ import ( "math/rand" "testing" - bbndatagen "github.com/babylonchain/babylon/testutil/datagen" - bbntypes "github.com/babylonchain/babylon/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - monitortypes "github.com/babylonchain/babylon/x/monitor/types" + bbndatagen "github.com/babylonlabs-io/babylon/testutil/datagen" + bbntypes "github.com/babylonlabs-io/babylon/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/monitor" - "github.com/babylonchain/vigilante/testutil/datagen" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/monitor" + "github.com/babylonlabs-io/vigilante/testutil/datagen" + "github.com/babylonlabs-io/vigilante/types" ) func FuzzLivenessChecker(f *testing.F) { diff --git a/monitor/mock_babylon_client.go b/monitor/mock_babylon_client.go index ac574ca3..6a1ac220 100644 --- a/monitor/mock_babylon_client.go +++ b/monitor/mock_babylon_client.go @@ -7,10 +7,10 @@ package monitor import ( reflect "reflect" - types "github.com/babylonchain/babylon/x/btclightclient/types" - types0 "github.com/babylonchain/babylon/x/checkpointing/types" - types1 "github.com/babylonchain/babylon/x/epoching/types" - types2 "github.com/babylonchain/babylon/x/monitor/types" + types "github.com/babylonlabs-io/babylon/x/btclightclient/types" + types0 "github.com/babylonlabs-io/babylon/x/checkpointing/types" + types1 "github.com/babylonlabs-io/babylon/x/epoching/types" + types2 "github.com/babylonlabs-io/babylon/x/monitor/types" chainhash "github.com/btcsuite/btcd/chaincfg/chainhash" query "github.com/cosmos/cosmos-sdk/types/query" gomock "github.com/golang/mock/gomock" diff --git a/monitor/monitor.go b/monitor/monitor.go index 8994c892..a6d13824 100644 --- a/monitor/monitor.go +++ b/monitor/monitor.go @@ -12,14 +12,14 @@ import ( "go.uber.org/zap" sdkerrors "cosmossdk.io/errors" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/monitor/btcscanner" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/monitor/btcscanner" + "github.com/babylonlabs-io/vigilante/types" ) type Monitor struct { diff --git a/monitor/monitor_test.go b/monitor/monitor_test.go index f2f82ee7..3b2935d9 100644 --- a/monitor/monitor_test.go +++ b/monitor/monitor_test.go @@ -4,17 +4,17 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/crypto/bls12381" - "github.com/babylonchain/babylon/testutil/datagen" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + "github.com/babylonlabs-io/babylon/testutil/datagen" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang/mock/gomock" "github.com/jinzhu/copier" "github.com/stretchr/testify/require" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/monitor" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/monitor" + "github.com/babylonlabs-io/vigilante/types" ) func GetMsgBytes(epoch uint64, hash *ckpttypes.BlockHash) []byte { diff --git a/monitor/query.go b/monitor/query.go index 235d58c1..bcbaff76 100644 --- a/monitor/query.go +++ b/monitor/query.go @@ -3,15 +3,15 @@ package monitor import ( "fmt" - "github.com/babylonchain/babylon/types/retry" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" - monitortypes "github.com/babylonchain/babylon/x/monitor/types" + "github.com/babylonlabs-io/babylon/types/retry" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" + monitortypes "github.com/babylonlabs-io/babylon/x/monitor/types" "github.com/btcsuite/btcd/chaincfg/chainhash" "go.uber.org/zap" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) // QueryInfoForNextEpoch fetches necessary information for verifying the next epoch from Babylon diff --git a/monitor/query_test.go b/monitor/query_test.go index a28843e8..5d96c3f8 100644 --- a/monitor/query_test.go +++ b/monitor/query_test.go @@ -4,14 +4,14 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/monitor" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/monitor" + "github.com/babylonlabs-io/vigilante/types" ) // FuzzQueryInfoForNextEpoch generates validator set with BLS keys and raw checkpoints diff --git a/netparams/bitcoin.go b/netparams/bitcoin.go index b851eb56..aac7d2ba 100644 --- a/netparams/bitcoin.go +++ b/netparams/bitcoin.go @@ -3,7 +3,7 @@ package netparams import ( "fmt" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/chaincfg" ) diff --git a/reporter/block_handler.go b/reporter/block_handler.go index d90d8a7a..1927d78a 100644 --- a/reporter/block_handler.go +++ b/reporter/block_handler.go @@ -3,7 +3,7 @@ package reporter import ( "fmt" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) // blockEventHandler handles connected and disconnected blocks from the BTC client. diff --git a/reporter/bootstrapping.go b/reporter/bootstrapping.go index 9d248201..5e45c678 100644 --- a/reporter/bootstrapping.go +++ b/reporter/bootstrapping.go @@ -7,8 +7,8 @@ import ( "time" "github.com/avast/retry-go/v4" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/vigilante/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/chaincfg/chainhash" ) diff --git a/reporter/expected_babylon_client.go b/reporter/expected_babylon_client.go index d368cd7e..fdcf2a90 100644 --- a/reporter/expected_babylon_client.go +++ b/reporter/expected_babylon_client.go @@ -3,9 +3,9 @@ package reporter import ( "context" - "github.com/babylonchain/babylon/client/config" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/client/config" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/btcsuite/btcd/chaincfg/chainhash" pv "github.com/cosmos/relayer/v2/relayer/provider" ) diff --git a/reporter/mock_babylon_client.go b/reporter/mock_babylon_client.go index b20a3ca2..3268147a 100644 --- a/reporter/mock_babylon_client.go +++ b/reporter/mock_babylon_client.go @@ -8,9 +8,9 @@ import ( context "context" reflect "reflect" - config "github.com/babylonchain/babylon/client/config" - types "github.com/babylonchain/babylon/x/btccheckpoint/types" - types0 "github.com/babylonchain/babylon/x/btclightclient/types" + config "github.com/babylonlabs-io/babylon/client/config" + types "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types0 "github.com/babylonlabs-io/babylon/x/btclightclient/types" chainhash "github.com/btcsuite/btcd/chaincfg/chainhash" provider "github.com/cosmos/relayer/v2/relayer/provider" gomock "github.com/golang/mock/gomock" diff --git a/reporter/reorg_list.go b/reporter/reorg_list.go index 010f343f..6e24c938 100644 --- a/reporter/reorg_list.go +++ b/reporter/reorg_list.go @@ -4,7 +4,7 @@ import ( "sync" sdkmath "cosmossdk.io/math" - btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/btcsuite/btcd/wire" ) diff --git a/reporter/reporter.go b/reporter/reporter.go index 9a514129..5a5bfb64 100644 --- a/reporter/reporter.go +++ b/reporter/reporter.go @@ -6,13 +6,13 @@ import ( "sync" "time" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/types/retry" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/types/retry" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/types" "go.uber.org/zap" ) diff --git a/reporter/utils.go b/reporter/utils.go index 63281b79..59dae461 100644 --- a/reporter/utils.go +++ b/reporter/utils.go @@ -8,10 +8,10 @@ import ( pv "github.com/cosmos/relayer/v2/relayer/provider" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/types/retry" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/types/retry" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/vigilante/types" ) func chunkBy[T any](items []T, chunkSize int) (chunks [][]T) { diff --git a/reporter/utils_test.go b/reporter/utils_test.go index d7fdc27d..d575c5ff 100644 --- a/reporter/utils_test.go +++ b/reporter/utils_test.go @@ -6,18 +6,18 @@ import ( pv "github.com/cosmos/relayer/v2/relayer/provider" - "github.com/babylonchain/babylon/testutil/datagen" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/reporter" - vdatagen "github.com/babylonchain/vigilante/testutil/datagen" - "github.com/babylonchain/vigilante/testutil/mocks" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/reporter" + vdatagen "github.com/babylonlabs-io/vigilante/testutil/datagen" + "github.com/babylonlabs-io/vigilante/testutil/mocks" + "github.com/babylonlabs-io/vigilante/types" ) func newMockReporter(t *testing.T, ctrl *gomock.Controller) ( diff --git a/rpcserver/server.go b/rpcserver/server.go index 46490373..c223752b 100644 --- a/rpcserver/server.go +++ b/rpcserver/server.go @@ -22,11 +22,11 @@ import ( "go.uber.org/zap" - bst "github.com/babylonchain/vigilante/btcstaking-tracker" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/monitor" - "github.com/babylonchain/vigilante/reporter" - "github.com/babylonchain/vigilante/submitter" + bst "github.com/babylonlabs-io/vigilante/btcstaking-tracker" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/monitor" + "github.com/babylonlabs-io/vigilante/reporter" + "github.com/babylonlabs-io/vigilante/submitter" grpc_middleware "github.com/grpc-ecosystem/go-grpc-middleware" grpc_prometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "google.golang.org/grpc" diff --git a/rpcserver/service.go b/rpcserver/service.go index 73fff9e7..83da6bd0 100644 --- a/rpcserver/service.go +++ b/rpcserver/service.go @@ -4,7 +4,7 @@ import ( "golang.org/x/net/context" "google.golang.org/grpc" - pb "github.com/babylonchain/vigilante/rpcserver/api" + pb "github.com/babylonlabs-io/vigilante/rpcserver/api" ) // Public API version constants diff --git a/submitter/expected_babylon_client.go b/submitter/expected_babylon_client.go index 9c840f86..c2f03f6a 100644 --- a/submitter/expected_babylon_client.go +++ b/submitter/expected_babylon_client.go @@ -1,9 +1,9 @@ package submitter import ( - "github.com/babylonchain/vigilante/submitter/poller" + "github.com/babylonlabs-io/vigilante/submitter/poller" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) type BabylonQueryClient interface { diff --git a/submitter/mock_babylon_client.go b/submitter/mock_babylon_client.go index 5acbe0bd..6af8e6ed 100644 --- a/submitter/mock_babylon_client.go +++ b/submitter/mock_babylon_client.go @@ -7,8 +7,8 @@ package submitter import ( reflect "reflect" - types "github.com/babylonchain/babylon/x/btccheckpoint/types" - types0 "github.com/babylonchain/babylon/x/checkpointing/types" + types "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + types0 "github.com/babylonlabs-io/babylon/x/checkpointing/types" query "github.com/cosmos/cosmos-sdk/types/query" gomock "github.com/golang/mock/gomock" ) diff --git a/submitter/poller/expected_babylon_client.go b/submitter/poller/expected_babylon_client.go index 0fdfa791..5f42c085 100644 --- a/submitter/poller/expected_babylon_client.go +++ b/submitter/poller/expected_babylon_client.go @@ -1,7 +1,7 @@ package poller import ( - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" sdkquerytypes "github.com/cosmos/cosmos-sdk/types/query" ) diff --git a/submitter/poller/mock_babylon_client.go b/submitter/poller/mock_babylon_client.go index 993b55ee..d7298f7b 100644 --- a/submitter/poller/mock_babylon_client.go +++ b/submitter/poller/mock_babylon_client.go @@ -7,7 +7,7 @@ package poller import ( reflect "reflect" - types "github.com/babylonchain/babylon/x/checkpointing/types" + types "github.com/babylonlabs-io/babylon/x/checkpointing/types" query "github.com/cosmos/cosmos-sdk/types/query" gomock "github.com/golang/mock/gomock" ) diff --git a/submitter/poller/poller.go b/submitter/poller/poller.go index e972a60f..06ea2a25 100644 --- a/submitter/poller/poller.go +++ b/submitter/poller/poller.go @@ -1,7 +1,7 @@ package poller import ( - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) type Poller struct { diff --git a/submitter/poller/poller_test.go b/submitter/poller/poller_test.go index f52b04dc..721028a3 100644 --- a/submitter/poller/poller_test.go +++ b/submitter/poller/poller_test.go @@ -6,12 +6,12 @@ import ( "sync" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/vigilante/submitter/poller" + "github.com/babylonlabs-io/vigilante/submitter/poller" ) func FuzzPollingCheckpoints(f *testing.F) { diff --git a/submitter/relayer/change_address_test.go b/submitter/relayer/change_address_test.go index d1443d83..2029f5ce 100644 --- a/submitter/relayer/change_address_test.go +++ b/submitter/relayer/change_address_test.go @@ -10,12 +10,12 @@ import ( "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/btctxformatter" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/submitter/relayer" - "github.com/babylonchain/vigilante/testutil/mocks" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/submitter/relayer" + "github.com/babylonlabs-io/vigilante/testutil/mocks" ) var submitterAddrStr = "bbn1eppc73j56382wjn6nnq3quu5eye4pmm087xfdh" diff --git a/submitter/relayer/estimator.go b/submitter/relayer/estimator.go index 706289f8..33b2ec32 100644 --- a/submitter/relayer/estimator.go +++ b/submitter/relayer/estimator.go @@ -6,8 +6,8 @@ import ( "github.com/btcsuite/btcd/rpcclient" "github.com/lightningnetwork/lnd/lnwallet/chainfee" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/types" ) // NewFeeEstimator creates a fee estimator based on the given backend diff --git a/submitter/relayer/relayer.go b/submitter/relayer/relayer.go index db6bdd44..615921d8 100644 --- a/submitter/relayer/relayer.go +++ b/submitter/relayer/relayer.go @@ -8,8 +8,8 @@ import ( "strconv" "time" - "github.com/babylonchain/babylon/btctxformatter" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/txscript" @@ -19,10 +19,10 @@ import ( "github.com/lightningnetwork/lnd/lnwallet/chainfee" "go.uber.org/zap" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/types" ) type Relayer struct { diff --git a/submitter/relayer/utils.go b/submitter/relayer/utils.go index c637b158..7f267592 100644 --- a/submitter/relayer/utils.go +++ b/submitter/relayer/utils.go @@ -11,7 +11,7 @@ import ( "github.com/btcsuite/btcd/wire" secp "github.com/decred/dcrd/dcrec/secp256k1/v4" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" ) func isSegWit(addr btcutil.Address) (bool, error) { diff --git a/submitter/submitter.go b/submitter/submitter.go index 9fa2a60f..f689cb49 100644 --- a/submitter/submitter.go +++ b/submitter/submitter.go @@ -6,17 +6,17 @@ import ( "sync" "time" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/types/retry" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/types/retry" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" sdk "github.com/cosmos/cosmos-sdk/types" "go.uber.org/zap" - "github.com/babylonchain/vigilante/btcclient" - "github.com/babylonchain/vigilante/config" - "github.com/babylonchain/vigilante/metrics" - "github.com/babylonchain/vigilante/submitter/poller" - "github.com/babylonchain/vigilante/submitter/relayer" + "github.com/babylonlabs-io/vigilante/btcclient" + "github.com/babylonlabs-io/vigilante/config" + "github.com/babylonlabs-io/vigilante/metrics" + "github.com/babylonlabs-io/vigilante/submitter/poller" + "github.com/babylonlabs-io/vigilante/submitter/relayer" ) type Submitter struct { diff --git a/testutil/datagen/datagen.go b/testutil/datagen/datagen.go index 298cf54f..ddaf7328 100644 --- a/testutil/datagen/datagen.go +++ b/testutil/datagen/datagen.go @@ -1,8 +1,8 @@ package datagen import ( - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/vigilante/types" "math/rand" ) diff --git a/testutil/datagen/reporter.go b/testutil/datagen/reporter.go index 8cc063c9..54c244a7 100644 --- a/testutil/datagen/reporter.go +++ b/testutil/datagen/reporter.go @@ -5,10 +5,10 @@ import ( "math/big" "math/rand" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/testutil/datagen" - babylontypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/testutil/datagen" + babylontypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" diff --git a/testutil/mocks/btcclient.go b/testutil/mocks/btcclient.go index 1c02ccbb..8023d652 100644 --- a/testutil/mocks/btcclient.go +++ b/testutil/mocks/btcclient.go @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" - config "github.com/babylonchain/vigilante/config" - types "github.com/babylonchain/vigilante/types" + config "github.com/babylonlabs-io/vigilante/config" + types "github.com/babylonlabs-io/vigilante/types" btcjson "github.com/btcsuite/btcd/btcjson" btcutil "github.com/btcsuite/btcd/btcutil" chaincfg "github.com/btcsuite/btcd/chaincfg" diff --git a/tools/go.mod b/tools/go.mod index 0864eb42..487caa85 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,12 +1,12 @@ -module github.com/babylonchain/vigilante/tools +module github.com/babylonlabs-io/vigilante/tools go 1.21 toolchain go1.21.4 require ( - github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb - github.com/btcsuite/btcd v0.24.0 + github.com/babylonlabs-io/babylon v0.9.0 + github.com/btcsuite/btcd v0.24.2 github.com/btcsuite/btcwallet v0.16.9 ) @@ -36,7 +36,7 @@ require ( github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect github.com/CosmWasm/wasmd v0.51.0 // indirect - github.com/CosmWasm/wasmvm/v2 v2.0.0 // indirect + github.com/CosmWasm/wasmvm/v2 v2.0.1 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/aead/siphash v1.0.1 // indirect @@ -69,7 +69,7 @@ require ( github.com/cockroachdb/pebble v1.1.0 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/cometbft/cometbft v0.38.6 // indirect + github.com/cometbft/cometbft v0.38.7 // indirect github.com/cometbft/cometbft-db v0.9.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.0.2 // indirect @@ -80,7 +80,8 @@ require ( github.com/cosmos/gogoproto v1.4.12 // indirect github.com/cosmos/iavl v1.1.2 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect - github.com/cosmos/ibc-go/v8 v8.0.0 // indirect + github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead // indirect + github.com/cosmos/ibc-go/v8 v8.3.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect github.com/creachadair/atomicfile v0.3.1 // indirect @@ -198,6 +199,7 @@ require ( github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/viper v1.18.2 // indirect + github.com/stretchr/objx v0.5.2 // indirect github.com/stretchr/testify v1.9.0 // indirect github.com/subosito/gotenv v1.6.0 // indirect github.com/supranational/blst v0.3.11 // indirect diff --git a/tools/go.sum b/tools/go.sum index 74e3e342..2875a51e 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -229,8 +229,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CosmWasm/wasmd v0.51.0 h1:3A2o20RrdF7P1D3Xb+R7A/pHbbHWsYCDXrHLa7S0SC8= github.com/CosmWasm/wasmd v0.51.0/go.mod h1:7TSaj5HoolghujuVWeExqmcUKgpcYWEySGLSODbnnwY= -github.com/CosmWasm/wasmvm/v2 v2.0.0 h1:IqNCI2G0mvs7K6ej17/I28805rVqnu+Y1cWDqIdwb08= -github.com/CosmWasm/wasmvm/v2 v2.0.0/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= +github.com/CosmWasm/wasmvm/v2 v2.0.1 h1:0YCQ7MKGNri7NFeRp75erPJXrqyCtH4gdc9jMstyMzk= +github.com/CosmWasm/wasmvm/v2 v2.0.1/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -270,8 +270,8 @@ 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/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb h1:WHtB8TneukFZrDFH5ynNvGiQ5fpSB1+le/lydCoeujc= -github.com/babylonchain/babylon v0.8.6-0.20240605064737-7be9d5c57afb/go.mod h1:YFALTW+Kp/b5jSDoA7Z70RggJjAedlmQTrpdeU8c3hY= +github.com/babylonlabs-io/babylon v0.9.0 h1:dHZ9wUrI5XLaO4UIwJRgiCdnzFdi5yv7dpibbu6TDv0= +github.com/babylonlabs-io/babylon v0.9.0/go.mod h1:t7B4e+ooD2oYvAxkegtNKDL9bXe+vU29a8xnCQh+UKo= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -292,8 +292,8 @@ github.com/btcsuite/btcd v0.22.0-beta.0.20220204213055-eaf0459ff879/go.mod h1:os github.com/btcsuite/btcd v0.22.0-beta.0.20220207191057-4dc4ff7963b4/go.mod h1:7alexyj/lHlOtr2PJK7L/+HDJZpcGDn/pAU98r7DY08= github.com/btcsuite/btcd v0.23.1/go.mod h1:0QJIIN1wwIXF/3G/m87gIwGniDMDQqjVn4SZgnFpsYY= github.com/btcsuite/btcd v0.23.5-0.20231215221805-96c9fd8078fd/go.mod h1:nm3Bko6zh6bWP60UxwoT5LzdGJsQJaPo6HjduXq9p6A= -github.com/btcsuite/btcd v0.24.0 h1:gL3uHE/IaFj6fcZSu03SvqPMSx7s/dPzfpG/atRwWdo= -github.com/btcsuite/btcd v0.24.0/go.mod h1:K4IDc1593s8jKXIF7yS7yCTSxrknB9z0STzc2j6XgE4= +github.com/btcsuite/btcd v0.24.2 h1:aLmxPguqxza+4ag8R1I2nnJjSu2iFn/kqtHTIImswcY= +github.com/btcsuite/btcd v0.24.2/go.mod h1:5C8ChTkl5ejr3WHj8tkQSCmydiMEPB0ZhQhehpq7Dgg= github.com/btcsuite/btcd/btcec/v2 v2.1.0/go.mod h1:2VzYrv4Gm4apmbVVsSq5bqf1Ec8v56E48Vt0Y/umPgA= github.com/btcsuite/btcd/btcec/v2 v2.1.1/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE= @@ -392,8 +392,8 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.6 h1:QSgpCzrGWJ2KUq1qpw+FCfASRpE27T6LQbfEHscdyOk= -github.com/cometbft/cometbft v0.38.6/go.mod h1:8rSPxzUJYquCN8uuBgbUHOMg2KAwvr7CyUw+6ukO4nw= +github.com/cometbft/cometbft v0.38.7 h1:ULhIOJ9+LgSy6nLekhq9ae3juX3NnQUMMPyVdhZV6Hk= +github.com/cometbft/cometbft v0.38.7/go.mod h1:HIyf811dFMI73IE0F7RrnY/Fr+d1+HuJAgtkEpQjCMY= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= @@ -423,8 +423,10 @@ github.com/cosmos/iavl v1.1.2 h1:zL9FK7C4L/P4IF1Dm5fIwz0WXCnn7Bp1M2FxH0ayM7Y= github.com/cosmos/iavl v1.1.2/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= -github.com/cosmos/ibc-go/v8 v8.0.0 h1:QKipnr/NGwc+9L7NZipURvmSIu+nw9jOIWTJuDBqOhg= -github.com/cosmos/ibc-go/v8 v8.0.0/go.mod h1:C6IiJom0F3cIQCD5fKwVPDrDK9j/xTu563AWuOmXois= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead h1:QB50+AmrEVqFr2hzvIxMkICziWQ/uuebze0vNYKMnBg= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead/go.mod h1:AJeroAXnPKeFpD1AfEfjYBHGEWt5gBfzUjgs4SYn2ZY= +github.com/cosmos/ibc-go/v8 v8.3.0 h1:fdW2S7NjZYFhSwmCaFjjyDv80kI1ePOJDQmco4qrnD0= +github.com/cosmos/ibc-go/v8 v8.3.0/go.mod h1:izwHZvn9lKrBn8xWj0aXWut6HKcwHMPD3uyuvOJoPSA= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/ledger-cosmos-go v0.13.3 h1:7ehuBGuyIytsXbd4MP43mLeoN2LTOEnk5nvue4rK+yM= diff --git a/tools/tools.go b/tools/tools.go index b894a199..54f759ac 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -4,7 +4,7 @@ package vigilante import ( - _ "github.com/babylonchain/babylon/cmd/babylond" + _ "github.com/babylonlabs-io/babylon/cmd/babylond" _ "github.com/btcsuite/btcd" _ "github.com/btcsuite/btcwallet" ) diff --git a/types/btccache_test.go b/types/btccache_test.go index 43aca879..1658308f 100644 --- a/types/btccache_test.go +++ b/types/btccache_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - vdatagen "github.com/babylonchain/vigilante/testutil/datagen" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + vdatagen "github.com/babylonlabs-io/vigilante/testutil/datagen" + "github.com/babylonlabs-io/vigilante/types" ) // FuzzBtcCache fuzzes the BtcCache type diff --git a/types/btccheckpoint.go b/types/btccheckpoint.go index d25f1ff3..cb3c03b9 100644 --- a/types/btccheckpoint.go +++ b/types/btccheckpoint.go @@ -3,8 +3,8 @@ package types import ( "fmt" - "github.com/babylonchain/babylon/btctxformatter" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) // MustNewMsgInsertBTCSpvProof returns a MsgInsertBTCSpvProof msg given the submitter address and SPV proofs of two BTC txs diff --git a/types/btclightclient.go b/types/btclightclient.go index 64b6de58..72a39bc1 100644 --- a/types/btclightclient.go +++ b/types/btclightclient.go @@ -1,8 +1,8 @@ package types import ( - babylontypes "github.com/babylonchain/babylon/types" - btcltypes "github.com/babylonchain/babylon/x/btclightclient/types" + babylontypes "github.com/babylonlabs-io/babylon/types" + btcltypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" ) func NewMsgInsertHeaders( diff --git a/types/ckpt.go b/types/ckpt.go index dcf52fed..23245eb4 100644 --- a/types/ckpt.go +++ b/types/ckpt.go @@ -3,8 +3,8 @@ package types import ( "fmt" - "github.com/babylonchain/babylon/btctxformatter" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" ) type Ckpt struct { diff --git a/types/ckpt_cache.go b/types/ckpt_cache.go index 8aab18db..2542de28 100644 --- a/types/ckpt_cache.go +++ b/types/ckpt_cache.go @@ -5,7 +5,7 @@ import ( "fmt" "sort" - "github.com/babylonchain/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/btctxformatter" ) type CheckpointCache struct { diff --git a/types/ckpt_cache_test.go b/types/ckpt_cache_test.go index f3af5bdb..fa184e8d 100644 --- a/types/ckpt_cache_test.go +++ b/types/ckpt_cache_test.go @@ -4,9 +4,9 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/babylon/testutil/datagen" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/babylon/testutil/datagen" + "github.com/babylonlabs-io/vigilante/types" "github.com/stretchr/testify/require" ) diff --git a/types/ckpt_record.go b/types/ckpt_record.go index e09777a2..df816909 100644 --- a/types/ckpt_record.go +++ b/types/ckpt_record.go @@ -1,7 +1,7 @@ package types import ( - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" ) type CheckpointRecord struct { diff --git a/types/ckpt_segment.go b/types/ckpt_segment.go index 2dc8f58f..1f8b19db 100644 --- a/types/ckpt_segment.go +++ b/types/ckpt_segment.go @@ -1,8 +1,8 @@ package types import ( - "github.com/babylonchain/babylon/btctxformatter" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" "github.com/btcsuite/btcd/btcutil" ) @@ -18,7 +18,10 @@ type CkptSegment struct { } func NewCkptSegment(tag btctxformatter.BabylonTag, version btctxformatter.FormatVersion, block *IndexedBlock, tx *btcutil.Tx) *CkptSegment { - opReturnData := btcctypes.ExtractOpReturnData(tx) + opReturnData, err := btcctypes.ExtractStandardOpReturnData(tx) + if err != nil { + return nil + } bbnData, err := btctxformatter.IsBabylonCheckpointData(tag, version, opReturnData) if err != nil { return nil diff --git a/types/ckpt_segment_test.go b/types/ckpt_segment_test.go index 5908c644..07854e6b 100644 --- a/types/ckpt_segment_test.go +++ b/types/ckpt_segment_test.go @@ -5,8 +5,8 @@ import ( "encoding/hex" "testing" - "github.com/babylonchain/babylon/btctxformatter" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/btctxformatter" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" "github.com/stretchr/testify/require" diff --git a/types/epoch_info.go b/types/epoch_info.go index 93dc5821..b4d74559 100644 --- a/types/epoch_info.go +++ b/types/epoch_info.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - "github.com/babylonchain/babylon/crypto/bls12381" - ckpttypes "github.com/babylonchain/babylon/x/checkpointing/types" + "github.com/babylonlabs-io/babylon/crypto/bls12381" + ckpttypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" "github.com/boljen/go-bitmap" "github.com/pkg/errors" ) diff --git a/types/genesis_info.go b/types/genesis_info.go index d6a730cf..6f183589 100644 --- a/types/genesis_info.go +++ b/types/genesis_info.go @@ -5,11 +5,11 @@ import ( "errors" "fmt" - "github.com/babylonchain/babylon/app" - btccheckpointtypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclightclienttypes "github.com/babylonchain/babylon/x/btclightclient/types" - checkpointingtypes "github.com/babylonchain/babylon/x/checkpointing/types" - epochingtypes "github.com/babylonchain/babylon/x/epoching/types" + "github.com/babylonlabs-io/babylon/app" + btccheckpointtypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclightclienttypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + checkpointingtypes "github.com/babylonlabs-io/babylon/x/checkpointing/types" + epochingtypes "github.com/babylonlabs-io/babylon/x/epoching/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/genutil" diff --git a/types/genesis_info_test.go b/types/genesis_info_test.go index 4701047a..97941b22 100644 --- a/types/genesis_info_test.go +++ b/types/genesis_info_test.go @@ -6,12 +6,12 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/cosmos/cosmos-sdk/client/flags" "cosmossdk.io/log" - "github.com/babylonchain/babylon/app" - bbncmd "github.com/babylonchain/babylon/cmd/babylond/cmd" + "github.com/babylonlabs-io/babylon/app" + bbncmd "github.com/babylonlabs-io/babylon/cmd/babylond/cmd" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/server" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" diff --git a/types/indexed_block.go b/types/indexed_block.go index 48c634e2..7e5ee900 100644 --- a/types/indexed_block.go +++ b/types/indexed_block.go @@ -4,11 +4,11 @@ import ( "bytes" "fmt" - babylontypes "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" + babylontypes "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btcd/btcutil" ) // IndexedBlock is a BTC block with some extra information compared to wire.MsgBlock, including: diff --git a/types/indexed_block_test.go b/types/indexed_block_test.go index 4f953e15..edad795f 100644 --- a/types/indexed_block_test.go +++ b/types/indexed_block_test.go @@ -8,10 +8,10 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - vdatagen "github.com/babylonchain/vigilante/testutil/datagen" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + vdatagen "github.com/babylonlabs-io/vigilante/testutil/datagen" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/chaincfg" _ "github.com/btcsuite/btcd/database/ffldb" "github.com/stretchr/testify/require" diff --git a/zmq/client.go b/zmq/client.go index b77b2359..51184f42 100644 --- a/zmq/client.go +++ b/zmq/client.go @@ -7,7 +7,7 @@ import ( "sync" "sync/atomic" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/rpcclient" "github.com/pebbe/zmq4" "go.uber.org/zap" diff --git a/zmq/subscribe.go b/zmq/subscribe.go index 08992bba..2df13ba6 100644 --- a/zmq/subscribe.go +++ b/zmq/subscribe.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/babylonchain/vigilante/types" + "github.com/babylonlabs-io/vigilante/types" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" zmq "github.com/pebbe/zmq4" From a8f1c82721063a097d5970a5911ba739c1c96481 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Wed, 7 Aug 2024 16:25:27 +1000 Subject: [PATCH 15/15] minor: fix Makefile (#3) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 28a48faf..ad9d324d 100644 --- a/Makefile +++ b/Makefile @@ -56,11 +56,11 @@ test-e2e: go test -mod=readonly -timeout=25m -v $(PACKAGES_E2E) -count=1 --tags=e2e build-docker: - $(DOCKER) build --tag babylonchain/vigilante -f Dockerfile \ + $(DOCKER) build --tag babylonlabs-io/vigilante -f Dockerfile \ $(shell git rev-parse --show-toplevel) rm-docker: - $(DOCKER) rmi babylonchain/vigilante 2>/dev/null; true + $(DOCKER) rmi babylonlabs-io/vigilante 2>/dev/null; true mocks: mkdir -p $(MOCKS_DIR)