Skip to content

Releases: bnb-chain/bsc

v1.1.22

12 Apr 07:31
82e38f6
Compare
Choose a tag to compare
v1.1.22 Pre-release
Pre-release

Warning: this release has a potential bug, could cause crash in certain case.
Don't use this release!!!
Don't use this release!!!
Don't use this release!!!

Changelog

FEATURE

  • #1361 cmd/faucet: merge ipfaucet2 branch to develop

IMPROVEMENT

  • #1412 fix: init-network with config.toml without setting TimeFormat
  • #1401 log: support custom time format configuration
  • #1382 consnesus/parlia: abort sealing when block in the same height has updated
  • #1383 miner: no need to broadcast sidechain header mined by this validator

BUGFIX

  • #1379 UT: fix some flaky tests
  • #1403 Makefile: fix devtools install error
  • #1381 fix: snapshot generation issue after chain reinit from a freezer

Assets

Assets Sha256 Checksum
mainnet.zip 13563cb06b18accd4b3b9df43ca94ffcef56992c56dc479c9bfe4a74ab72caba
testnet.zip bea96c7577f7ff8fe25384a3975059350fe2955e5b953180b26bc8944b6b9542
geth_linux 47b7db97ff73b5d5bd20b72b27f1cf74e98ac1593980262f21f659563f4cb405
geth_mac 4e1aa067eca311a6bbd0a1db7b08f29bbfd978f4241b96cd8713ea5cdfba42fd
geth_windows 9355b1eab9e94d2d835721d15aea3ba35c3b8e82596f0b27b83364df3895d4a5
geth_linux_arm-5 9d818b73b1a6697a128f66029e1b78ffa8964bb54406bd72aeff60a74c6a28a5
geth_linux_arm-6 a58a463149d0438d2a58791fc5fd451247a19ef3a45b3fd3bbc8f242e717f06c
geth_linux_arm-7 8e9dafad7037fe243ae2e0afdac4a016cc9930356a6a92d6dd5c642d1f06cd96
geth_linux_arm64 dcdb4735799617cfc4013eeb5cc3ed0f1a09306e7d10feced8bb44364ace2df3

v1.1.21

27 Mar 09:07
6e06ed1
Compare
Choose a tag to compare

v1.1.21 is a hard-fork release for BSC mainnet.

The mainnet is expected to have a scheduled hardfork upgrade named Planck at block height 27,281,024. The current block generation speed forecasts this to occur around 12th April 2023 at 05:30 AM (UTC).
The Planck hardfork includes 2 BEPs to enhance network stability and security:
BEP-171: Security Enhancement for Cross-Chain Module
BEP-172: Network Stability Enhancement On Slash Occur

The validators and full node operators on mainnet should switch their software version to v1.1.21 before 12th April 2023.

Changelog

FEATURE

  • #1389 upgrade: update the fork height of planck upgrade on mainnet

BUGFIX

  • #1354 fix: add some boundary check for security
  • #1373 tracer: enable withLog for TraceCall
  • #1377 miner: add fallthrough for switch cases

Assets

Assets Sha256 Checksum
mainnet.zip 13563cb06b18accd4b3b9df43ca94ffcef56992c56dc479c9bfe4a74ab72caba
testnet.zip bea96c7577f7ff8fe25384a3975059350fe2955e5b953180b26bc8944b6b9542
geth_linux 4ebfe29a3f08bfd7ccd10bffa98e96f50274d57514e4dc793b5f4ac03e3e045f
geth_mac 0096aadb8990bebd4f78f4eff99f4fca0b6fa956cac82d6ff4a7b736c4b85ded
geth_windows f5f0d458ac962fe60e3e206274732f7db56c38fa58dcac4fe3699e21529547a2
geth_linux_arm-5 2bb96f9d628d8a71a6c11d6a3d58ae72489d4a04f7c5c88cdf507ae6fc119bcc
geth_linux_arm-6 cd0fd6107171a778236a15b5f3035b4b9d76f5ae1cd8bd23d5c8a8c0cd64cca7
geth_linux_arm-7 d443a3aa684047671085d6a41aad3f22c1376ff9ec4ace6dd79b734aa7cd6615
geth_linux_arm64 ab736d6238c26189dbd1c81447540a155e8190a8a6eb6a0862dca574987cabf3

v1.1.20

15 Mar 11:59
fc4303c
Compare
Choose a tag to compare

v1.1.20 is a hard fork release for BSC Chapel testnet.

The Chapel testnet is expected to have a scheduled hard fork upgrade named Planck at block height 28,196,022. The current block generation speed forecasts this to occur around 20th Mar 2023 at 01:30 AM (UTC).
The Planck hardfork includes 2 BEPs to enhance network stability and security:
BEP-171: Security Enhancement for Cross-Chain Module
BEP-172: Network Stability Enhancement On Slash Occur

And the flag --diffsync is deprecated, since we have the fast node, which makes --diffsync not that useful. So we decide to remove it to keep the the sync logic simple. The flag has not been removed yet, but it only prints a warning message and do nothing. The flag could be totally removed in the following release.

The validators and full node operators on Chapel testnet should switch their software version to v1.1.20 before 20th Mar.

Changelog

FEATURE

  • #1322 cmd/utils/flags.go: --diffsync flag is deprecated
  • #1261 tracer: port call tracer withLog to bsc

IMPROVEMENT

  • #1337 clean: Remove support for Ethereum testnet
  • #1347 upgrade: update the fork height of planck upgrade on testnet
  • #1343 upgrade: update system contracts' code of planck upgrade
  • #1328 upgrade: update system contracts' code of testnet
  • #1162 consensus: fix slash bug when validator set changing
  • #1344 consensus: fix delete the 1st validator from snapshot.recents list
  • #1149 feats: add ics23 proof support for cross chain packages
  • #1333 sec: add proof ops check and key checker

BUGFIX

  • #1348 core/txpool: implement additional DoS defenses
  • #1356 fix: crash on nil access when TxPool shutdown

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip bea96c7577f7ff8fe25384a3975059350fe2955e5b953180b26bc8944b6b9542
geth_linux 8e5ed3e1351d1317f2f7b2039897ab875c3ddad6351676a1debaeacba32d5a8e
geth_mac 2621b3747059b1a4e41b7845c2f6cbcdab9b91053ac7cc90e902bc81edc56a48
geth_windows 7150d0513087a82594b1d33ec1d5a00e64524f85112f4013c7892da743aa552b
geth_linux_arm-5 95a5e3034eddab7f6fdc9430a86e0e4851e1723f8688e979c6da6cd6209e7f05
geth_linux_arm-6 0e23664f14b335d828955258399be8be4a2173cd15addb29a189451922e13a3a
geth_linux_arm-7 83be351916aa13d38964e249b05d44bc0dceba7d3c6562d9a5a0a8725a6d7d35
geth_linux_arm64 d7fd71b2005b7c025bc5ec12ac681ebbdcb5d5d71c2264f277734318905d1468

v1.1.19

13 Feb 06:21
6587671
Compare
Choose a tag to compare

This is a maintenance release, it includes several bug fixes and improvements. We upgraded the insecure packages in #1274, and fix the sync issue in #1301. It is recommended to upgrade to the v1.1.19 for security, and stability.

Double Sign Monitor

Add a header monitor to detect the header that was a double sign from the validator.

enable the monitor with flag --monitor.doublesign.
e.g. geth --config ... --datadir ... --monitor.doublesign

Changelog

FEATURE

  • #1199 mointor: implement double sign monitor

IMPROVEMENT

  • #1226 eth, trie: sync with upstream v1.10.26 to solve snap sync issues
  • #1212 metrics: add miner info into metrics server
  • #1240 Add NewBatchWithSize API for db and use this API for BloomIndexer.Commit()
  • #1254 ci: update unmaintained tools to use maintained tools
  • #1256 ci: disable CGO_ENABLED when building binary
  • #1274 dep: bump the version of several important library
  • #1294 parlia : add a check for the length of extraData.
  • #1298 dep: update tendermint to v0.31.14

Document

  • #1233 doc: update readme
  • #1245 comments: add comments to clarify flags and byte codes
  • #1266 docs: update the readme to latest
  • #1267 docs: minor fix about the readme
  • #1287 docs: minor fix on geth links

BUGFIX

  • #1253 fix comments: prune ancient compatibility, add prune ancient comments
  • #1301 fix: p2p sync with lagging peer
  • #1302 fix: eth fetcher re-queue issue

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip bea96c7577f7ff8fe25384a3975059350fe2955e5b953180b26bc8944b6b9542
geth_linux ad49b00a5df44fb67e0dc166a7cf02a02c67ab296d25e4ac3d56134567577c41
geth_mac d2e7a482557cccc645c171314b138001de472140f4a38e57fc493b89eb59646b
geth_windows 71580478ee9701c557f2aae30fe07813242cb5a1b1f11f625ebd01e35e9c0891
geth_linux_arm-5 65afd845513f151e807111524816da9d9d98d9020748cb387a4ca80a6ef1355b
geth_linux_arm-6 1f6be07c42ce02ba2897dc7288f4c93545dc6e94221451de0b478bebad872c5b
geth_linux_arm-7 241245d6be97363a927694b248e00382c313e0b68f899eccef59afb5ff82ca42
geth_linux_arm64 50aae5defb41cb5f4da462b5f86097c2daf945672ce9fb1c1e4393f6e038610f

v1.1.18_hf

01 Dec 09:27
cb9e50b
Compare
Choose a tag to compare

This is a hotfix version, which has fixed the problem that prometheus monitoring acquisition failed after v1.1.18 was merged.

Changelog

BUGFIX

  • #1217 metrics: build-info causes prom error
  • #1222 fix the label format of prometheus server

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip bea96c7577f7ff8fe25384a3975059350fe2955e5b953180b26bc8944b6b9542
geth_linux 1427ef4bc19e51fe9dead2d211ff6ebebe610cbbe7a0e1b35870f01cfed6473e
geth_mac f05379e7be49dc9b641c96413d947d16c2e6661854236a91e156785b445141f3
geth_windows ff19f9abb97e4dc864b09556248d219285b2da46ee4d231ff296a351c3e94ca9
geth_linux_arm-5 edf5a1eaed0f6bbe26e88bc59dbcb743364c540b1fe9b4d62923d1c2c1226b76
geth_linux_arm-6 db13429c1e061240a6e1e8b7bbb75855699613e1d07ba19e216bd7c833aab7f3
geth_linux_arm-7 4efd5a7890a1639f8fa15ce6eff4a70d5c283ad31db7c1aada736f6bc458a88f
geth_linux_arm64 a7ef543567c012622c9069b3687e413fa86a8465e6b80302803b303c5a71fd9d

v1.1.18

29 Nov 07:53
03ff299
Compare
Choose a tag to compare

v1.1.18 is a hard-fork release. The mainnet is expected to have a scheduled hardfork upgrade named Gibbs at block height 23,846,001. The current block generation speed forecasts this to occur around 12th Dec. 2022 at 10:00 AM (UTC). The validators and full node operators on Mainnet should switch their software version to v1.1.18 by 12th Dec.

This release fixes a critical severity security issue, which may all cause a non-maliciously, double-sign block. Special thanks to Ezkerrox for reporting this. All validators are encouraged to upgrade to the latest version as soon as possible.

Features

Before this release, the BNB holders could only stake their assets on the BNB Beacon Chain. It means that if their assets are on the BNB Smart Chain, they have to transfer their assets across-chain to the BNB Beacon Chain first, which is not user-friendly enough.

BEP-153 introduces a new staking system contract on the BSC side, all staking-related operations on the BSC side should be initiated through this contract, and then applied across-chain to BNB Beacon Chain through the native cross-chain communication mechanism. With this BEP, the BNB holders can stake on the BSC directly, and dApps can launch their staking service based on the protocol introduced by this BEP, which can diversify the BSC ecosystem.

Check BEP-153 for more details.

Changelog

IMPROVEMENT

  • #1209 metrics: add build info into metrics server
  • #1204 worker: NewTxsEvent and triePrefetch reuse in mining task
  • #1195 hardfork: update Gibbs fork height and system contract code
  • #1192 all: sync with upstream v1.10.22
  • #1186 worker: improvement of the current block generation logic to get more rewards
  • #1184 worker: remove pre-seal empty block
  • #1182 Parlia: Some updates of the miner worker
  • #1181 all: sync with upstream v1.10.21
  • #1177 core/forkid: refactor nextForkHash function
  • #1174 worker: some code enhancement on work.go
  • #1166 miner: disable enforceTip when get txs from txpool

BUGFIX

  • #1201 worker: add double sign check for safety
  • #1185 worker: fix a bug of the delay timer

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip c9c20ceb98911cc3fa7ceda3e5efbf17a3791fdc46f2f6ab13af7ac77f1a65eb
geth_linux f4e495a4aeb593f7494b19d017bd49956ac7529a28f739803d14b7349c5532fc
geth_mac aa767a63b1ec4eef776b837d6e231f90771cabc9fba3e9a07f416806b1e8de9f
geth_windows d07e34dae20f74465163a272cb9970d6fb9a3c497c1e0f6ba07239d91dce740e
geth_linux_arm-5 6f56c24ad241995aaa6253c61623294aaf58f150e147a4c2f3b2c8d6041949a9
geth_linux_arm-6 dce07f1765ad3646658b27e2f10755ec476f63a31a0b84a0a9f6fba34d2fc874
geth_linux_arm-7 98a34ec3266789d90cad73541ab66aded4ab71a6cf3df57fcabd4ba64d74c39c
geth_linux_arm64 54fce2ddfa11106d2b172edbe84f2c15037af93501bfa5a6695e283f401b635a

v1.1.17

02 Nov 12:19
790f6e7
Compare
Choose a tag to compare

Release v1.1.17 is a maintenance release, it includes several bug fixes.

Special thanks to BNB48Club for reporting the occasional slash issue and providing a quick patch #1145.

Changelog

IMPROVEMENT

  • #1114 typo: .github fix job name
  • #1126 ci: specify bind-tools version
  • #1140 p2p: upstream go-ethereum: use errors.Is for error comparison
  • #1141 all: prefer new(big.Int) over big.NewInt(0)
  • #1159 core: remove redundant func

BUGFIX

  • #1138 fix: upstream patches from go-ethereum 1.10.19
  • #1139 fix: upstream go-ethereum: fix duplicate fields names in the generted go struct
  • #1145 consensus: the newChainHead mights not be imported to Parlia.Snapshot
  • #1146 fix: upstream patches from go-ethereum 1.10.20

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip c9c20ceb98911cc3fa7ceda3e5efbf17a3791fdc46f2f6ab13af7ac77f1a65eb
geth_linux fb7ad7afcc680fb25136773232abfb2c41d09f8ae4b1f29ced04868b30137cdd
geth_mac c2494bc1d507a2d2f64dc5d4c197329927118f54d07bcdf0f19f5f2cf61e6611
geth_windows 2733c7fdede2d053a17d5eb12c04bbc3a63d835a609b5b84ab390d9d2053238e
geth_linux_arm-5 7cfa2666e1921cc3047b0b415b314a4b22d825adbe5d4d6f842c62294fd8348e
geth_linux_arm-6 a7f2073c485cd52ce183b3c819f23277bea7f1fa56ce400f06eff90f10d6cdc1
geth_linux_arm-7 28453e52378deafb6f560ebdb3f9c46758324ddf60d6be883a6a8fe3fe95fe20
geth_linux_arm64 1fec16a57dea753dd68c61e206a83964f654bd880d3a7a5f5e3e7e75627f7e14

v1.1.16

11 Oct 03:23
cb131fa
Compare
Choose a tag to compare

This release is a temporary urgent patch to mitigate the cross-chain infrastructure between Beacon Chain and Smart Chain so that the cross-chain can be re-enabled back. It is a hardfork release for both testnet and mainnet.

Mainnet: The hardfork upgrade named Moran is expected to happen at block height 22,107,423. The current block generation speed forecasts this to occur around 12 Oct. 2022 at 8:00 AM (UTC).

Testnet: The hardfork upgrade expected to happen at block height 23,603,940. The current block generation speed forecasts this to occur around 11 Oct. 2022 at 8:00 AM (UTC).

The changes include:

  • fix the vulnerability in the iavl hash check. This will eventually migrate to ICS23 spec.
  • introduce block header in sequence check in CrossChain Contract.
  • make relayer whitelisted to the genesis candidates. There will be further BEPs proposed on how to define the relayer candidates.
    Procedure to upgrade:

Upgrade Steps:

  • Download the binary in this page.
  • Stop your node if it is still in running.
  • Replace your old binary with the new one.
  • Start/Restart your node with the new binary.

Changelog

#1121 vm: add four proof verifier to fix the vulnerability in KeyValueMerkleProof

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip c9c20ceb98911cc3fa7ceda3e5efbf17a3791fdc46f2f6ab13af7ac77f1a65eb
geth_linux 92beee499e4bd44673abc0927c4495638f57f802364ffcda18f3327223f3ded6
geth_mac 7efce359d47f89cae204a4b263285b3e002851d3979daf5e38a93511129bd4bd
geth_windows fb7a688163be7d6d4226b290346fbebe1211db063a0e51c90ba75d30be5557a4

v1.1.15

07 Oct 04:00
f3fd0f8
Compare
Choose a tag to compare

BSC v1.1.15 is a hot fix and hard-fork release. The hard-fork height is 21962149.

In this release, several blacklist addresses are prohibited for further transactions due to the exploit.

Be Noted:

  1. All clients should upgrade to this version.
  2. All cross chain transfers (Beacon Chain <-> Smart Chain) will be stopped. If you really do cross chain transfers, your tokens will be frozen and released after the resume of relayers. If you do want to transfer your tokens to any side (Beacon Chain or Smart Chain), you can utilise central exchanges.

Upgrade Steps:

  1. Download the binary in this page.
  2. Stop your node if it is still in running.
  3. Replace your old binary with the new one.
  4. Start/Restart you node with new binary.

Changelog

#1109 nanofork: block exploitation accounts and suspend cross chain bridge related precompile contracts

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip c9c20ceb98911cc3fa7ceda3e5efbf17a3791fdc46f2f6ab13af7ac77f1a65eb
geth_linux 8724da3659a627e9ea86094e31e95fe12ba1eb8b362d2bb2f6c4786dd420ebba
geth_mac edf0f5da1408dc890dc5a28207dbcf6afc7a57e15bd20e9096e332a0700da871
geth_windows 415ef45227835c27d6e1ddc8930819e10466eb4a0e884878a751209743f1c463

v1.1.14

30 Sep 00:52
3354924
Compare
Choose a tag to compare

BSC v1.1.14 is a maintenance release that consists of several bug fixes.

Changelog

IMPROVEMENT

  • #1057 ci: allow merge pull request
  • #1063 ci: fix the pattern of commit lint

BUGFIX

  • #1062 test: fix TestOfflineBlockPrune failed randomly
  • #1076 bug: pick some patches from go-ethereum on v1.10.18
  • #1079 core: fix potential goroutine leak

Assets

Assets Sha256 Checksum
mainnet.zip 6dd6976b9c8d407e95ed99cd46f7badfa410f3f374ea3e360defab0f63fa3ed2
testnet.zip c9c20ceb98911cc3fa7ceda3e5efbf17a3791fdc46f2f6ab13af7ac77f1a65eb
geth_linux ff5e15cddcab6bd010a594587b4e058241c15a504bccfafae6d6c75064738539
geth_mac 0a7ceb1b9a2ab6bb07a49989d8866812edf6c8e8eebeb919b9cb693009bd4cf0
geth_windows 925c3aa68499bb06d64463d29bde670058301a4914efe87373bd47abcfc9baeb