Skip to content

Commit

Permalink
Merge pull request #1015 from bnb-chain/fix/panic_event
Browse files Browse the repository at this point in the history
fix: publish ChainUndelegate event and ledger sig issue
  • Loading branch information
unclezoro authored Mar 5, 2024
2 parents 3c72c85 + b7eb215 commit 911507e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog

## v0.10.19
This is the bug-fix release for the sunset of BNB Beacon Chain.

FEATURES
* [\#1015](https://github.com/bnb-chain/node/pull/1015) [fix] fix: publish ChainUndelegate event and ledger sig issue

## v0.10.18
This is the buf-fix release for the sunset of BNB Beacon Chain.
This is the bug-fix release for the sunset of BNB Beacon Chain.

FEATURES
* [\#1014](https://github.com/bnb-chain/node/pull/1014) [fix] fix: publish completed UnbondingDelegation events to kafka in EndBlock
Expand Down
6 changes: 5 additions & 1 deletion app/pub/sub/stake.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ func SubscribeStakeEvent(sub *pubsub.Subscriber) error {
stagingArea.StakeData.appendDelegateEvent(e.ChainId, e.DelegateEvent)
case stake.ChainUndelegateEvent:
sub.Logger.Debug(fmt.Sprintf("undelegate event: %v \n", e))
stagingArea.StakeData.appendUnDelegateEvent(e.ChainId, e.UndelegateEvent)
if e.IsFromTx {
stagingArea.StakeData.appendUnDelegateEvent(e.ChainId, e.UndelegateEvent)
} else {
toPublish.EventData.StakeData.appendUnDelegateEvent(e.ChainId, e.UndelegateEvent)
}
case stake.ChainRedelegateEvent:
sub.Logger.Debug(fmt.Sprintf("redelegate event: %v \n", e))
stagingArea.StakeData.appendReDelegateEvent(e.ChainId, e.RedelegateEvent)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ require (

replace (
github.com/Shopify/sarama v1.26.1 => github.com/Shopify/sarama v1.21.0
github.com/cosmos/cosmos-sdk => github.com/bnb-chain/bnc-cosmos-sdk v0.26.8
github.com/cosmos/cosmos-sdk => github.com/bnb-chain/bnc-cosmos-sdk v0.26.9
github.com/grpc-ecosystem/grpc-gateway/v2 => github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20210702154020-550e1cd83ec1
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
github.com/tendermint/go-amino => github.com/bnb-chain/bnc-go-amino v0.14.1-binance.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJm
github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40/go.mod h1:8rLXio+WjiTceGBHIoTvn60HIbs7Hm7bcHjyrSqYB9c=
github.com/bnb-chain/bnc-cosmos-sdk v0.26.8 h1:YmkqrGKzzWzd5uV46Yem1+docY4hi3aNeCsxGUORzbg=
github.com/bnb-chain/bnc-cosmos-sdk v0.26.8/go.mod h1:OjdXpDHofs6gcPLM9oGD+mm8DPc6Lsevz0Kia53zt3Q=
github.com/bnb-chain/bnc-cosmos-sdk v0.26.9 h1:rglV9TGVoifbiEIOfBdfJy4GLXm16L6/zjoJduxEou8=
github.com/bnb-chain/bnc-cosmos-sdk v0.26.9/go.mod h1:OjdXpDHofs6gcPLM9oGD+mm8DPc6Lsevz0Kia53zt3Q=
github.com/bnb-chain/bnc-go-amino v0.14.1-binance.2 h1:iAlp9gqG0f2LGAauf3ZiijWlT6NI+W2r9y70HH9LI3k=
github.com/bnb-chain/bnc-go-amino v0.14.1-binance.2/go.mod h1:LiCO7jev+3HwLGAiN9gpD0z+jTz95RqgSavbse55XOY=
github.com/bnb-chain/bnc-tendermint v0.32.3-bc.10 h1:E4iSwEbJCLYchHiHE1gnOM3jjmJXLBxARhy/RCl8CpI=
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var (
Version string
)

const NodeVersion = "v0.10.16"
const NodeVersion = "v0.10.19"

func init() {
Version = fmt.Sprintf("BNB Beacon Chain Release: %s;", NodeVersion)
Expand Down

0 comments on commit 911507e

Please sign in to comment.