Releases: maticnetwork/bor
v1.0.6-beta-txpool
This patch restores majority part of txpool implementation from Geth.
Only for testing purpose. Do not use.
v1.1.0-beta3
This release contains some patch fixes on top of previously released versions for the Agra Hardfork for the Mumbai testnet. Note that this is an optional release and doesn't affect the underlying changes for the hard fork. Those running on old v1.1.0-beta
or v1.1.0-beta2
version will also support the hard fork.
The changes for Mumbai Agra hard fork includes selected Shanghai EIPs(EIP-3651: Warm COINBASE, EIP-3855: PUSH0 instruction, EIP-3860: Limit and meter initcode, EIP-6049: Deprecate SELFDESTRUCT), StateSyncReceiver Contract Bytecode changes, New EIP1559 burn contract address change. The hard fork will kick in at block 41874000 and is expected to mine on 31st October, 2023.
Patch notes
- Handle nil blocks and state access when RPC called using 'pending' tag (#1053)
- Better error and withdrawals handling for Shanghai hard fork (#1054, #1056)
- Fix key value lookup while reading bor config (#1055)
- Selectively log message execution failed on contract on bor (b88d00c)
Breaking changes (for those upgrading from v1.0.6)
Bor will now overwrite the config.toml flag values if the flag is explicitly set via cli arguments. This is a breaking change only for those using a combination of both as flags provided by cli arguments will be prioritised above config.toml values. Earlier config.toml flag values were prioritised.
The order of flag will now be as follows:
- If set in cli args, use that value
- If not set in cli args and set in config, use that value
- If not set in any of them, use default value
Example:
If the toml config looks something like this:
chain = "mainnet"
identity = "Anon"
datadir = "config_datadir"
### More values
and the user runs the following command
bor server --config=config.toml --datadir=cli_datadir
Until now, bor would set the datadir
the value mentioned in config i.e. config_datadir
. With this version onwards, the value set for datadir
would be cli_datadir
.
What's Changed
- Backport master to develop after v1.0.4 by @pratikspatil024 in #1013
- internal/cli: add support to overwrite config.toml values via cli flags by @manav2401 in #1008
- update discord links by @anshalshukla in #1015
- backport-master-to-develop by @marcello33 in #1029
- backport/master-to-develop by @marcello33 in #1032
- mainnet recommended peer settings by @marcello33 in #1034
- mardizzone/master-to-develop by @marcello33 in #1035
- worker: (Block-STM) Do not hardcode EnableMVHashMap as false by @pratikspatil024 in #1039
- Fix Codecov and add integration tests coverage by @0xsharma in #1020
- Add CodeQL by @marcello33 in #1037
- add : agra HF mumbai block by @0xsharma in #1044
- bump peppermint and cosmos-sdk to latest polygon releases by @marcello33 in #1045
- chg : withdrawals check in bor consensus by @0xsharma in #1049
- Shanghai/Agra HF by @0xsharma in #1025
- internal/cli: set default value for keystore by @manav2401 in #1051
- eth: handle nil blocks and state when pending is not available by @manav2401 in #1053
- bor: make withdrawal objects nil by @anshalshukla in #1054
- Shanghai fixes by @anshalshukla in #1056
- params: fix bor key-value config look-up by @yperbasis in #1055
New Contributors
- @yperbasis made their first contribution in #1055
Full Changelog: v1.0.6...v1.1.0-beta3
v1.1.0-beta2
In this version, we implement changes for Agra Hardfork. The changes include selected Shanghai EIPs(EIP-3651: Warm COINBASE, EIP-3855: PUSH0 instruction, EIP-3860: Limit and meter initcode, EIP-6049: Deprecate SELFDESTRUCT), StateSyncReceiver Contract Bytecode changes, New EIP1559 burn contract address change.
Patch notes
Contains fix to an issue which caused empty value usage of the keystore directory flag (#1051)
Breaking changes
Bor will now overwrite the config.toml flag values if the flag is explicitly set via cli arguments. This is a breaking change only for those using a combination of both as flags provided by cli arguments will be prioritised above config.toml values. Earlier config.toml flag values were prioritised.
The order of flag will now be as follows:
- If set in cli args, use that value
- If not set in cli args and set in config, use that value
- If not set in any of them, use default value
Example:
If the toml config looks something like this:
chain = "mainnet"
identity = "Anon"
datadir = "config_datadir"
### More values
and the user runs the following command
bor server --config=config.toml --datadir=cli_datadir
Until now, bor would set the datadir
the value mentioned in config i.e. config_datadir
. With this version onwards, the value set for datadir
would be cli_datadir
.
What's Changed
- Backport master to develop after v1.0.4 by @pratikspatil024 in #1013
- internal/cli: add support to overwrite config.toml values via cli flags by @manav2401 in #1008
- update discord links by @anshalshukla in #1015
- backport-master-to-develop by @marcello33 in #1029
- backport/master-to-develop by @marcello33 in #1032
- mainnet recommended peer settings by @marcello33 in #1034
- mardizzone/master-to-develop by @marcello33 in #1035
- worker: (Block-STM) Do not hardcode EnableMVHashMap as false by @pratikspatil024 in #1039
- Fix Codecov and add integration tests coverage by @0xsharma in #1020
- Add CodeQL by @marcello33 in #1037
- add : agra HF mumbai block by @0xsharma in #1044
- bump peppermint and cosmos-sdk to latest polygon releases by @marcello33 in #1045
- chg : withdrawals check in bor consensus by @0xsharma in #1049
- Shanghai/Agra HF by @0xsharma in #1025
- internal/cli: set default value for keystore by @manav2401 in #1051
Full Changelog: v1.0.6...v1.1.0-beta2
v1.1.0-beta
In this version, we implement changes for Agra Hardfork. The changes include selected Shanghai EIPs(EIP-3651: Warm COINBASE, EIP-3855: PUSH0 instruction, EIP-3860: Limit and meter initcode, EIP-6049: Deprecate SELFDESTRUCT), StateSyncReceiver Contract Bytecode changes, New EIP1559 burn contract address change.
Breaking changes
Bor will now overwrite the config.toml flag values if the flag is explicitly set via cli arguments. This is a breaking change only for those using a combination of both as flags provided by cli arguments will be prioritised above config.toml values. Earlier config.toml flag values were prioritised.
The order of flag will now be as follows:
- If set in cli args, use that value
- If not set in cli args and set in config, use that value
- If not set in any of them, use default value
Example:
If the toml config looks something like this:
chain = "mainnet"
identity = "Anon"
datadir = "config_datadir"
### More values
and the user runs the following command
bor server --config=config.toml --datadir=cli_datadir
Until now, bor would set the datadir
the value mentioned in config i.e. config_datadir
. With this version onwards, the value set for datadir
would be cli_datadir
.
What's Changed
- Backport master to develop after v1.0.4 by @pratikspatil024 in #1013
- internal/cli: add support to overwrite config.toml values via cli flags by @manav2401 in #1008
- update discord links by @anshalshukla in #1015
- backport-master-to-develop by @marcello33 in #1029
- backport/master-to-develop by @marcello33 in #1032
- mainnet recommended peer settings by @marcello33 in #1034
- mardizzone/master-to-develop by @marcello33 in #1035
- worker: (Block-STM) Do not hardcode EnableMVHashMap as false by @pratikspatil024 in #1039
- Fix Codecov and add integration tests coverage by @0xsharma in #1020
- Add CodeQL by @marcello33 in #1037
- add : agra HF mumbai block by @0xsharma in #1044
- bump peppermint and cosmos-sdk to latest polygon releases by @marcello33 in #1045
- chg : withdrawals check in bor consensus by @0xsharma in #1049
- Shanghai/Agra HF by @0xsharma in #1025
Full Changelog: v1.0.6...v1.1.0-beta
v1.0.6
This patch version apply some minor fixes compared to the previous v1.0.5
release
What's Changed
- fix : wrong chainID on rpc by @0xsharma in #1030
- build(deps): bump github.com/consensys/gnark-crypto from 0.9.1-0.20230105202408-1a7a29904a7c to 0.12.0 by @dependabot in #1028
- build(deps): bump github.com/supranational/blst from 0.3.8-0.20220526154634-513d2456b344 to 0.3.11 by @dependabot in #953
- bump version by @marcello33 in #1031
Full Changelog: v1.0.5...v1.0.6
v1.0.5
This patch release addresses some minor fixes encountered with latest v1.0.4
version, and implement some new small features.
What's Changed
- fix : borTx chainID by @0xsharma in #1021
- Added locks to the tracer by @pratikspatil024 in #1022
- eth, consensus/bor: handle 503 status code in heimdall client by @manav2401 in #1023
- Add more mainnet bootnodes by @manav2401 in #1026
- dev: chg: solve vulns by @marcello33 in #1024
- V1.0.5 release candidate by @marcello33 in #1027
Full Changelog: v1.0.4...v1.0.5
v1.0.4
This version introduces several new features and fixes compared to the previous stable version v0.4.0. The changes include (but are not limited to):
- Upstream merge from go-ethereum/v1.11.6
- A new feature called milestone which will bring faster and deterministic finality. Refer to PIP-11 for more information.
What's Changed
- Use
big.Int#Set
instead ofbig.Int#SetBytes
when possible by @maoueh in #896 - Fixed MVHashMap being enabled even when paralellUniverse is set to 0 by @pratikspatil024 in #900
- dev: chg: pos-1465: remove snyk and sonarqube by @marcello33 in #908
- Master to develop (after v0.4.0) by @pratikspatil024 in #921
- core,eth,miner: fix initial test cases by @Raneet10 in #922
- core,eth: fix TestDeduplication, TestSyncAccountPerformance, TestTrac… by @Raneet10 in #924
- Fix worker
nil
pointer exception because ofbaseFee == nil
by @maoueh in #899 - Move NumSpeculativeProcs from module variable to function parameter by @cffls in #931
- Calculate tx dependency only when mining is enabled by @cffls in #935
- mardizzone/POS-1605: go and deps upgrade by @marcello33 in #929
- rpc: add execution pool metrics by @manav2401 in #919
- Moved TxDependency Metadata to ExtraData in Block Header by @pratikspatil024 in #930
- fix : runtime testcases by @0xsharma in #910
- fix typos by @criadoperez in #927
- Update discord link in README.md by @anshalshukla in #938
- Upstream merge from go-ethereum/v1.11.6 by @marcello33 in #901
- Revert "Upstream merge from go-ethereum/v1.11.6" by @0xsharma in #948
- Upstream merge from go-ethereum/v1.11.6 by @0xsharma in #949
- Fixes for bootnode by @djpolygon in #950
- graphql: dev: chg: avoid greedy allocation on graphql blocks call by @marcello33 in #958
- exempt draft PRs by @temaniarpit27 in #962
- metrics/prometheus: fix count field of metric by @manav2401 in #965
- Disable shuffling in unit test by @cffls in #954
- fix: Improve RETESTBOR.md document formatting by @ForwardSlashBack in #960
- internal/cli: add db.engine flag by @anshalshukla in #964
- ethclient: use
bor_getRootHash
instead of eth namespace by @manav2401 in #967 - add : statesync execution verbosity by @0xsharma in #947
- internal/cli: fix
db.engine
key naming for config files by @manav2401 in #969 - Adding fix for postrm removing the config.toml and service file by @djpolygon in #951
- log cleanup by @manav2401 in #970
- all: implement milestones by @temaniarpit27 in #961
- fix : eth_getLogs by @0xsharma in #975
- Arpit/merge latest branch by @temaniarpit27 in #978
- EOL 18.04 Support by @djpolygon in #980
- build(deps): bump github.com/docker/docker from 1.6.2 to v24.0.5+incompatible by @dependabot in #963
- miner/worker :: add : start commit work only after connecting to peers by @0xsharma in #977
- .github/workflows: run more parallel CI jobs by @manav2401 in #976
- CI: Increase smoke test timeout by @Raneet10 in #987
- Merge v0.5.0 into master by @0xsharma in #982
- Revert "Merge v0.5.0 into master" by @0xsharma in #995
- Merge v0.5.0 into master by @0xsharma in #996
- Update mainnet bootnodes by @cffls in #997
- Add CLI flags to config LevelDB table/total sizes by @rroblak in #981
- V1.0.0 beta candidate by @VAIBHAVJINDAL3012 in #998
- Added a new RPC endpoint (
bor_sendRawTransactionConditional
) to support EIP-4337 Bundled Transactions by @pratikspatil024 in #945 - Fixed Panic - Added RLock on pool.pendingMu in validateTxBasics() by @pratikspatil024 in #1001
- Use borLogs instead of default by @0xKrishna in #1000
- Simplify readme by @manav2401 in #979
- Enable prometheus in bootnode by @cffls in #1004
- Stop execution pool in rpc handler by @cffls in #1005
- Fix panic - added mutex to trie.tracer by @pratikspatil024 in #1007
- develop to candidate by @pratikspatil024 in #1009
- 1.0.2 beta candidate to master by @pratikspatil024 in #1010
New Contributors
- @criadoperez made their first contribution in #927
- @ForwardSlashBack made their first contribution in #960
- @rroblak made their first contribution in #981
Full Changelog: v0.4.0...v1.0.4
v1.0.4-beta
This version introduces several new features and fixes compared to the previous stable version v0.4.0. The changes include (but are not limited to):
- Upstream merge from go-ethereum/v1.11.6
- A new feature called milestone which will bring faster and deterministic finality. Refer to PIP-11 for more information.
Patch Notes
Compared to the last beta release (v1.0.2-beta) this version includes patches for (and some additional improvements):
- Panic caused by concurrent map read and map write (introduced during the upstream merge). PR#1007.
- Potential goroutine leak caused by metric goutine created by each execution pool. PR#1005.
- Simplify the contents of the readme and remove unnecessary details. PR#979.
What's Changed
- Use
big.Int#Set
instead ofbig.Int#SetBytes
when possible by @maoueh in #896 - Fixed MVHashMap being enabled even when paralellUniverse is set to 0 by @pratikspatil024 in #900
- dev: chg: pos-1465: remove snyk and sonarqube by @marcello33 in #908
- Master to develop (after v0.4.0) by @pratikspatil024 in #921
- core,eth,miner: fix initial test cases by @Raneet10 in #922
- core,eth: fix TestDeduplication, TestSyncAccountPerformance, TestTrac… by @Raneet10 in #924
- Fix worker
nil
pointer exception because ofbaseFee == nil
by @maoueh in #899 - Move NumSpeculativeProcs from module variable to function parameter by @cffls in #931
- Calculate tx dependency only when mining is enabled by @cffls in #935
- mardizzone/POS-1605: go and deps upgrade by @marcello33 in #929
- rpc: add execution pool metrics by @manav2401 in #919
- Moved TxDependency Metadata to ExtraData in Block Header by @pratikspatil024 in #930
- fix : runtime testcases by @0xsharma in #910
- fix typos by @criadoperez in #927
- Update discord link in README.md by @anshalshukla in #938
- Upstream merge from go-ethereum/v1.11.6 by @marcello33 in #901
- Revert "Upstream merge from go-ethereum/v1.11.6" by @0xsharma in #948
- Upstream merge from go-ethereum/v1.11.6 by @0xsharma in #949
- Fixes for bootnode by @djpolygon in #950
- graphql: dev: chg: avoid greedy allocation on graphql blocks call by @marcello33 in #958
- exempt draft PRs by @temaniarpit27 in #962
- metrics/prometheus: fix count field of metric by @manav2401 in #965
- Disable shuffling in unit test by @cffls in #954
- fix: Improve RETESTBOR.md document formatting by @ForwardSlashBack in #960
- internal/cli: add db.engine flag by @anshalshukla in #964
- ethclient: use
bor_getRootHash
instead of eth namespace by @manav2401 in #967 - add : statesync execution verbosity by @0xsharma in #947
- internal/cli: fix
db.engine
key naming for config files by @manav2401 in #969 - Adding fix for postrm removing the config.toml and service file by @djpolygon in #951
- log cleanup by @manav2401 in #970
- all: implement milestones by @temaniarpit27 in #961
- fix : eth_getLogs by @0xsharma in #975
- Arpit/merge latest branch by @temaniarpit27 in #978
- EOL 18.04 Support by @djpolygon in #980
- build(deps): bump github.com/docker/docker from 1.6.2 to v24.0.5+incompatible by @dependabot in #963
- miner/worker :: add : start commit work only after connecting to peers by @0xsharma in #977
- .github/workflows: run more parallel CI jobs by @manav2401 in #976
- CI: Increase smoke test timeout by @Raneet10 in #987
- Update mainnet bootnodes by @cffls in #997
- Add CLI flags to config LevelDB table/total sizes by @rroblak in #981
- V1.0.0 beta candidate by @VAIBHAVJINDAL3012 in #998
- Added a new RPC endpoint (
bor_sendRawTransactionConditional
) to support EIP-4337 Bundled Transactions by @pratikspatil024 in #945 - Fixed Panic - Added RLock on pool.pendingMu in validateTxBasics() by @pratikspatil024 in #1001
- Use borLogs instead of default by @0xKrishna in #1000
- Enable prometheus in bootnode by @cffls in #1004
- Stop execution pool in rpc handler by @cffls in #1005
- Fix panic - added mutex to trie.tracer by @pratikspatil024 in #1007
New Contributors
- @criadoperez made their first contribution in #927
- @ForwardSlashBack made their first contribution in #960
- @rroblak made their first contribution in #981
Full Changelog: v0.4.0...v1.0.4-beta
v1.0.3-beta
This version introduces several new features and fixes compared to the previous stable version v0.4.0. The changes include (but are not limited to):
- Upstream merge from go-ethereum/v1.11.6
- A new feature called milestone which will bring faster and deterministic finality. Refer to PIP-11 for more information.
Patch Notes
Compared to the last beta release (v1.0.2-beta) this version includes patches for:
- Fixing
eth_getLogs
for state-sync txns - Panic caused by concurrent map read and map write (introduced during the upstream merge).
What's Changed
- Use
big.Int#Set
instead ofbig.Int#SetBytes
when possible by @maoueh in #896 - Fixed MVHashMap being enabled even when paralellUniverse is set to 0 by @pratikspatil024 in #900
- dev: chg: pos-1465: remove snyk and sonarqube by @marcello33 in #908
- Master to develop (after v0.4.0) by @pratikspatil024 in #921
- core,eth,miner: fix initial test cases by @Raneet10 in #922
- core,eth: fix TestDeduplication, TestSyncAccountPerformance, TestTrac… by @Raneet10 in #924
- Fix worker
nil
pointer exception because ofbaseFee == nil
by @maoueh in #899 - Move NumSpeculativeProcs from module variable to function parameter by @cffls in #931
- Calculate tx dependency only when mining is enabled by @cffls in #935
- mardizzone/POS-1605: go and deps upgrade by @marcello33 in #929
- rpc: add execution pool metrics by @manav2401 in #919
- Moved TxDependency Metadata to ExtraData in Block Header by @pratikspatil024 in #930
- fix : runtime testcases by @0xsharma in #910
- fix typos by @criadoperez in #927
- Update discord link in README.md by @anshalshukla in #938
- Upstream merge from go-ethereum/v1.11.6 by @marcello33 in #901
- Revert "Upstream merge from go-ethereum/v1.11.6" by @0xsharma in #948
- Upstream merge from go-ethereum/v1.11.6 by @0xsharma in #949
- Fixes for bootnode by @djpolygon in #950
- graphql: dev: chg: avoid greedy allocation on graphql blocks call by @marcello33 in #958
- exempt draft PRs by @temaniarpit27 in #962
- metrics/prometheus: fix count field of metric by @manav2401 in #965
- Disable shuffling in unit test by @cffls in #954
- fix: Improve RETESTBOR.md document formatting by @ForwardSlashBack in #960
- internal/cli: add db.engine flag by @anshalshukla in #964
- ethclient: use
bor_getRootHash
instead of eth namespace by @manav2401 in #967 - add : statesync execution verbosity by @0xsharma in #947
- internal/cli: fix
db.engine
key naming for config files by @manav2401 in #969 - Adding fix for postrm removing the config.toml and service file by @djpolygon in #951
- log cleanup by @manav2401 in #970
- all: implement milestones by @temaniarpit27 in #961
- fix : eth_getLogs by @0xsharma in #975
- Arpit/merge latest branch by @temaniarpit27 in #978
- EOL 18.04 Support by @djpolygon in #980
- build(deps): bump github.com/docker/docker from 1.6.2 to v24.0.5+incompatible by @dependabot in #963
- miner/worker :: add : start commit work only after connecting to peers by @0xsharma in #977
- .github/workflows: run more parallel CI jobs by @manav2401 in #976
- CI: Increase smoke test timeout by @Raneet10 in #987
- Update mainnet bootnodes by @cffls in #997
- Add CLI flags to config LevelDB table/total sizes by @rroblak in #981
- V1.0.0 beta candidate by @VAIBHAVJINDAL3012 in #998
- Added a new RPC endpoint (
bor_sendRawTransactionConditional
) to support EIP-4337 Bundled Transactions by @pratikspatil024 in #945 - Fixed Panic - Added RLock on pool.pendingMu in validateTxBasics() by @pratikspatil024 in #1001
- Use borLogs instead of default by @0xKrishna in #1000
New Contributors
- @criadoperez made their first contribution in #927
- @ForwardSlashBack made their first contribution in #960
- @rroblak made their first contribution in #981
Full Changelog: v0.4.0...v1.0.3-beta
v1.0.2-beta
This version introduces several new features and fixes compared to the previous stable version v0.5.0.
Patch Notes
Compared to last beta release (v1.0.1-beta
) this version includes one more PR which adds new RPC endpoint (bor_sendRawTransactionConditional
) to support EIP-4337 Bundled Transactions. Refer to PIP-15 for more information.
What's Changed
- Fixes for bootnode by @djpolygon in #950
- graphql: dev: chg: avoid greedy allocation on graphql blocks call by @marcello33 in #958
- exempt draft PRs by @temaniarpit27 in #962
- Disable shuffling in unit test by @cffls in #954
- fix: Improve RETESTBOR.md document formatting by @ForwardSlashBack in #960
- internal/cli: add db.engine flag by @anshalshukla in #964
- ethclient: use
bor_getRootHash
instead of eth namespace by @manav2401 in #967 - add : statesync execution verbosity by @0xsharma in #947
- internal/cli: fix
db.engine
key naming for config files by @manav2401 in #969 - Adding fix for postrm removing the config.toml and service file by @djpolygon in #951
- log cleanup by @manav2401 in #970
- all: implement milestones by @temaniarpit27 in #961
- Arpit/merge latest branch by @temaniarpit27 in #978
- EOL 18.04 Support by @djpolygon in #980
- build(deps): bump github.com/docker/docker from 1.6.2 to v24.0.5+incompatible by @dependabot in #963
- miner/worker :: add : start commit work only after connecting to peers by @0xsharma in #977
- .github/workflows: run more parallel CI jobs by @manav2401 in #976
- CI: Increase smoke test timeout by @Raneet10 in #987
- Update mainnet bootnodes by @cffls in #997
- Add CLI flags to config LevelDB table/total sizes by @rroblak in #981
- V1.0.0 beta candidate by @VAIBHAVJINDAL3012 in #998
- Added a new RPC endpoint (
bor_sendRawTransactionConditional
) to support EIP-4337 Bundled Transactions by @pratikspatil024 in #945
New Contributors
- @ForwardSlashBack made their first contribution in #960
- @rroblak made their first contribution in #981
Full Changelog: v0.5.0...v1.0.2-beta