From e23c08c08d5daf903434242b042da1175777e5be Mon Sep 17 00:00:00 2001 From: Annie <108039750+annielz@users.noreply.github.com> Date: Tue, 28 Oct 2025 14:02:52 +0800 Subject: [PATCH] feat: modify gvg withdraw and dockerfile and prepare for v1.10.5 (#668) * feat: modify gvg withdraw and dockerfile * feat: add tmp docker ci * feat: update docker tag name * Revert "feat: update docker tag name" This reverts commit e8606543b105632780ee93b58612abbdff35d046. * Revert "feat: add tmp docker ci" This reverts commit 9c6b73e0a4d6681ec9c9af564d7c49bfc65c198b. * feat: prepare for v1.10.5 --- CHANGELOG.md | 12 ++++++++++++ Dockerfile | 2 +- x/virtualgroup/keeper/msg_server.go | 8 +++++--- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91797330b..dd67eecf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## V1.10.5 +This release contains 2 new feature + +Features: +* [#659] https://github.com/bnb-chain/greenfield/pull/659 feat: dep update +* [#668] https://github.com/bnb-chain/greenfield/pull/668 feat: modify gvg withdraw and dockerfile and prepare for v1.10.5 + + +## V1.10.4 +This release introduces the Tundra upgrade. +* [#661] https://github.com/bnb-chain/greenfield/pull/661 fix: fix a data issue in virtual group + ## V1.10.1 This release contains 1 new feature diff --git a/Dockerfile b/Dockerfile index cbb1b0155..bbecb2c71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ ARG USER_GID=1000 ENV CGO_CFLAGS="-O -D__BLST_PORTABLE__" ENV CGO_CFLAGS_ALLOW="-O -D__BLST_PORTABLE__" -ENV PACKAGES ca-certificates libstdc++ +ENV PACKAGES ca-certificates libstdc++ curl jq bash ENV WORKDIR=/app RUN apk add --no-cache $PACKAGES \ diff --git a/x/virtualgroup/keeper/msg_server.go b/x/virtualgroup/keeper/msg_server.go index 59d193d69..2df550c6b 100644 --- a/x/virtualgroup/keeper/msg_server.go +++ b/x/virtualgroup/keeper/msg_server.go @@ -300,9 +300,11 @@ func (k msgServer) Withdraw(goCtx context.Context, req *types.MsgWithdraw) (*typ } if err := ctx.EventManager().EmitTypedEvents(&types.EventUpdateGlobalVirtualGroup{ - Id: req.GlobalVirtualGroupId, - StoreSize: gvg.StoredSize, - TotalDeposit: gvg.TotalDeposit, + Id: req.GlobalVirtualGroupId, + PrimarySpId: gvg.PrimarySpId, + StoreSize: gvg.StoredSize, + TotalDeposit: gvg.TotalDeposit, + SecondarySpIds: gvg.SecondarySpIds, }); err != nil { return nil, err }