Sunny
2cd0387cbe
test: Add EIP-2718 unit test for parlia ChainConfig
2023-06-13 18:35:32 +08:00
Matus Kysel
4560dc2f66
readme: add minimal compiler version
2023-06-13 10:25:07 +02:00
lx
3dca640303
config: use default fork config if not specified in config.toml ( #1654 )
2023-06-13 14:14:45 +08:00
Mister-EA
15c30b73f8
Merge pull request #1676 from bnb-chain/eip3529-tests-parlia
...
EIP-3529 (BEP-212) Unit tests for Parlia Config
2023-06-12 14:11:24 +02:00
Mister-EA
4a467ecc5f
Merge pull request #1686 from bnb-chain/refactor-eip3529-tests
...
eip3529tests: refactor tests
2023-06-12 11:54:13 +02:00
NathanBSC
38002f8a56
fix: set the signer of parlia to the most permissive one ( #1682 )
2023-06-12 13:31:18 +08:00
Mister-EA
b1fbb294ea
eip3529tests: refactor tests
2023-06-09 12:27:31 +02:00
NathanBSC
ff32314de0
fix: not double GasLimit of block upon London upgrade ( #1681 )
2023-06-08 17:32:07 +08:00
lx
53fef9e830
Merge pull request #1678 from brilliant-lx/leveldb_downgrade_master
...
release: draft release v1.2.5
v1.2.5
2023-06-08 17:18:22 +08:00
yutianwu
78ad049641
fix: check integer overflow when decode crosschain payload ( #1679 )
2023-06-08 14:40:10 +08:00
NathanBSC
cf9efe5761
fix: voting can only be enabled when mining ( #1671 )
2023-06-08 14:37:24 +08:00
larry.lx
dd5b69b863
release: prepare for release v1.2.5
2023-06-08 13:57:56 +08:00
lx
bc543bae67
goleveldb: downgrade the version for performance ( #1675 )
...
this PR: https://github.com/bnb-chain/bsc/pull/936 upgraded the goleveldb
indirectly, since it has dependency of prysm, which also depends on goleveldb indrectly.
But the new version has some performance issue on Databse Close, see:
https://github.com/syndtr/goleveldb/issues/434
So we need to rollback to the previous verison
2023-06-08 13:53:11 +08:00
lx
d6feb729c5
goleveldb: downgrade the version for performance ( #1675 )
...
this PR: https://github.com/bnb-chain/bsc/pull/936 upgraded the goleveldb
indirectly, since it has dependency of prysm, which also depends on goleveldb indrectly.
But the new version has some performance issue on Databse Close, see:
https://github.com/syndtr/goleveldb/issues/434
So we need to rollback to the previous verison
2023-06-08 11:58:15 +08:00
Mister-EA
a97f713286
parlia_tests: update comment
2023-06-07 16:11:30 +02:00
Mister-EA
4afd224350
core: add eip3529 tests for parlia config
2023-06-07 14:16:01 +02:00
Mister-EA
f316b1d086
params: introduce ParliaTestChainConfig
2023-06-07 14:10:00 +02:00
Ng Wei Han
e802c737ab
consensus, core/rawdb, miner: downgrade logs ( #1662 )
2023-05-31 22:01:28 +08:00
NathanBSC
b8dbf59155
fix: ungraceful shutdown caused by malicious Vote Monitor ( #1663 )
2023-05-31 19:35:10 +08:00
NathanBSC
86446edf55
feat: add a tool for submitting evidence of malicious voting ( #1660 )
...
* feat: add a tool for submitting evidence of malicious voting
2023-05-31 14:36:31 +08:00
NathanBSC
3d8753cae6
fix: remove naturally finality
2023-05-30 09:51:31 +08:00
Mister-EA
1036dc70be
core: port several London EIPs on BSC( #1422 )
...
Here is the list:
a.BEP-227: Implement EIP-3198: BASEFEE opcode
b.BEP-226: Implement EIP-1559 with base fee of 0
c.BEP-228: Implement EIP-3541: Prevent deploying contracts starting with 0xEF
d.BEP-212: Implement EIP-3529: Reduction in Refunds
2023-05-25 17:34:04 +08:00
lx
eaea77a21c
P2P: try to limit the connection number per IP address ( #1623 )
...
** by default, MaxPeersPerIp is same as MaxPeers
** no restriction on TrustedNode
** add test case: TestOptionMaxPeersPerIp
2023-05-25 08:57:02 +08:00
lx
11d16dff3c
readme: update the disk requirement to 2.5TB ( #1642 )
2023-05-23 22:35:04 +08:00
NathanBSC
8d763bc361
fix: support getFilterChanges after NewFinalizedHeaderFilter ( #1641 )
2023-05-23 20:18:42 +08:00
lx
3c5f54fc80
release: prepare for release v1.2.4 ( #1637 )
v1.2.4
2023-05-23 10:20:56 +08:00
lx
826f613c0d
upgrade: block height of Luban on mainnet ( #1636 )
2023-05-23 10:20:56 +08:00
lx
7b7d8c17fa
release: prepare for release v1.2.4 ( #1637 )
2023-05-22 21:29:24 +08:00
lx
bd8795d649
upgrade: block height of Luban on mainnet ( #1636 )
2023-05-22 18:53:09 +08:00
NathanBSC
1759c69f86
fix: getBlockByNumber support 'safe','finalized' when interact by ipc ( #1628 )
2023-05-22 11:32:34 +08:00
sunny2022da
08eab8b928
feature: Enable Berlin EIPs ( #1608 )
...
Enable following Berlin EIPs on BSC and introduce HertzBlock
** EIP-2565: ModExp Gas Cost
** EIP-2929: Gas cost increases for state access opcodes
** EIP-2718: Typed Transaction Envelope
** EIP-2930: Optional access lists
2023-05-19 21:32:10 +08:00
NathanBSC
bac626c39c
upgrade: avoid to modify RialtoGenesisHash when testing in rialtoNet ( #1621 )
2023-05-19 10:56:20 +08:00
larry.lx
060aba5813
readme: update full sync from genesis
2023-05-18 14:37:41 +08:00
NathanBSC
33e6f840d2
fix: log info when failed to verifyVoteAttestation
v1.2.3
2023-05-12 09:51:36 +08:00
NathanBSC
1b8ec07b2e
fix: log info when failed to verifyVoteAttestation
2023-05-11 16:49:30 +08:00
lx
e31260956d
Merge pull request #1601 from bnb-chain/develop
...
release: add another two patches into v1.2.3
2023-05-11 16:13:16 +08:00
NathanBSC
b0ad7428c2
feature: add malicious vote monitor ( #1597 )
2023-05-11 14:45:15 +08:00
NathanBSC
4cc78fd175
upgrade: update PlatoUpgrade contracts code ( #1600 )
2023-05-10 11:00:54 +08:00
lx
e22989f0db
Merge pull request #1596 from bnb-chain/develop
...
release: draft release v1.2.2
2023-05-09 12:13:49 +08:00
lx
b90b1f592b
release: prepare for release v1.2.2 ( #1595 )
2023-05-08 21:39:53 +08:00
minh-bq
4e2168566b
fix: recently signed check when slashing unavailable validator ( #1547 )
...
The first validator in snap.Recents is shifted out and allowed to seal the block
already. However, when determining if we should slash the validator in Finalize
and FinalizeAndAssemble, we mark that first validator as unable to seal block
and don't slash this validator. This commit fixes that bug and creates a
separate helper function to check if the validator recently signed a block for
consistency in all places the check happens.
2023-05-08 21:15:14 +08:00
lx
1fed0df8c2
upgrade: block height of Plato on testnet ( #1594 )
2023-05-08 17:45:17 +08:00
Roshan
7e1590c928
upgrade: update PlatoUpgrade contracts code ( #1592 )
2023-05-08 17:27:40 +08:00
Matus Kysel
031fce3c92
p2p/discover: implement ENR node filtering ( #1320 )
2023-05-08 15:54:12 +08:00
GalaIO
acaafde156
fix: fix snap flaky tests ( #1590 )
2023-05-08 13:59:26 +08:00
NathanBSC
5f690d32eb
metrics: add a counter for validator to check work status of voting ( #1583 )
2023-05-06 20:47:31 +08:00
lmittmann
880535c730
eth/tracers, core/vm: remove time
from trace output and tracing interface ( #1488 )
...
This removes the 'time' field from logs, as well as from the tracer interface. This change makes the trace output deterministic. If a tracer needs the time they can measure it themselves. No need for evm to do this.
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2023-05-06 11:16:27 +08:00
Evgeny Kolyakov
f8e000309c
code: x = append(y) is equivalent to x = y ( #866 )
2023-05-06 10:43:44 +08:00
NathanBSC
daae7718a8
fix: support golang 1.20 by upgrading prysm to v4 ( #1576 )
2023-05-06 09:56:10 +08:00
NathanBSC
e794b20fa1
fix: output an error log when bsc extension fail to handshake ( #1578 )
2023-05-06 09:48:54 +08:00