Jolly Zhao
c46671df97
parlia: the newChainHead mights not be imported to Pralia.Snapshot ASAP
2022-10-28 11:42:06 +08:00
zjubfd
cb131fabe5
vm: add two proof verifier to fix the vulnerability in range proof ( #1121 )
v1.1.16
2022-10-11 11:16:30 +08:00
zjubfd
f3fd0f8bff
release: prepare for release v1.1.15 ( #1112 )
v1.1.15
2022-10-07 11:54:15 +08:00
zjubfd
5b35b39023
nanofork: add black list account ( #1109 )
2022-10-07 11:46:38 +08:00
zjubfd
335492482d
Merge pull request #1090 from bnb-chain/develop
...
prepare for release v1.1.14
v1.1.14
2022-09-21 18:15:33 +08:00
zjubfd
781e567db7
release: update version and changelogs
2022-09-21 17:02:02 +08:00
yutianwu
8375939226
overwrite HTTPHost in config.toml via cli ( #999 )
2022-09-21 17:02:02 +08:00
Leon
3c7bccbd73
core: fix potential goroutine leak ( #1079 )
...
* core: fix potential goroutine leak
* core: fix 0 index, and add ut for routineleaking
2022-09-21 17:02:02 +08:00
zhaochonghe
b051dc60dd
core: fix the order of address in queue ( #24907 )
...
reverse the order of address in queue
2022-09-21 17:02:02 +08:00
Håvard Anda Estensen
4fb1e9d25a
all: use strings.EqualFold for string comparison ( #24890 )
2022-09-21 17:02:02 +08:00
s7v7nislands
57da9c016c
core/asm: use strings.Builder and fix godoc issues ( #24861 )
2022-09-21 17:02:02 +08:00
Sina Mahmoodi
ef24fa3d1f
graphql: fix long literal passed in a variable ( #24864 )
2022-09-21 17:02:02 +08:00
s7v7nislands
461835ae71
core/vm: clean up some dead functions ( #24851 )
2022-09-21 17:02:02 +08:00
aaronbuchwald
4feeaf3545
core/vm: update benchmark to use Errorf instead of Sprintf ( #24845 )
2022-09-21 17:02:02 +08:00
Sina Mahmoodi
5d980a0e43
internal: drop TestSignCliqueBlock ( #24837 )
2022-09-21 17:02:02 +08:00
Marius van der Wijden
e8b93382da
core/state/snapshot: fix race condition ( #24685 )
...
Fixes three race conditions found through fuzzing by David Theodore
2022-09-21 17:02:02 +08:00
Rachel Franks
5a06ca3698
abi: fix checks when all fields are indexed ( #24792 )
...
This PR fixes abi checks in the edge case where all arguments are indexed
2022-09-21 17:02:02 +08:00
Martin Holst Swende
8d19185040
eth/fetcher: avoid hang in tests (partial fix for #23331 ) ( #23351 )
...
* eth/fetcher: fix test to avoid hanging. Partial fix for #23331
* eth/filters: avoid dangling goroutines
* eth/fetcher: revert closing of proceed
2022-09-21 17:02:02 +08:00
ImanSharaf
f781ea8a2f
p2p/simulations: escape mockerType value from request ( #24822 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-09-21 17:02:02 +08:00
EXEC
098181224e
eth/filters: remove explicit continue label in filterLogs ( #24795 )
...
The loop label can be removed because this 'continue' statement
is not in a nested loop.
2022-09-21 17:02:02 +08:00
Evgeny Kolyakov
bd22292a32
build: fix formatted logs ( #24807 )
...
Changed `log.Fatal` to `log.Fatalf()` as it has a parameter...
2022-09-21 17:02:02 +08:00
Martin Holst Swende
cea831914b
cmd/utils: double limit on free-disk monitor ( #24781 )
...
This PR doubles the limit on which to trigger automatic shutdown, and also changes the timer to run once every 30s instead of 60s.
2022-09-21 17:02:02 +08:00
EXEC
58f1e8b94c
docker: speed up docker image build ( #24796 )
...
This PR improves the docker build speed for repeated builds where go.mod and go.sum do no change, by placing the downloaded dependencies in a lower layer
2022-09-21 17:02:02 +08:00
hero5512
f67e303a1c
eth/filters: remove unused struct fields ( #24782 )
2022-09-21 17:02:02 +08:00
Joshua Gutow
a181eeee16
ethclient/gethclient: return storage proofs in GetProof ( #24697 )
...
Storage proofs were being unmarshalled from the RPC form to the go struct, but were not being included in the final returned struct.
2022-09-21 17:02:02 +08:00
tia-99
34420d03c5
core/types: fix unhandled errors in TestTransactionCoding ( #24692 )
2022-09-21 17:02:02 +08:00
henopied
ae31b5ff72
p2p: fix type of DiscSubprotocolError ( #24747 )
...
It was 'int' accidentally, should be DiscReason instead.
2022-09-21 17:02:02 +08:00
Nikita Kozhemyakin
6aae1bcc81
mobile: fix receipt encoding to json ( #24701 )
2022-09-21 17:02:02 +08:00
jwasinger
30c695c5e2
cmd/evm: ensure input length is even ( #24721 )
...
* cmd/evm: ensure input length is even
* cmd/evm: minor nit + lintfix
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-09-21 17:02:02 +08:00
Emmanuel T Odeke
3766168264
eth/tracers/logger: remove unnecessary comparisons in accessList.equal ( #24663 )
...
This change removes extraneous/unnecessary checks for equality
when comparing 2 accessList values A and B. Given that we validate that
their lengths of A and B are equal, if so and if every element in A is
in B, reflexively every element in B is already in A. If that weren't
the case and an element g existed in A but not in B, that would mean
that there is an extra element and hence a mathematical contradiction.
Fixes #24658
2022-09-21 17:02:02 +08:00
Darioush Jalali
3081421141
trie: remove unused makeHashNode ( #24702 )
2022-09-21 17:02:02 +08:00
rjl493456442
a72324355a
core: fix benchmark panic ( #24657 )
...
This PR fixes a few panics in the chain marker benchmarks. The root
cause for panic is in chain marker the genesis header/block is not
accessible, while it's expected to be obtained in tests. So this PR
avoids touching genesis header at all to avoid panic.
2022-09-21 17:02:02 +08:00
Felix Lange
f37f2a9fbe
core/types: make "miner" optional in Header JSON ( #24666 )
...
"miner" is not set for pending block responses in some cases.
Fixes #24632
2022-09-21 17:02:02 +08:00
rjl493456442
a41619f04e
les: fix panic in ultralight client sync ( #24641 )
2022-09-21 17:02:02 +08:00
Péter Szilágyi
f310921b41
core/state/snapshot: remove noop map item assignment
2022-09-21 17:02:02 +08:00
Péter Szilágyi
211ab45c1d
eth/fetcher: if peers never respond, drop them
2022-09-21 17:02:02 +08:00
Nic Jansma
c54fd7f312
eth: change snapshot extension registration failure to warning instead of error ( #24475 )
...
* core: Change Snapshot extension registration failed to Debug
* Update eth/handler.go
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-09-21 17:02:02 +08:00
Martin Holst Swende
3b4c68381b
eth/tracers/logger: use omitempty to reduce log bloat ( #24547 )
...
Makes the evm json output less verbose: omitting output of `memory` and `returndata` in case they are empty.
2022-09-21 17:02:02 +08:00
ucwong
3d5896a157
go.mod : upnp 1.0.3 stable version ( #24573 )
2022-09-21 17:02:02 +08:00
zjubfd
3d3f0a85db
ci: add curl in docker file
2022-09-14 14:49:07 +08:00
zjubfd
b8020b9746
fix: remove fixed curl version in docker file
2022-09-06 16:42:21 +08:00
zjubfd
6f6bbcfe46
Merge pull request #1056 from bnb-chain/develop
...
prepare for release v1.1.13
v1.1.13
2022-09-02 11:31:36 +08:00
Roshan
aa835e020b
upgrade: update version and CHANGELOG.md ( #1073 )
2022-08-31 17:04:48 +08:00
Roshan
fd6fa7c9ce
fix: update cross chain logic of native stake ( #1066 )
2022-08-31 14:42:23 +08:00
zjubfd
755df16c9a
Merge pull request #1068 from qinglin89/dev-rlp
2022-08-31 13:30:59 +08:00
Leon
64549a75eb
statedb: get rid of activestate, stopPrefetcher manually ( #1006 )
2022-08-31 13:30:25 +08:00
bittrainee
b485651b86
fix: fix potential goroutine leak ( #1067 )
2022-08-31 12:38:09 +08:00
dylanhuang
f45759858d
txpool: reheap the priced list if london fork not enabled ( #1070 )
2022-08-31 12:37:20 +08:00
qinglin89
24da9ec194
fix: gomod add packages
2022-08-26 14:46:17 +08:00
Qian Bin
da57d11ecc
rlp trie: faster trie node encoding ( #24126 )
...
This change speeds up trie hashing and all other activities that require
RLP encoding of trie nodes by approximately 20%. The speedup is achieved by
avoiding reflection overhead during node encoding.
The interface type trie.node now contains a method 'encode' that works with
rlp.EncoderBuffer. Management of EncoderBuffers is left to calling code.
trie.hasher, which is pooled to avoid allocations, now maintains an
EncoderBuffer. This means memory resources related to trie node encoding
are tied to the hasher pool.
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-08-26 14:46:13 +08:00