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

[R4R] Release v1.1.12 #1025

Merged
merged 624 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
624 commits
Select commit Hold shift + click to select a range
84d8eb2
cmd/evm: add 256-bit field validations on transactions (t9n) (#23743)
holiman Oct 18, 2021
0183256
all: fix warning flagging the use of DeepEqual on error (#23624)
gballet Oct 19, 2021
312e02b
core/state/snapshot: fix BAD BLOCK error when snapshot is generating …
zzyalbert Oct 20, 2021
f423290
params: update version
holiman Oct 20, 2021
da1b6f3
params: begin v1.10.12 release cycle
holiman Oct 20, 2021
7231b3e
params: release go-ethereum v1.10.11 stable (now with gofmt)
holiman Oct 20, 2021
114ed3e
params: begin v1.10.12 release cycle (second attempt)
holiman Oct 20, 2021
3ce9f6d
ethclient: fix typo (#23778)
Oct 20, 2021
b6fb184
accounts/abi/bind: fix error handling in baseFee query (#23781)
kibgzr Oct 21, 2021
2954f40
common/hexutil: improve performance of EncodeBig (#23780)
lmittmann Oct 21, 2021
0e7efd6
core/rawdb, ethdb: introduce batched/atomic reads from ancients (#23566)
holiman Oct 25, 2021
48dc34b
build: remove xgo cross-builds (#23800)
jwasinger Oct 25, 2021
c72b16c
core: use block difficulty for genesis (#23793)
meowsbits Oct 26, 2021
53f8157
ethdb: more accurate batch size calculation (#23790)
rjl493456442 Oct 26, 2021
526c3f6
core/state/snapshot: fix benchmarks (#23804)
holiman Oct 26, 2021
eab4d89
core: fix benchmark tests (#23803)
holiman Oct 27, 2021
52c02cc
cmd/evm: handle rlp errors in t9n (#23771)
holiman Oct 27, 2021
bff3303
core: fixed stale comment in txlist (#23825)
MariusVanDerWijden Oct 28, 2021
32150f8
cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) (#23810)
holiman Oct 28, 2021
31870a5
eth/filters, p2p/simulations: fix benchmarks (#23806)
holiman Oct 29, 2021
410e731
optimize the judge of invalide notification.number (#22658)
r1cs Oct 31, 2021
57c252e
accounts/abi/bin/backends: return basefee in suggestGasPrice (#23838)
Sparty Nov 1, 2021
c113520
miner: fix receipt deep copy in worker (#23835)
PlasmaPower Nov 1, 2021
ff84491
rpc: avoid crashing on clique getSigner during sync (#23832)
holiman Nov 1, 2021
1e4becb
rpc/client: fix typo (#23834)
chuwt Nov 1, 2021
c2e64db
accounts/abi/bind/backends: make suggestGasPrice compatible with non-…
MariusVanDerWijden Nov 1, 2021
c576fa1
core: fix snapshot missing when recovery from crash (#23496)
zzyalbert Nov 1, 2021
551bd6e
eth/tracers: invoke enter/exit on 0-value calls to inex accounts (#23…
holiman Nov 1, 2021
2e8b58f
cmd/geth: implement data import and export (#22931)
rjl493456442 Nov 2, 2021
178debe
consensus/ethash: avoid runtime errors due to OOD on mmap writes (#23…
holiman Nov 2, 2021
f49e90e
cmd/puppeth: make it possible to have pw-protected keyfiles (#22148)
holiman Nov 2, 2021
03bc8b7
core: more efficient nonce-update in txpool (#22231)
holiman Nov 2, 2021
53b94f1
rpc: linear time batch response matching (#23856)
fjl Nov 4, 2021
3bbeb94
eth: make traceChain avoid OOM on long-running tracing (#23736)
holiman Nov 4, 2021
8d7e606
eth/tracers: support for golang tracers + add golang callTracer (#23708)
s1na Nov 5, 2021
476fb56
miner, consensus/clique: avoid memory leak during block stasis (#23861)
holiman Nov 5, 2021
8be8ba4
les/vflux: fixed panic and data races (#23865)
zsfelfoldi Nov 8, 2021
e1c000b
cmd/geth: add support for sepolia testnet (#23730)
holiman Nov 8, 2021
e61b8cb
params: update CHTs for the 1.10.12 release
karalabe Nov 8, 2021
aa2727f
Merge pull request #23868 from karalabe/cht-1.10.12
karalabe Nov 8, 2021
c4fff0f
params: update Ropsten CHT too
karalabe Nov 8, 2021
851256e
Merge pull request #23869 from karalabe/cht-1.10.12-ropsten
karalabe Nov 8, 2021
787a3b1
eth/tracers: make native calltracer default (#23867)
s1na Nov 8, 2021
6c4dc6c
params: release Geth v1.10.12
karalabe Nov 8, 2021
ad11691
params: begin v1.10.13 release cycle
karalabe Nov 8, 2021
9489853
core: check effective tip in txpool pricelimit validation (#23855)
fjl Nov 8, 2021
6b9c77f
eth/tracers: package restructuring (#23857)
holiman Nov 9, 2021
0efed7f
cmd/devp2p/internal/ethtest: clarify protocol version in tests (#23872)
holiman Nov 9, 2021
fb7da82
p2p: fix typo in v4wire.go
eltociear Nov 10, 2021
e185a8c
Merge pull request #23880 from eltociear/patch-3
karalabe Nov 10, 2021
f32feeb
core/vm: implement EIP-2681: Limit account nonce to 2^64-1 (#23853)
gumb0 Nov 11, 2021
c57df9c
core/rawdb: add slow path for getting legacy logs (#23879)
s1na Nov 11, 2021
5358e49
cmd/devp2p: update TTL max for Cloudflare (#23885)
meowsbits Nov 11, 2021
e9294a7
eth/tracers: add golang 4byte tracer (#23882)
wardbradt Nov 11, 2021
abc74a5
accounts/abi/bind/backends: fix race condition in simulated backend …
joshuacolvin0 Nov 12, 2021
b0b708b
cmd/evm: add `gasUsed` to t8n `result` (#23919)
lightclient Nov 16, 2021
05acc27
eth/tracers: make native 4byte default, remove js version (#23916)
s1na Nov 16, 2021
b7a6409
core/rawdb: better error message in freezer (#23901)
holiman Nov 16, 2021
33f2813
cmd/geth: add flag --dev.gaslimit for dev mode (#23686)
jessetane Nov 16, 2021
fa96718
cmd/evm: rename t8n result to match types.Header (ReceiptRoot->Receip…
lightclient Nov 17, 2021
16341e0
ethclient: fix tx sender cache miss detection (#23877)
PlasmaPower Nov 17, 2021
ab31fbb
core/vm: don't use iota for opcode definitions
holiman Nov 18, 2021
c52def7
eth/gasprice: sanitize max header and block history (#23886)
Nov 18, 2021
e761255
cmd/evm: make t9n intrinsicGas output hex, fixes #23883 (#23889)
holiman Nov 19, 2021
e076143
eth: fix typo in comment (#23941)
a2br Nov 22, 2021
6f2c3f2
cmd/geth: add ancient flag to db inspect (#23946)
lightclient Nov 22, 2021
5d4bcbc
trie: more tests for stacktrie (#23936)
chfast Nov 22, 2021
441c7f2
cmd/evm: add b11r tool (#23843)
lightclient Nov 22, 2021
d9c13d4
core, eth/downloader: fix resetting below freezer threshold
karalabe Nov 22, 2021
17f1c2d
Merge pull request #23949 from karalabe/fix-repair-heuristic
karalabe Nov 22, 2021
23f69c6
cmd/evm: add support for signing transactions in the unprotected form…
lightclient Nov 23, 2021
50e07a1
Merge pull request #23928 from holiman/no_iota
karalabe Nov 23, 2021
347c37b
core/rawdb: use AncientRange when initializing leveldb from freezer (…
holiman Nov 23, 2021
d15e423
p2p/enode: store local port number as uint16 (#23926)
jfcg Nov 23, 2021
743769f
trie: reject deletions when verifying range proofs
karalabe Nov 23, 2021
7322b25
Merge pull request #23960 from karalabe/verify-range-deletion
karalabe Nov 23, 2021
0a7672f
cmd/evm: rename t8n args to improve clarity when tracing (#23934)
lightclient Nov 24, 2021
7a0c19f
params: release Geth v1.10.13
karalabe Nov 24, 2021
8151dd6
params: begin v1.10.14 release cycle
karalabe Nov 24, 2021
66ee942
consensus/clique: fix block number unmarshal (#23961)
s1na Nov 24, 2021
10b1cd9
core/vm: use proper JumpTable type
chfast Nov 24, 2021
ad7c90c
cmd/devp2p/internal/v4test: fix false-positive hive test (#23966)
holiman Nov 24, 2021
9055cc1
core/vm, core/state/snapshot: remove unused code (#23956)
holiman Nov 25, 2021
1876cb4
all: move loggers to eth/tracers (#23892)
s1na Nov 25, 2021
4ebeca1
Merge pull request #23967 from ipsilon/evm_jumptable_type
karalabe Nov 25, 2021
519cf98
core/vm: simplify op lookup in contract (#23974)
gumb0 Nov 25, 2021
3038e48
all: core rework for the merge transition (#23761)
MariusVanDerWijden Nov 26, 2021
c10a0a6
eth: request id dispatcher and direct req/reply APIs (#23576)
karalabe Nov 26, 2021
86fe359
trie: simplify StackTrie implementation (#23950)
chfast Nov 29, 2021
1fa9172
core/vm: simplify error handling in interpreter loop (#23952)
chfast Nov 29, 2021
a69d4b2
core/vm: Rename SHA3 instruction to KECCAK256 (#23976)
axic Nov 30, 2021
163f166
core/vm: don't copy JumpTable when no EIP mods are needed (#23977)
gumb0 Nov 30, 2021
1988b47
tests/fuzzzers. eth/protocols/snap: add snap protocol fuzzers (#23957)
holiman Dec 1, 2021
9393d1f
core/vm: Move interpreter.ReadOnly check into the opcode implementati…
axic Dec 1, 2021
2be129b
core/vm: rename opSuicide to opSelfdestruct (#24022)
axic Dec 1, 2021
721c572
eth/tracers/js: add support for REVERT/SELFDESTRUCT in evmdis_tracer …
axic Dec 1, 2021
c893488
eth: pre-process downloader responses on the peer reader thread
karalabe Dec 1, 2021
8fbe0b9
p2p/enr: reduce allocation in Record.encode (#24034)
Evolution404 Dec 2, 2021
b45931c
accounts/abi/bind: correctly handle structs used only as constructor …
Dec 2, 2021
85064ed
all: fix 'the the' in comments (#24036)
acktsap Dec 2, 2021
5e78fc0
Merge pull request #24032 from karalabe/downloader-response-preprocess
karalabe Dec 3, 2021
a0f7771
core/vm: remove stack.pushN (#24040)
axic Dec 3, 2021
9331fe2
core/vm: fill gaps in jump table with opUndefined (#24031)
chfast Dec 3, 2021
b02fe53
core/vm: move interpreter interruption check to jump instructions (#2…
gumb0 Dec 3, 2021
58d1988
core, eth, les, trie: remove the sync bloom, used by fast sync
karalabe Dec 3, 2021
cca482b
Merge pull request #24047 from karalabe/delete-dead-sync-bloom
karalabe Dec 3, 2021
46f701c
readme: use correct link for web3.js docs (#24046)
nala-two Dec 3, 2021
93f196c
eth/catalyst: implement kintsugi spec v1.0.0-alpha.4 (#23984)
MariusVanDerWijden Dec 3, 2021
619a3e7
signer/core: move EIP-712 types to package apitypes (#24029)
holiman Dec 5, 2021
a95675d
core/vm: remove no-recursion option from config
holiman Dec 6, 2021
69686fa
core, core/rawdb: fix transaction indexing (#24024)
rjl493456442 Dec 6, 2021
a25906e
Merge pull request #24066 from holiman/no_no_recursion
karalabe Dec 6, 2021
acb0f7a
p2p/simulations: improve README language (#24051)
uwatm8 Dec 6, 2021
cc87cbd
security policy: updated pgp key (#24069)
fredriksvantes Dec 6, 2021
d785905
eth/filters: remove unused field 'chaindb' in PublicFilterAPI (#24072)
aaronbuchwald Dec 7, 2021
7f7877a
miner: update pending block even after the PoS transition (#24075)
rjl493456442 Dec 7, 2021
db03faa
core, eth: improve delivery speed on header requests (#23105)
holiman Dec 7, 2021
ae8ff26
core/vm: remove unused code (IsStaticJump) (#24085)
axic Dec 9, 2021
72c2c0a
cmd/geth, console: support interrupting the js console (#23387)
holiman Dec 11, 2021
b3b8b26
consensus: define MaxGasLimit as a const in params (#24092)
jovijovi Dec 14, 2021
adec878
core/rawdb: fix error message fields in ReadLogs (#24104)
ucwong Dec 14, 2021
155795b
core/vm: avoid memory expansion check for trivial ops (#24048)
holiman Dec 14, 2021
fc01a7c
les/vflux/client, p2p/nodestate: fix data races (#24058)
zsfelfoldi Dec 14, 2021
0ba0b81
rpc: fix time key collision for logger with json output (#24112)
bobakxd Dec 15, 2021
893502e
trie, core, eth: use db.has over db.get where possible
holiman Dec 15, 2021
bc6bf1e
README: remove mentions of snap sync (#24122)
MariusVanDerWijden Dec 16, 2021
81ec6b1
core/vm: reverse bit order in bytes of code bitmap (#24120)
chfast Dec 17, 2021
3e47e38
core/vm: Make INVALID a defined opcode (#24017)
gumb0 Dec 17, 2021
ada9c77
eth, les: update unclean shutdown markers regularly (#24077)
s1na Dec 17, 2021
f5f5c08
tests/solidity/contracts: fix typo in OpCodes.sol (#24123)
eltociear Dec 17, 2021
2295640
eth/catalyst: implement kintsugi-spec v3 (#24067)
MariusVanDerWijden Dec 17, 2021
8bbf83e
core: ignore basefee when comparing with pool gasprice in txpool (#24…
XWJACK Dec 17, 2021
99be62a
accounts/abi: avoid unnecessary alloc (#24128)
fomotrader Dec 20, 2021
b8edc04
build: upgrade -dlgo version to Go 1.17.5 (#24144)
fjl Dec 22, 2021
980b768
core/types: document JSON field name equivalents of DynamicFeeTx (#24…
fjl Dec 22, 2021
3f2e96c
cmd/geth: add missing sepolia testnet flag checks (#24147)
shekhirin Dec 22, 2021
11a3a35
params: release go-ethereum v1.10.14 stable
fjl Dec 23, 2021
dddf73a
params: begin v1.10.15 release cycle
fjl Dec 23, 2021
356bbe3
core/asm: change order of items in stringtokenTypes (#24153)
zgfzgf Dec 26, 2021
062d910
go.mod : go-nat-pmp v1.0.2
ucwong Dec 30, 2021
98be5f9
trie: fix spelling mistake (#24185)
codeoneline Jan 4, 2022
d0bd501
accounts: correct comment (#24186)
pcresswell Jan 4, 2022
66a908c
core/rawdb: fix double-lock causing hang (#24189)
holiman Jan 4, 2022
4bd2d0e
core: periodically flush the transaction indexes
rjl493456442 Jan 5, 2022
c0d17bc
graphql: check header first in blocks query (#24190)
s1na Jan 5, 2022
0169d57
ethclient: fix unmarshaling of ethereum.SyncProgress (#24199)
fjl Jan 5, 2022
c20de3c
graphql: fix pre-byzantium receipt status (#24188)
s1na Jan 5, 2022
3ccd6b6
graphql: fix block resolving for parent field (#24191)
s1na Jan 5, 2022
335914a
les: fix serverHandler crash after setHead (#24200)
holiman Jan 5, 2022
8be800f
params: go-ethereum v1.10.15 stable
fjl Jan 5, 2022
0f89310
params: begin v1.10.16 release cycle
fjl Jan 5, 2022
af2ca5a
Merge pull request #24117 from holiman/db_has
karalabe Jan 6, 2022
7403a38
core: fix a typo (#24198)
Xia-Sam Jan 6, 2022
9aa2e98
README: fix a typo (#24196)
fishmandev Jan 6, 2022
127ce93
accounts: corrected spelling mistakes (#24194)
sanskarkhare Jan 6, 2022
0dec47b
eth: continue after whitelist check
holiman Jan 7, 2022
adc0a6a
Merge pull request #24210 from holiman/whitelist_investigate
karalabe Jan 7, 2022
2347128
accouts/scwallet: typo fix (#24207)
ucwong Jan 7, 2022
1884f37
cmd/ethkey: fix comment typo (#24205)
aaronbuchwald Jan 7, 2022
b1e72f7
core/evm: RANDOM opcode (EIP-4399) (#24141)
MariusVanDerWijden Jan 10, 2022
acd7b36
Merge pull request #24197 from rjl493456442/periodically-flush-batch
karalabe Jan 11, 2022
e6b61ed
Merge pull request #24171 from ucwong/pmp
karalabe Jan 11, 2022
c006261
cmd/geth: add tests for version_check (#24169)
rangzen Jan 11, 2022
52448e9
cmd/geth: update copyright year (#24224)
vieyang Jan 11, 2022
2c58e6b
trie: use keyvalue reader for non-mutating methods (#24221)
darioush Jan 11, 2022
045e90c
crypto/ecies: use AES-192 for curve P384 (#24139)
xq840622 Jan 12, 2022
b1f0959
SECURITY.md: fix typo (#24244)
myersg86 Jan 15, 2022
f80ce14
accounts/abi/bind/backends: return errors instead of panic (#24242)
pespantelis Jan 18, 2022
4aab440
core/rawdb: enforce readonly in freezer instantiation (#24119)
s1na Jan 18, 2022
51eb5f8
cmd/geth: add db cmd to show metadata (#23900)
holiman Jan 18, 2022
7dec26d
signer, core: support chainId for GnosisSafeTx (#24231)
mmv08 Jan 18, 2022
03aaea1
internal/ethapi: use same receiver names (#24252)
aeharvlee Jan 20, 2022
514ae7c
eth/catalyst: evict old payloads, type PayloadID (#24236)
protolambda Jan 20, 2022
5bcbb29
rpc: add PeerInfo (#24255)
fjl Jan 20, 2022
c029cdc
core: fix typo in blockchain test (#24263)
Codier Jan 21, 2022
ae45c97
trie: fix range prover (#24266)
rjl493456442 Jan 21, 2022
eef7a33
core, miner, rpc, eth: fix goroutine leaks in tests (#24211)
charlesxsh Jan 21, 2022
2dfa4bc
trie: test for edgecase in VerifyRangeProof (#24257)
darioush Jan 21, 2022
06e16de
internal/ethapi: remove unnecessary comment (#24271)
aeharvlee Jan 24, 2022
6838542
accounts: fix typo in errors.go (#24270)
DavidCai1111 Jan 24, 2022
bd615e0
go.mod : golang-set 1.8.0 go.mod added & cardinality check for subset…
ucwong Jan 24, 2022
78636ee
eth, miner: use miner for post-merge block production (#23256)
rjl493456442 Jan 24, 2022
4230f5f
cmd/utils: fix regression placing dev mode datadir readonly
karalabe Jan 24, 2022
f9ce40b
Merge pull request #24281 from karalabe/dev-read-write
karalabe Jan 24, 2022
f39f068
accounts/abi: simplify Arguments.Unpack (#24277)
zhiqiangxu Jan 24, 2022
0e35192
core/rawdb: do prefixed lookup first
holiman Jan 25, 2022
78f13a3
Merge pull request #24288 from holiman/prefer_prefixed
karalabe Jan 25, 2022
29cb5de
core/rawdb: fix typo (#24289)
MariusVanDerWijden Jan 25, 2022
015fde9
eth/tracers: avoid using blockCtx concurrently (#24286)
holiman Jan 25, 2022
e282246
cmd/utils: open db in readonly when dev datadir exists (#24298)
s1na Jan 27, 2022
a988550
internal/web3ext: add eth.getLogs wrapper (#24297)
s1na Jan 27, 2022
abd49a6
rpc: set Request.GetBody for client requests (#24292)
ValentinTrinque Jan 27, 2022
64c53ed
tests: external evm benchmarks (#24050)
chfast Jan 28, 2022
0c1bd22
cmd/geth: make test pass on a pi4 by using lightkdf (#24314)
ligi Jan 31, 2022
cac09a3
eth/tracers: native prestate tracer (#24268)
s1na Jan 31, 2022
a5c0cfb
build: fix lint on ARM (#24311)
ligi Jan 31, 2022
9da25c5
all: separate catalyst package (#24280)
rjl493456442 Jan 31, 2022
b868ca1
accounts: correct spelling mistake (#24323)
B-Harden Feb 1, 2022
c5436c8
eth/tracers: clean-up tracer collection (#24320)
s1na Feb 1, 2022
afe344b
accounts/abi/bind: improve WaitMined error handling (#24321)
komkom Feb 1, 2022
d99e759
cmd: auto-enable beacon APIs if TTD is defined
karalabe Feb 2, 2022
1a7e345
Merge pull request #24328 from karalabe/uke-catalyst
karalabe Feb 2, 2022
aaca58a
go.mode: bump graphql-go dependency to v1.3.0 (#24324)
aaronbuchwald Feb 2, 2022
6ce4670
cmd/devp2p: implement snap protocol testing (#24276)
holiman Feb 4, 2022
2d20fed
miner: avoid data race in miner (#24349)
rjl493456442 Feb 7, 2022
5a0d487
signer/core: fix complex typed data sign (EIP712) (#24220)
holiman Feb 8, 2022
fb3a652
go.mod: upgrade to github.com/karalabe/usb v0.0.2 (#24356)
fjl Feb 8, 2022
a50a05d
merge with go-ethereum 1.1.5
unclezoro Feb 10, 2022
fe2d84b
improve snap mutex
forcodedancing May 12, 2022
2288373
Merge pull request #905 from forcodedancing/improve_snap_lock
forcodedancing Jun 7, 2022
fea1c96
asynchronous update snap in updatetrie
flywukong May 7, 2022
aa3cc82
Merge pull request #924 from flywukong/improve-updateSnap
flywukong Jun 7, 2022
8537153
fix pipecommit issue (#932)
forcodedancing Jun 13, 2022
28f8090
Improve StatePrefetch, use AsMessageNoNonceCheck to skip nonce check
setunapo Jun 17, 2022
8c36d29
Improve the state prefetch dispatch policy
setunapo Jun 17, 2022
ebceb25
fix:correct logic for eip check of NewEVMInterpreter
qinglin89 Jun 20, 2022
0137f20
refactor: cuncurrency safe for state_prefetcher
qinglin89 Jun 21, 2022
4b8c03b
p2p: define DiscReason as uint8 (#24507)
fjl Mar 7, 2022
fcfc57f
upgrade docker version to 1.6.1
keefel Jun 22, 2022
5ef4a2b
upgrade gogo/protobuf to version v1.3.2
keefel Jun 22, 2022
6ec6eda
Merge pull request #958 from KeefeL/keefe/bugfix
unclezoro Jun 23, 2022
c45130e
Merge branch 'master' into develop
keefel Jun 23, 2022
128977c
Merge pull request #953 from qinglin89/fix-evm
brilliant-lx Jun 24, 2022
5b5cc00
Merge pull request #950 from setunapo/improve_state_prefetch
brilliant-lx Jun 24, 2022
ba120d0
Merge pull request #961 from KeefeL/develop
unclezoro Jun 29, 2022
d6b9bdb
add prune ancient feature (#862)
joeylichang Jun 29, 2022
0f3bfa8
Merge pull request #959 from KeefeL/keefe/dev
unclezoro Jun 30, 2022
0483394
[R4R] Separate Processing and State Verification on BSC (#926)
dean65 Jul 4, 2022
79bd428
fix: code compatibility fixes
j75689 Jul 5, 2022
b01b45a
Merge branch 'develop' into merge_eth
j75689 Jul 5, 2022
a02c4fa
Merge pull request #816 from bnb-chain/merge_eth
unclezoro Jul 6, 2022
b6c02a4
fix: asynchronous caching of difflayer causes random errors in tests
j75689 Jul 6, 2022
552e404
Merge pull request #976 from j75689/fix/difflayer_ut
unclezoro Jul 6, 2022
8e74562
[R4R]: Redesign triePrefetcher to make it thread safe (#972)
setunapo Jul 7, 2022
fd1d1e3
fix: nil pointer issue when stopping mining new block (#983)
j75689 Jul 8, 2022
659f670
ci: add script to docker image (#990)
j75689 Jul 19, 2022
37b7ac7
feat: update dockerfile with a few enhancement (#998)
jasonyic Jul 20, 2022
21c4ece
fix: incorrect behavior of miner (#1007)
j75689 Jul 20, 2022
015c527
[R4R]fix: resolve the concurrent cache read and write issue for fast …
kyrie-yl Jul 22, 2022
403b19c
[R4R] fix: Incorrect merkle root issue when enabling pipecommit with …
j75689 Jul 22, 2022
d93211b
[R4R]db: freezer batch compatible offline prunblock command (#1005)
joeylichang Jul 22, 2022
9d59a14
[R4R]fix: tools broken because of writting metadata when open a read…
joeylichang Jul 25, 2022
0ed265c
fix: fast node can not recover from force kill or panic (#1014)
unclezoro Jul 25, 2022
cd46de9
log: disable noisy logs since system transaction will cause gas cappi…
unclezoro Jul 25, 2022
dd3b3a6
fix: memory leak issue with diff protocol (#1019)
j75689 Jul 26, 2022
71f0caa
Remove duplicate update/delete on tire (#1001)
qinglin89 Jul 26, 2022
a2a90d3
Fix pipecommit about activeState (#1002)
qinglin89 Jul 26, 2022
06bc2a0
fix: remove diffhash patch introduced fro (#1020)
j75689 Jul 27, 2022
6c46c59
fix: verify node is not treated as verify node (#1024)
unclezoro Jul 28, 2022
09dfd2f
prepare for release v1.1.12 (#1023)
j75689 Jul 28, 2022
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
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .github/generate_change_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ 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
Expand All @@ -39,10 +35,6 @@ ${CHANGE_LOG}\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
| geth_linux_arm64 | ${ARM64_BIN_SUM} |\n
END
)

Expand Down
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.8/mainnet.zip"
TESTNET_FILE_URL="https://github.com/binance-chain/bsc/releases/download/v1.1.8/testnet.zip"
MAINNET_FILE_URL="https://github.com/binance-chain/bsc/releases/latest/download/mainnet.zip"
TESTNET_FILE_URL="https://github.com/binance-chain/bsc/releases/latest/download/testnet.zip"
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
unit-test:
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.17.x]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps:
Expand Down
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@v2

- 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

2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
unit-test:
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.17.x]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps:
Expand Down
107 changes: 1 addition & 106 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Build Release
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.17.x]
os: [ubuntu-18.04, macos-11, windows-2019]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -45,19 +45,6 @@ jobs:
- name: Build Binary for ${{matrix.os}}
run: make geth

# ==============================
# Cross Compile for ARM
# ==============================

- name: Build Binary for ARM
if: matrix.os == 'ubuntu-18.04'
env:
GOPATH: /home/runner/work/woodpecker/go
run: |
mkdir -p $GOPATH/src/github.com/binance-chain/bsc/
cp -r ./* $GOPATH/src/github.com/binance-chain/bsc/
cd $GOPATH/src/github.com/binance-chain/bsc/ && make geth-linux-arm

# ==============================
# Upload artifacts
# ==============================
Expand All @@ -83,34 +70,6 @@ jobs:
name: windows
path: ./build/bin/geth.exe

- name: Upload ARM-5 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm5
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm-5

- name: Upload ARM-6 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm6
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm-6

- name: Upload ARM-7 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm7
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm-7

- name: Upload ARM-64 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm64
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm64

release:
name: Release
needs: build
Expand Down Expand Up @@ -143,30 +102,6 @@ jobs:
with:
name: windows
path: ./windows

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm5
path: ./arm5

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm6
path: ./arm6

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm7
path: ./arm7

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm64
path: ./arm64

- name: Download Config File
run: |
Expand Down Expand Up @@ -226,46 +161,6 @@ jobs:
asset_path: ./windows/geth.exe
asset_name: geth_windows.exe
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 5
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm5/geth-linux-arm-5
asset_name: geth-linux-arm-5
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 6
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm6/geth-linux-arm-6
asset_name: geth-linux-arm-6
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 7
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm7/geth-linux-arm-7
asset_name: geth-linux-arm-7
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm64/geth-linux-arm64
asset_name: geth-linux-arm64
asset_content_type: application/octet-stream

- name: Upload Release Asset - MAINNET.ZIP
uses: actions/upload-release-asset@v1
Expand Down
107 changes: 1 addition & 106 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Build Release
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.17.x]
os: [ubuntu-18.04, macos-11, windows-2019]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -46,19 +46,6 @@ jobs:
- name: Build Binary for ${{matrix.os}}
run: make geth

# ==============================
# Cross Compile for ARM
# ==============================

- name: Build Binary for ARM
if: matrix.os == 'ubuntu-18.04'
env:
GOPATH: /home/runner/work/woodpecker/go
run: |
mkdir -p $GOPATH/src/github.com/binance-chain/bsc/
cp -r ./* $GOPATH/src/github.com/binance-chain/bsc/
cd $GOPATH/src/github.com/binance-chain/bsc/ && make geth-linux-arm

# ==============================
# Upload artifacts
# ==============================
Expand All @@ -84,34 +71,6 @@ jobs:
name: windows
path: ./build/bin/geth.exe

- name: Upload ARM-5 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm5
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm-5

- name: Upload ARM-6 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm6
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm-6

- name: Upload ARM-7 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm7
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm-7

- name: Upload ARM-64 Build
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-18.04'
with:
name: arm64
path: /home/runner/work/woodpecker/go/src/github.com/binance-chain/bsc/build/bin/geth-linux-arm64

release:
name: Release
needs: build
Expand Down Expand Up @@ -145,30 +104,6 @@ jobs:
name: windows
path: ./windows

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm5
path: ./arm5

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm6
path: ./arm6

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm7
path: ./arm7

- name: Download Artifacts
uses: actions/download-artifact@v2
with:
name: arm64
path: ./arm64

- name: Download Config File
run: |
. ./.github/release.env
Expand Down Expand Up @@ -236,46 +171,6 @@ jobs:
asset_name: geth_windows.exe
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 5
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm5/geth-linux-arm-5
asset_name: geth-linux-arm-5
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 6
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm6/geth-linux-arm-6
asset_name: geth-linux-arm-6
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 7
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm7/geth-linux-arm-7
asset_name: geth-linux-arm-7
asset_content_type: application/octet-stream

- name: Upload Release Asset - Linux ARM 64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./arm64/geth-linux-arm64
asset_name: geth-linux-arm64
asset_content_type: application/octet-stream

- name: Upload Release Asset - MAINNET.ZIP
uses: actions/upload-release-asset@v1
env:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
unit-test:
strategy:
matrix:
go-version: [1.16.x]
go-version: [1.17.x]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -47,6 +47,5 @@ jobs:
env:
ANDROID_HOME: "" # Skip android test
run: |
go clean -testcache
make test

Loading