Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrde to bsc@v1.3.6 #22

Open
wants to merge 2,431 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2431 commits
Select commit Hold shift + click to select a range
5c9cbc2
core/vm: implement EIP-5656, mcopy instruction (#26181)
charles-cooper Jul 11, 2023
e1fd3d6
eth: better active protocol handler tracking (#27665)
lightclient Jul 11, 2023
aecf3f9
internal/blocktest: add package for shared test code (#27270)
jsvisa Jul 11, 2023
4b06e4f
core/state: value diff tracking in StateDB (#27349)
rjl493456442 Jul 11, 2023
645b0db
cmd/utils, p2p: clean up discovery setup (#27518)
lightclient Jul 11, 2023
7a565fa
console: add cleanup to avoid leaks in newTester (#27695)
Mskxn Jul 11, 2023
cecd221
go.mod: upgrade github.com/karalabe/usb to fix build warning (#27698)
fjl Jul 11, 2023
5742cc2
discov: increase bucket size for bootnodes (#1727)
MatusKysel Jul 12, 2023
0b1f97e
core/rawdb: support freezer batch read with no size limit (#27687)
rjl493456442 Jul 12, 2023
a426999
p2p/discover: filter bootnodes by netrestrict (#27701)
fjl Jul 12, 2023
80b7bfe
accounts, cmd/evm: fix docstrings (#27703)
cuishuang Jul 12, 2023
040a4a5
build: upgrade -dlgo version to Go 1.20.6 (#27708)
sandakersmann Jul 12, 2023
714f759
eth, miner: rm redundant type declare (#27713)
jsvisa Jul 13, 2023
4f0d8f0
graphql: fix race in withdrawals test (#27706)
s1na Jul 13, 2023
10a136a
internal: early exit if tx for getTxReceipt not found (#27712)
jsvisa Jul 13, 2023
5d03504
internal/ethapi: add more testcase for GetTransactionReceipt (#27527)
jsvisa Jul 13, 2023
1e069cf
eth/tracers: add ReturnData in the tracer's response (#27704)
jsvisa Jul 13, 2023
517ac88
eth/tracers/native: panic on memory read in prestateTracer (#27691)
ryanschneider Jul 13, 2023
e1fe6bc
go.sum: go mod tidy (#27717)
ucwong Jul 13, 2023
c40ab6a
core/blockchain: fast to snap in comments (#27722)
ucwong Jul 14, 2023
60ecf48
cmd/bootnode, p2p: support for alternate mapped ports (#26359)
dbadoy Jul 14, 2023
13c0305
metrics: NilTimer should still run the function to be timed (#27723)
omerfirmak Jul 14, 2023
47b9f1b
cmd/geth: use automaxprocs to apply cpu quota correctly (#27506)
jsvisa Jul 14, 2023
34d5072
metrics: NilResettingTimer.Time should execute the timed function (#2…
omerfirmak Jul 14, 2023
00408f7
accounts/abi/bind/backends: fix goroutine leak in unit test (#27705)
yuriechan Jul 15, 2023
d233b6b
core: replace instances of 'suicide' with 'selfdestruct' to improve …
jwasinger Jul 15, 2023
99e000c
core/vm: use types.EmptyCodeHash (#27729)
ucwong Jul 15, 2023
b058cf4
core, tests: EIP-4844 transaction processing logic (#27721)
holiman Jul 15, 2023
988d84a
core/state, core/vm: implement EIP 6780 (#27189)
jwasinger Jul 17, 2023
d4d88f9
les: remove obsolete code related to PoW header syncing (#27737)
zsfelfoldi Jul 17, 2023
e86ad52
beacon/engine, eth/catalyst: EIP-4844 updates for the engine API (#27…
fjl Jul 18, 2023
7f756dc
cmd/evm/testdata: fix typos in docs (#27742)
pgrimaud Jul 18, 2023
9219c88
upgrade: mainnet hardfork block height for: Plato, Hertz
brilliant-lx Jul 21, 2023
83cc950
release: prepare for release v1.2.9
brilliant-lx Jul 21, 2023
34b065a
Merge pull request #1777 from bnb-chain/develop
brilliant-lx Jul 21, 2023
a46f417
ethclient/gethclient: gofmt -s (#27762)
MariusVanDerWijden Jul 24, 2023
88f3d61
all: expose block number information to statedb (#27753)
rjl493456442 Jul 24, 2023
7a1fba1
cmd/geth: atomic types used (#27756)
ucwong Jul 24, 2023
a196f3e
cmd/devp2p: atomic types used (#27755)
ucwong Jul 24, 2023
2274a03
crypto/kzg4844: do lazy init in all ckzg funcs (#27679)
jtraglia Jul 24, 2023
37b952a
core/types: deepcopy ExcessDataGas, DataGasUsed (#27767)
darioush Jul 27, 2023
1662228
core/txpool/blobpool: 4844 blob transaction pool (#26940)
karalabe Jul 27, 2023
393d4db
core/types: add 4844 data gas fields in Receipt (#27743)
fjl Jul 27, 2023
0f4b21f
core/txpool/blobpool: fix a merge conflict from a package rename (#27…
karalabe Jul 27, 2023
278608a
discov: do not filter out bootnodes (#1773)
MatusKysel Jul 27, 2023
57268f7
all: rename dataGas to blobGas (#27789)
karalabe Jul 27, 2023
d955653
core/types: put header fields in correct order (#27791)
MariusVanDerWijden Jul 27, 2023
8f2ae29
core/types: fix receipt blob fields marshaling (#27793)
marioevz Jul 28, 2023
f616c36
log: reduce logs when receiving too much votes from a peer (#1780)
NathanBSC Jul 31, 2023
95cc7bf
cmd/geth: import package catalyst once (#27803)
islishude Jul 31, 2023
5a4eba6
eth: conver if-else-if chain to tagged switch (#27816)
islishude Jul 31, 2023
43a1a48
core: remove pointless check for excessBlobGas nilness (#27797)
jsvisa Jul 31, 2023
817553c
core, trie: track state change set with account address (#27815)
rjl493456442 Jul 31, 2023
4e97756
cmd/bootnode: defer udp connection close (#27787)
ZigBalthazar Jul 31, 2023
3ca92f7
all: replace data gas to blob gas in comments (#27825)
jsvisa Aug 1, 2023
852be57
tests: make tests pass on windows/386 (#27821)
holiman Aug 1, 2023
2fd77a6
core/txpool/blobpool: remove error log when finalized block is nil (#…
rjl493456442 Aug 1, 2023
7c95ebd
consensus/misc: move eip1559 into a package (#27828)
jsvisa Aug 1, 2023
f404a2d
cmd/evm: set ExcessBlobGas from env (#27796)
jsvisa Aug 1, 2023
9d744f0
cmd/bootnode: fix timer leak (#27754)
ucwong Aug 1, 2023
7de748d
all: implement path-based state scheme (#25963)
rjl493456442 Aug 1, 2023
ff97b4c
cmd/geth: disable automaxprocs log (#27814)
jsvisa Aug 1, 2023
d04bde0
p2p: use atomic types (#27764)
ucwong Aug 1, 2023
54b4e58
rpc: add GetFinalizedHeader/Block to simplify using the fast finality…
NathanBSC Aug 2, 2023
909e7b9
metrics: add txpool config into metrics server (#1788)
zlacfzy Aug 2, 2023
4525cff
fix: exclude same votes when doing malicious voting check (#1784)
NathanBSC Aug 2, 2023
522d4cd
vote: backup validator sync votes from corresponding mining validator…
NathanBSC Aug 2, 2023
8224bb9
build: upgrade -dlgo version to Go 1.20.7 (#27835)
sandakersmann Aug 2, 2023
54dbb2b
finality: add more check to ensure reuslt of assembleVoteAttestation …
NathanBSC Aug 2, 2023
0fb3216
release: prepare for release v1.2.10 (#1792)
brilliant-lx Aug 2, 2023
c208d28
tool: add a tool extradump to parse extra data after luban (#1795)
NathanBSC Aug 3, 2023
2b83693
Merge pull request #1793 from bnb-chain/develop
brilliant-lx Aug 3, 2023
6e934f4
eth/protocols/snap: fix batch writer when resuming an aborted sync (#…
karalabe Aug 3, 2023
df54435
core/types: fix immutability guarantees in Block (#27844)
fjl Aug 4, 2023
57cdbae
all: remove trailing whitespace (#27741)
darioush Aug 4, 2023
bb148dd
core/types: support yParity field in JSON transactions (#27744)
fjl Aug 4, 2023
5c30541
log: use atomic types (#27763)
ucwong Aug 4, 2023
60070fe
internal/ethapi, graphql: correct comments about gas price logic (#27…
chrischarlesharrison Aug 4, 2023
8574767
internal: use atomic type (#27858)
ucwong Aug 7, 2023
d14c07d
accounts: use atomic type (#27857)
ucwong Aug 7, 2023
eeebb07
internal/ethapi: add state override to estimateGas (#27845)
amintalebi Aug 7, 2023
6d2bcb9
p2p/simulations/examples: use atomic.Int64 (#27861)
ucwong Aug 7, 2023
0d772b9
graphql: avoid greedy allocation (#27873)
holiman Aug 8, 2023
e13fa32
core/vm: update 4844 - point evaluation precompile address (#27874)
holiman Aug 8, 2023
7ec60d5
p2p: move ping handling into pingLoop goroutine (#27887)
fjl Aug 9, 2023
10d9f93
graphql: add yParity field for transactions (#27882)
jsvisa Aug 9, 2023
6797902
core/state: move UpdateContractCode before the trie hash is computed …
gballet Aug 9, 2023
9c216bd
params: release go-ethereum v1.12.1
fjl Aug 10, 2023
d9a8b0f
params: begin v1.12.2 release cycle
fjl Aug 10, 2023
a0491a0
deps: update supranational/blst to 0.3.11 (#27890)
dependabot[bot] Aug 10, 2023
55863ce
core/txpool/blobpool: fix metrics name for prometheus export (#27901)
imulmat4 Aug 11, 2023
770db14
ethdb/leveldb: support more than 7 levels in metrics (#27904)
jsvisa Aug 11, 2023
811a674
all: update golang/x/ext and fix slice sorting fallout (#27909)
karalabe Aug 11, 2023
f298ec4
go.mod, build: upgrade c-kzg-4844 (#27907)
fjl Aug 11, 2023
a867039
internal/build: apply -ubuntu to env (#27910)
fjl Aug 12, 2023
bed8460
params: release go-ethereum v1.12.2
fjl Aug 12, 2023
9b95339
vote: remove DisableBscProtocol and add flag to skip votes assmebling…
NathanBSC Aug 14, 2023
0bc5a2a
client: add FinalizedHeader/Block to use the fast finality (#1797)
NathanBSC Aug 15, 2023
e2bf0f3
fix: lagging nodes failed to sync (#1829)
brilliant-lx Aug 21, 2023
c035b0c
release: prepare for release v1.2.11 (#1832)
brilliant-lx Aug 22, 2023
c431373
ci: increase header-max-length from 72 to 80 for master branch (#1834)
brilliant-lx Aug 22, 2023
7a19cd2
Merge pull request #1833 from bnb-chain/develop
brilliant-lx Aug 23, 2023
872d22e
upstream: Merge tag 'v1.12.2' into develop
NathanBSC Aug 23, 2023
2290201
Merge branch 'develop' into big_merge_v1.10.16_v1.12.2
NathanBSC Aug 23, 2023
df8db4f
crypto: Update BLST to v0.3.11 (#1844)
buddh0 Aug 29, 2023
50f1cf3
discov: add hardcoded bootnodes
MatusKysel Sep 5, 2023
d40f382
doc: add simple guide to run bootnode
MatusKysel Sep 5, 2023
3f01587
Merge pull request #1852 from bnb-chain/bootnodes
MatusKysel Sep 6, 2023
a437355
fetcher: no import blocks before or equal to the finalized height (#1…
brilliant-lx Sep 6, 2023
202ab70
Big merge v1.10.16 v1.12.2 fix ci (#1850)
NathanBSC Sep 7, 2023
a0cb4d0
eth/tracers: trace system tx should add intrinsicGas (#1855)
zlacfzy Sep 7, 2023
b5e862b
Merge branch 'develop' into merge_develop_to_big_merge_v1.10.16_v1.12.2
NathanBSC Sep 7, 2023
6af6162
vote: check consensus key match vote key before voting (#1858)
NathanBSC Sep 8, 2023
5a7964d
Update init-network command (#1839)
Mister-EA Sep 8, 2023
6632d3b
Merge branch 'develop' into merge_develop_to_big_merge_v1.10.16_v1.12.2
NathanBSC Sep 8, 2023
7b94e61
Merge pull request #1856 from bnb-chain/merge_develop_to_big_merge_v1…
brilliant-lx Sep 8, 2023
1c17c47
release: prepare for release v1.2.12 (#1859)
brilliant-lx Sep 8, 2023
0f622f3
lint: fix all golang lint after big merge (#1861)
NathanBSC Sep 8, 2023
bb6bdc0
Merge pull request #1860 from bnb-chain/develop
brilliant-lx Sep 11, 2023
0d482cc
cmd/utils: fix parsing BootstrapNodes from BootnodesFlag
NathanBSC Sep 8, 2023
05e94ff
miner: do not copy nil baseFee for transactionsByPriceAndNonce
NathanBSC Sep 12, 2023
fe5df93
Merge pull request #1840 from bnb-chain/big_merge_v1.10.16_v1.12.2
brilliant-lx Sep 14, 2023
782aea5
build: run full unit test cases, except ./tests
NathanBSC Sep 13, 2023
e379117
tests/truffle: adapt for changes in bsc-genesis-contract
NathanBSC Sep 18, 2023
9edad94
cmd/utils: make uncategorized flags of geth categorized (#1877)
NathanBSC Sep 18, 2023
1bc27f6
core/state: handle account destruction after updating account state
NathanBSC Sep 15, 2023
2c7a07b
discov: add status log for bootnode (#1878)
MatusKysel Sep 19, 2023
41f0667
Revert "core/rawdb: open meta file in read only mode (#26009)" (#1879)
NathanBSC Sep 19, 2023
52e2cb8
parlia: reject header with non-nil `WithdrawalsHash`(#1884)
NathanBSC Sep 21, 2023
c5647b1
release: prepare for release v1.3.0 (#1891)
brilliant-lx Sep 25, 2023
b3ef585
Merge pull request #1892 from bnb-chain/develop
brilliant-lx Sep 25, 2023
2f7d305
logs: add some logs to trace block miner, justified reorg; (#1894)
galaio Sep 25, 2023
d179056
logs: add some logs to trace block miner, justified reorg; (#1894)
galaio Sep 25, 2023
720ff1f
all: activate pbss as experimental feature from eth (#26274)
rjl493456442 Aug 10, 2023
528d97b
feat: active pbss on bsc
joeylichang Sep 24, 2023
b8bad31
cmd/geth: add hash2path & trie get tools
fynnss Sep 25, 2023
c955dd2
cmd/geth: fix listern port when initNetwork (#1897)
NathanBSC Sep 27, 2023
f8bc2b7
core/state: ensure triedb Commit after Update (#1900)
NathanBSC Sep 27, 2023
35b21ca
core/bloombits: fix deadlock when matcher session hits an error (#1895)
msmania Sep 27, 2023
4b45c59
fix: skip HasState check for fast node (#1901)
brilliant-lx Sep 28, 2023
6932673
cmd: add tests for init-network (#1899)
Mister-EA Sep 29, 2023
c26a303
Merge pull request #1882 from Fynnss/add_hash_trie_node_prune_tool
fynnss Oct 5, 2023
4259f4c
fix: state history hasn't write
fynnss Sep 27, 2023
0d47213
fix: skip a patch that could fork the chain (#1902)
brilliant-lx Oct 7, 2023
44b2f4a
metrics: fix missing miner-info, build-info and node-info (#1907)
NathanBSC Oct 8, 2023
5cd647b
Merge pull request #1906 from Fynnss/fix_state_history_write_error
fynnss Oct 8, 2023
f843951
core/state: skip handleDestruction in hash based mode (#1908)
NathanBSC Oct 8, 2023
17ffdf1
core/state: skip deleting storages for EmptyTrie (#1911)
NathanBSC Oct 10, 2023
43e2c77
Revert "fix: skip a patch that could fork the chain (#1902)" (#1913)
brilliant-lx Oct 11, 2023
35d85e2
core: write head block hash when shutdown (#1912)
NathanBSC Oct 11, 2023
73cfed0
core/vm: clean up evm clearly when get it from pool (#1914)
NathanBSC Oct 11, 2023
b86459a
core/txpool: ignore nil sub when subpool have been shut down (#1915)
NathanBSC Oct 12, 2023
1812181
Merge branch 'develop' into master
brilliant-lx Oct 12, 2023
423d413
Merge pull request #1917 from bnb-chain/master
brilliant-lx Oct 13, 2023
dda8c00
trie/triedb/pathdb: make shutdown journal log friendlier (#27905)
karalabe Aug 11, 2023
959b733
core/rawdb: allocate database keys with explicit size to avoid slice …
MariusVanDerWijden Aug 23, 2023
4be2e1b
eth/protocols/eth: stop advertising eth/66 for pathdb nodes (#28006)
karalabe Aug 25, 2023
713d8d6
core/state: implement fast storage deletion (#27955)
rjl493456442 Aug 26, 2023
d3a6f9a
core/state: check err for iter.Error in fastDeleteStorage (#28122)
darioush Sep 15, 2023
9baffb3
core/rawdb: no need to run truncateFile for readonly mode (#28145)
jsvisa Sep 21, 2023
c3199ab
fix: ut error
joeylichang Oct 16, 2023
5a3109b
trie: remove internal nodes between shortNode and child in path mode …
rjl493456442 Sep 22, 2023
fdfc637
trie/triedb/pathdb: improve error log (#28177)
rjl493456442 Sep 22, 2023
9f5842e
fix: recover TestStateChanges
joeylichang Oct 16, 2023
a6cfcfe
consensus/parlia: fix nextForkHash in Extra filed of block header (#1…
NathanBSC Oct 17, 2023
4493ab8
release: prepare for release v1.3.1 (#1927)
brilliant-lx Oct 18, 2023
01d75a9
dependency: go version to 1.20 and some dependencies in go.mod (#1939)
brilliant-lx Oct 24, 2023
fd6e7bb
performance: commitTire concurrently (#1948)
brilliant-lx Oct 27, 2023
3bf998f
code: remove accountTrieCache and storageTrieCache (#1949)
brilliant-lx Oct 30, 2023
3e298c1
fix: 2 APIs of get receipt related(#1950)
zlacfzy Oct 30, 2023
0d9151e
txpool: fix a potential crash issue in shutdown; (#1951)
galaio Oct 30, 2023
56424d3
trie: keep trie prefetch during validation phase (#1954)
brilliant-lx Oct 31, 2023
604f160
eth, trie/triedb/pathdb: reallocate excess memory to clean cache
rjl493456442 Aug 22, 2023
f5a854c
trie/triedb/pathdb: improve dirty node flushing trigger
rjl493456442 Oct 27, 2023
ea9c962
Merge pull request #1962 from bnb-chain/cherry_pick_pbss_patches
brilliant-lx Nov 3, 2023
6286247
fix: revert trie commited flag after delete statedb mpt cache (#1963)
joeylichang Nov 3, 2023
53559fc
eth, trie/triedb/pathdb: pbss patches (#1955)
joeylichang Nov 6, 2023
a4eee3b
doc: update changelog for v1.3.1 (#1976)
brilliant-lx Nov 9, 2023
1dca486
Merge pull request #1928 from bnb-chain/develop
brilliant-lx Nov 9, 2023
72ffb0c
doc: add instructions for starting fullnode with pbss (#1977)
joeylichang Nov 10, 2023
3fc9f75
consensus/parlia: hardfork block can be epoch block (#1964)
buddh0 Nov 14, 2023
4be9481
internal/ethapi: fix null effectiveGasPrice in GetTransactionReceipt …
buddh0 Nov 14, 2023
8b94dd6
fix(cmd): check pruneancient when creating db (#1986)
weiihann Nov 14, 2023
497fdf8
fix: upgrade pebble and improve config (#1979)
flywukong Nov 20, 2023
0224d48
core: enable Shanghai EIPs (#1970)
buddh0 Nov 20, 2023
cd0356b
core/systemcontracts: include BEP-319 on kepler hardfork
buddh0 Nov 7, 2023
c92b6ce
cmd/utils: exit process if txlookuplimit flag is set (#2000)
weiihann Nov 25, 2023
7894423
consensus/parlia: increase size of snapshot cache in parlia (#2007)
buddh0 Nov 28, 2023
1edb34f
consensus/parlia: recover faster when snapshot of parlia is gone in d…
buddh0 Nov 28, 2023
8e19728
fix: remove sharedPool
brilliant-lx Nov 29, 2023
3ce568f
fix(cmd): check pruneancient when creating db (#1986)
weiihann Nov 14, 2023
cf80501
cmd/utils: exit process if txlookuplimit flag is set (#2000)
weiihann Nov 25, 2023
c409eb6
release: draft v1.3.3
brilliant-lx Nov 30, 2023
20dcaab
Merge branch 'develop' into develop_lock_v1.3.3
brilliant-lx Nov 30, 2023
70ccc3d
Merge pull request #2019 from bnb-chain/develop_lock_v1.3.3
brilliant-lx Nov 30, 2023
f7e9adc
fix: remove sharedPool
brilliant-lx Nov 29, 2023
b494339
fix(cmd): check pruneancient when creating db (#1986)
weiihann Nov 14, 2023
a3507cc
cmd/utils: exit process if txlookuplimit flag is set (#2000)
weiihann Nov 25, 2023
a840915
release: draft v1.3.3
brilliant-lx Nov 30, 2023
8b00720
fix: remove pipecommit in miner
brilliant-lx Dec 1, 2023
7615631
fork: add hardfork Hertzfix
brilliant-lx Dec 4, 2023
a2f9ac0
release: prepare v1.3.4
brilliant-lx Dec 4, 2023
afc3b42
fix: disable flag --pipecommit
brilliant-lx Dec 4, 2023
885de2c
fix: failed ut
brilliant-lx Dec 4, 2023
5b78f57
Merge branch 'develop' into develop_lock_v1.3.4_merge
zzzckck Dec 5, 2023
7e6b43a
Merge pull request #2033 from bnb-chain/develop_lock_v1.3.4_merge
zzzckck Dec 5, 2023
5db73c9
cmd/geth: standardize the action of importing bls account (#2020)
buddh0 Dec 5, 2023
195ae35
release: prepare for release v1.3.5
brilliant-lx Nov 27, 2023
aa15df2
config: setup Kepler/Shanghai hardfork date
brilliant-lx Dec 5, 2023
a30beeb
core/txpool/legacypool: respect nolocals-setting (#2037)
buddh0 Dec 6, 2023
6c788d7
tests/truffle: adapt changes in bsc-genesis-contracts
buddh0 Dec 6, 2023
fa5d0cf
core/systemcontracts: update CommitUrl for keplerUpgrade
buddh0 Dec 6, 2023
e3ef62f
rpc,eth: output more info about failed txs(#2041)
buddh0 Dec 7, 2023
a140a5a
cmd/jsutils: add 2 tools get validator version and block txs number (…
zlacfzy Dec 8, 2023
fe928d4
Merge pull request #2006 from bnb-chain/develop
zzzckck Dec 8, 2023
4b107c5
readme: update hardware requirements for BSC full node (#2057)
zzzckck Dec 12, 2023
b3df096
core/vote: wait some blocks beforing voting since mining begin
buddh0 Dec 8, 2023
8ce9cda
params: set default hardfork times
buddh0 Dec 12, 2023
1ebf2a4
params: fix comment
buddh0 Dec 13, 2023
64be7df
log: support to disable log rotate by hours (#2063)
buddh0 Dec 14, 2023
2e69dcb
log: limit rotateHours in range [0,23] (#2064)
buddh0 Dec 14, 2023
e4910b9
cmd/utils: allow HTTPHost and WSHost flags precede (#2060)
weiihann Dec 14, 2023
f628e32
cmd, core, params: add support for the Holesky testnet (#28007)
karalabe Aug 25, 2023
84b268f
cmd, core, eth: change default network from ETH to BSC
weiihann Nov 29, 2023
0b632d9
cmd, core, ethdb: enable Pebble on 32 bits and OpenBSD
karalabe Oct 13, 2023
8205fdc
release: prepare for release v1.3.6 (#2065)
zzzckck Dec 14, 2023
5ee77bb
Merge pull request #2066 from bnb-chain/develop
zzzckck Dec 14, 2023
5c8358d
merge bsc@v1.3.6
intosKai Dec 22, 2023
a0e3992
Merge branch 'devel' of github.com:Ankr-network/bas-template-bsc into…
intosKai Dec 22, 2023
fbfc5e0
resolve conflicts with devel
intosKai Dec 22, 2023
84039ce
fix genesis problems
memekas Jan 17, 2024
288eb78
fix modules in the test
memekas Jan 18, 2024
7f41fdc
comment export test
memekas Jan 18, 2024
3549505
comment tests with geth init
memekas Jan 18, 2024
662279b
fix export
memekas Jan 18, 2024
e330d1b
return eth and bsc chain configs
memekas Jan 18, 2024
9a453b4
fix core genesis tests
memekas Jan 19, 2024
e96055c
add comments
memekas Jan 19, 2024
05fe64d
fix simulated tests
memekas Jan 22, 2024
8b4f61e
fix tracetest
memekas Jan 22, 2024
8d6b8d9
fix simulated tests
memekas Jan 22, 2024
3678d6f
comment failed tests
memekas Jan 22, 2024
20209e0
delete log file
memekas Jan 22, 2024
08b5c06
Merge pull request #23 from memekas/fix/unit-tests
dmitry123 Jan 25, 2024
4de4fdd
make StateObject public
memekas Feb 1, 2024
1dac8b8
undo changes. add getters
memekas Feb 1, 2024
bba0075
allow system contracts with unlimited size
memekas Feb 1, 2024
1ef706c
Merge pull request #24 from memekas/feat/update-and-fix-genesis
dmitry123 Feb 1, 2024
36f7e21
update genesis
memekas Feb 5, 2024
3104844
Merge pull request #25 from memekas/update-genesis
dmitry123 Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 3 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ accounts/usbwallet @karalabe
accounts/scwallet @gballet
accounts/abi @gballet @MariusVanDerWijden
cmd/clef @holiman
cmd/puppeth @karalabe
consensus @karalabe
core/ @karalabe @holiman @rjl493456442
eth/ @karalabe @holiman @rjl493456442
eth/catalyst/ @gballet
graphql/ @gballet
eth/tracers/ @s1na
graphql/ @s1na
les/ @zsfelfoldi @rjl493456442
light/ @zsfelfoldi @rjl493456442
mobile/ @karalabe @ligi
node/ @fjl @renaynay
node/ @fjl
p2p/ @fjl @zsfelfoldi
rpc/ @fjl @holiman
p2p/simulations @fjl
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ and help.

## Configuration, dependencies, and tests

Please see the [Developers' Guide](https://geth.ethereum.org/docs/developers/devguide)
Please see the [Developers' Guide](https://geth.ethereum.org/docs/developers/geth-developer/dev-guide)
for more details on configuring your environment, managing project dependencies
and testing procedures.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Commit hash : (if `develop`)
[backtrace]
````

When submitting logs: please submit them as text and not screenshots.
When submitting logs: please submit them as text and not screenshots.
44 changes: 44 additions & 0 deletions .github/commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
const validateTypeNums = (parsedCommit) => {
const mergePrefix = "Merge pull request"
if (parsedCommit.raw.startsWith(mergePrefix)) {
console.log('this is a merge commit:' + parsedCommit.raw)
return [true,'']
}

if (!parsedCommit.type) {
return [false, 'invalid commit message, should be like "name: descriptions.", yours: "' + parsedCommit.raw + '"']
}

const types = parsedCommit.type.split(' ')
for (var i=0;i<types.length;i++){
if ((types[i].toLowerCase() == "wip") || (types[i].toLowerCase() == "r4r")) {
return [false, 'R4R or WIP is not acceptable, no matter upper case or lower case']
}
}
return [true,'']
}


module.exports = {
parserPreset: {
parserOpts: {
headerPattern: /^(.*):.*/,
}
},
extends: ['@commitlint/config-conventional'],
plugins: ['commitlint-plugin-function-rules'],
rules: {
'subject-empty':[2, 'always'],
'scope-empty':[2, 'always'],
'type-enum': [2, 'never'],
'type-case': [0, 'always'],
'function-rules/type-case': [2, 'always', validateTypeNums],
'header-max-length': [
2,
'always',
80,
],
},
helpUrl:
'https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md',
}
20 changes: 8 additions & 12 deletions .github/generate_change_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,20 @@ TESTNET_ZIP_SUM="$(checksum ./testnet.zip)"
LINUX_BIN_SUM="$(checksum ./linux/geth)"
MAC_BIN_SUM="$(checksum ./macos/geth)"
WINDOWS_BIN_SUM="$(checksum ./windows/geth.exe)"
ARM5_BIN_SUM="$(checksum ./arm5/geth-linux-arm-5)"
ARM6_BIN_SUM="$(checksum ./arm6/geth-linux-arm-6)"
ARM7_BIN_SUM="$(checksum ./arm7/geth-linux-arm-7)"
ARM64_BIN_SUM="$(checksum ./arm64/geth-linux-arm64)"
OUTPUT=$(cat <<-END
## Changelog\n
${CHANGE_LOG}\n
## Assets\n
| Assets | Sha256 Checksum |\n
| :-----------: |------------|\n
| geth_linux | ${LINUX_BIN_SUM} |\n
| geth_mac | ${MAC_BIN_SUM} |\n
| geth_windows | ${WINDOWS_BIN_SUM} |\n
| geth_linux_arm5 | ${ARM5_BIN_SUM} |\n
| geth_linux_arm6 | ${ARM6_BIN_SUM} |\n
| geth_linux_arm7 | ${ARM7_BIN_SUM} |\n
| Assets | Sha256 Checksum |
| :-----------: |------------|
| mainnet.zip | ${MAINNET_ZIP_SUM} |
| testnet.zip | ${TESTNET_ZIP_SUM} |
| geth_linux | ${LINUX_BIN_SUM} |
| geth_mac | ${MAC_BIN_SUM} |
| geth_windows | ${WINDOWS_BIN_SUM} |
| geth_linux_arm64 | ${ARM64_BIN_SUM} |\n
END
)

echo -e ${OUTPUT}
echo -e "${OUTPUT}"
4 changes: 2 additions & 2 deletions .github/release.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MAINNET_FILE_URL="https://github.com/binance-chain/bsc/releases/download/v1.1.7/mainnet.zip"
TESTNET_FILE_URL="https://github.com/binance-chain/bsc/releases/download/v1.1.7/testnet.zip"
MAINNET_FILE_URL="https://github.com/bnb-chain/bsc/releases/latest/download/mainnet.zip"
TESTNET_FILE_URL="https://github.com/bnb-chain/bsc/releases/latest/download/testnet.zip"
13 changes: 7 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
unit-test:
strategy:
matrix:
go-version: [1.16.x]
os: [ubuntu-18.04]
go-version: [1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
# In order:
# * Module download cache
Expand All @@ -38,13 +38,14 @@ jobs:
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
%LocalAppData%\go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Test Build
run: |
go mod download
make geth


45 changes: 45 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Lint Commit Messages

on:
push:
branches:
- master
- develop

pull_request:
branches:
- master
- develop

jobs:
commitlint:
strategy:
matrix:
node-version: [14.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v3
with:
path: |
~/.npm
**/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Deps
run: |
npm install -g commitlint-plugin-function-rules @commitlint/cli
npm install --save-dev commitlint-plugin-function-rules @commitlint/cli
- uses: wagoid/commitlint-github-action@v5
id: commitlint
env:
NODE_PATH: ${{ github.workspace }}/node_modules
with:
configFile: /github/workspace/.github/commitlint.config.js
51 changes: 51 additions & 0 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Docker

on:
push:
# Publish `v1.2.3` tags as releases.
tags:
- v*

env:
IMAGE_NAME: bsc

jobs:
# Push image to GitHub Packages.
push:
runs-on: ubuntu-latest
if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3

- name: Build image
run: |
docker build . \
--label "org.opencontainers.image.source=${{ secrets.IMAGE_SOURCE }}" \
--label "org.opencontainers.image.revision=$(git rev-parse HEAD)" \
--label "org.opencontainers.image.version=$(git describe --tags --abbrev=0)" \
--label "org.opencontainers.image.licenses=LGPL-3.0,GPL-3.0" \
-f ./Dockerfile -t "${IMAGE_NAME}"

- name: Log into registry
run: echo "${{ secrets.PACKAGE_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Push image
run: |
IMAGE_ID=ghcr.io/${{ github.repository }}

# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker push $IMAGE_ID:$VERSION
docker push $IMAGE_ID:latest

13 changes: 7 additions & 6 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ on:
push:
branches:
- master
- devel
- develop

pull_request:
branches:
- master
- devel
- develop

jobs:
truffle-test:
strategy:
matrix:
os: [ubuntu-18.04]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

# - name: Truffle test
# run: make truffle-test
- name: Truffle test
run: |
make truffle-test
34 changes: 22 additions & 12 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@ on:
push:
branches:
- master
- devel
- develop

pull_request:
branches:
- master
- devel
- develop

jobs:
unit-test:
golang-lint:
strategy:
matrix:
go-version: [1.16.x]
os: [ubuntu-18.04]
go-version: [1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
# In order:
# * Module download cache
Expand All @@ -38,11 +38,21 @@ jobs:
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
%LocalAppData%\go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

# - name: Lint
# run: |
# make lint
- run: |
go mod download

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.52.2
working-directory: ./
skip-pkg-cache: true
skip-cache: true
skip-build-cache: true
args: --timeout=99m --config ./.golangci.yml
Loading
Loading