From 071267b2ffb1a16a87750bb7ecbcf1757aa0001c Mon Sep 17 00:00:00 2001 From: freeelancer Date: Tue, 10 Dec 2024 08:28:39 +0800 Subject: [PATCH 1/2] use new cosmos-sdk fork that is rebased from v0.50.10 --- go.mod | 5 +++-- go.sum | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index a770c98b..e2a6275b 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,9 @@ go 1.23 toolchain go1.23.0 replace ( - // use mantra-sdk - github.com/cosmos/cosmos-sdk => github.com/MANTRA-Chain/cosmos-sdk v0.50.8-0.20241001101155-992121f93c3d + // Direct commit link: https://github.com/MANTRA-Chain/cosmos-sdk/commit/f6d95f0a4962dc451b909a059c808ffb0827de7a + // Direct tag link: https://github.com/MANTRA-Chain/cosmos-sdk/tree/v0.50.10-v2-mantra-1 + github.com/cosmos/cosmos-sdk => github.com/MANTRA-Chain/cosmos-sdk v0.50.10-v2-mantra-1 // fix upstream GHSA-h395-qcrw-5vmq vulnerability. github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.8.1 diff --git a/go.sum b/go.sum index 780f3c68..bc00d3e6 100644 --- a/go.sum +++ b/go.sum @@ -260,8 +260,8 @@ github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3 github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/MANTRA-Chain/cosmos-sdk v0.50.8-0.20241001101155-992121f93c3d h1:RngOiEUfhQNahTX7OtO3UYAA08f0pB2qvaR6KHTv+Nc= -github.com/MANTRA-Chain/cosmos-sdk v0.50.8-0.20241001101155-992121f93c3d/go.mod h1:P18c/KpS3qIEphfgeW43CgynLNIuVGM8DJy9DVLkfJQ= +github.com/MANTRA-Chain/cosmos-sdk v0.50.10-v2-mantra-1 h1:4N8HunDZsc3QwPcIhz20yM9k95Mh32TtxDb2Mnt3wbU= +github.com/MANTRA-Chain/cosmos-sdk v0.50.10-v2-mantra-1/go.mod h1:6Eesrx3ZE7vxBZWpK++30H+Uc7Q4ahQWCL7JKU/LEdU= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/Microsoft/hcsshim v0.12.7 h1:MP6R1spmjxTE4EU4J3YsrTxn8CjvN9qwjTKJXldFaRg= @@ -821,8 +821,8 @@ github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLf github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/jdx/go-netrc v1.0.0 h1:QbLMLyCZGj0NA8glAhxUpf1zDg6cxnWgMBbjq40W0gQ= github.com/jdx/go-netrc v1.0.0/go.mod h1:Gh9eFQJnoTNIRHXl2j5bJXA1u84hQWJWgGh569zF3v8= -github.com/jhump/protoreflect v1.17.0 h1:qOEr613fac2lOuTgWN4tPAtLL7fUSbuJL5X5XumQh94= -github.com/jhump/protoreflect v1.17.0/go.mod h1:h9+vUUL38jiBzck8ck+6G/aeMX8Z4QUY/NiJPwPNi+8= +github.com/jhump/protoreflect v1.15.3 h1:6SFRuqU45u9hIZPJAoZ8c28T3nK64BNdp9w6jFonzls= +github.com/jhump/protoreflect v1.15.3/go.mod h1:4ORHmSBmlCW8fh3xHmJMGyul1zNqZK4Elxc8qKP+p1k= github.com/jhump/protoreflect/v2 v2.0.0-beta.2 h1:qZU+rEZUOYTz1Bnhi3xbwn+VxdXkLVeEpAeZzVXLY88= github.com/jhump/protoreflect/v2 v2.0.0-beta.2/go.mod h1:4tnOYkB/mq7QTyS3YKtVtNrJv4Psqout8HA1U+hZtgM= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= From 519facad3d7c157e952853625f4689dcea070127 Mon Sep 17 00:00:00 2001 From: freeelancer Date: Tue, 10 Dec 2024 16:28:37 +0800 Subject: [PATCH 2/2] use new commit --- go.mod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e2a6275b..4c5a2353 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,8 @@ go 1.23 toolchain go1.23.0 replace ( - // Direct commit link: https://github.com/MANTRA-Chain/cosmos-sdk/commit/f6d95f0a4962dc451b909a059c808ffb0827de7a + // Direct cosmos-sdk branch link: https://github.com/MANTRA-Chain/cosmos-sdk/tree/mantra/v0.50.10, current branch: mantra/v0.50.10 + // Direct commit link: https://github.com/MANTRA-Chain/cosmos-sdk/commit/cfc36838ae32a2772d86bafa0cb192125f0ffbaf // Direct tag link: https://github.com/MANTRA-Chain/cosmos-sdk/tree/v0.50.10-v2-mantra-1 github.com/cosmos/cosmos-sdk => github.com/MANTRA-Chain/cosmos-sdk v0.50.10-v2-mantra-1