From 61767edfcaa6317167498942d4c32250441c9fe2 Mon Sep 17 00:00:00 2001 From: Lazar Date: Wed, 20 Nov 2024 17:30:57 +0100 Subject: [PATCH 1/3] update cosmos math dep --- contrib/images/Makefile | 6 ++++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/contrib/images/Makefile b/contrib/images/Makefile index 86ec3cf9b..e78ddc120 100644 --- a/contrib/images/Makefile +++ b/contrib/images/Makefile @@ -8,8 +8,10 @@ babylond: babylond-rmi docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile ${BABYLON_FULL_PATH} babylond-e2e: - docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile ${BABYLON_FULL_PATH} \ - --build-arg BABYLON_BUILD_OPTIONS="testnet" + docker buildx build --platform linux/arm64 \ + --tag babylonlabs-io/babylond:latest \ + -f babylond/Dockerfile ${BABYLON_FULL_PATH} \ + --build-arg BABYLON_BUILD_OPTIONS="testnet" babylond-rmi: docker rmi babylonlabs-io/babylond --force 2>/dev/null; true diff --git a/go.mod b/go.mod index 97aac5df6..9bb4dce20 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( cosmossdk.io/depinject v1.0.0 cosmossdk.io/errors v1.0.1 cosmossdk.io/log v1.4.1 - cosmossdk.io/math v1.3.0 + cosmossdk.io/math v1.4.0 cosmossdk.io/store v1.1.0 cosmossdk.io/tools/confix v0.1.2 cosmossdk.io/x/circuit v0.1.1 diff --git a/go.sum b/go.sum index 5e4660439..682f1c107 100644 --- a/go.sum +++ b/go.sum @@ -196,8 +196,8 @@ 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.4.1 h1:wKdjfDRbDyZRuWa8M+9nuvpVYxrEOwbD/CA8hvhU8QM= cosmossdk.io/log v1.4.1/go.mod h1:k08v0Pyq+gCP6phvdI6RCGhLf/r425UT6Rk/m+o74rU= -cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE= -cosmossdk.io/math v1.3.0/go.mod h1:vnRTxewy+M7BtXBNFybkuhSH4WfedVAAnERHgVFhp3k= +cosmossdk.io/math v1.4.0 h1:XbgExXFnXmF/CccPPEto40gOO7FpWu9yWNAZPN3nkNQ= +cosmossdk.io/math v1.4.0/go.mod h1:O5PkD4apz2jZs4zqFdTr16e1dcaQCc5z6lkEnrrppuk= 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.2 h1:2hoM1oFCNisd0ltSAAZw2i4ponARPmlhuNu3yy0VwI4= From c69a4e4880a0e73535eb4c840440195d82fd291f Mon Sep 17 00:00:00 2001 From: Lazar Date: Wed, 20 Nov 2024 17:32:54 +0100 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb5814bb5..d325e0524 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - [278](https://github.com/babylonlabs-io/babylon/pull/278) Allow unbonding time to be min unbonding value +### Improvements + +- [284](https://github.com/babylonlabs-io/babylon/pull/284) Update cosmos sdk math dependency + + ### Bug fixes - [#270](https://github.com/babylonlabs-io/babylon/pull/270) Validate there is only From 63b21f72283d2a6eab090af87101e0c600ce1bc1 Mon Sep 17 00:00:00 2001 From: Lazar Date: Wed, 20 Nov 2024 17:34:54 +0100 Subject: [PATCH 3/3] revert makefile --- contrib/images/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/images/Makefile b/contrib/images/Makefile index e78ddc120..86ec3cf9b 100644 --- a/contrib/images/Makefile +++ b/contrib/images/Makefile @@ -8,10 +8,8 @@ babylond: babylond-rmi docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile ${BABYLON_FULL_PATH} babylond-e2e: - docker buildx build --platform linux/arm64 \ - --tag babylonlabs-io/babylond:latest \ - -f babylond/Dockerfile ${BABYLON_FULL_PATH} \ - --build-arg BABYLON_BUILD_OPTIONS="testnet" + docker build --tag babylonlabs-io/babylond -f babylond/Dockerfile ${BABYLON_FULL_PATH} \ + --build-arg BABYLON_BUILD_OPTIONS="testnet" babylond-rmi: docker rmi babylonlabs-io/babylond --force 2>/dev/null; true