Commit Graph

11745 Commits

Author SHA1 Message Date
zjubfd
0a1e79e2a1
prepare for release v1.0.5 (#64) v1.0.5 2021-01-19 11:46:02 +08:00
HaoyangLiu
e09e48a02f
R4R: apply mirror sync upgrade (#56)
* apply mirror sync upgrade

remove 0x

update rialto genesis hash

update tokenhub code

* update tokenhub code

* update relayer incentive contract code

* update upgrade height and remove mainnet upgrade
2021-01-19 11:35:01 +08:00
zjubfd
b605f1f913
Merge pull request #63 from binance-chain/secure_patch
[R4R] security patch from go-ethereum
2021-01-11 16:43:45 +08:00
zjubfd
9fedf1909d
Merge pull request #53 from binance-chain/elegant_upgrade
[R4R]support fork id in header; elegant upgrade
2021-01-11 14:54:20 +08:00
fudongbai
24dc208170 avoid false warn log 2021-01-11 14:42:06 +08:00
fudongbai
60606d3919 support fork id in header; elegant upgrade 2021-01-11 13:54:35 +08:00
zjubfd
5a1c39da09
Merge pull request #60 from binance-chain/x-forward-for
[R4R] Add `x-forward-for` log message when handle message failed
2021-01-11 13:52:38 +08:00
zjubfd
cfeab77017
Merge pull request #61 from binance-chain/requestGauge
[R4R]add rpc method request gauge
2021-01-11 13:52:21 +08:00
Nishant Das
9e8ee517d7 p2p/discover: fix deadlock in discv5 message dispatch (#21858)
This fixes a deadlock that could occur when a response packet arrived
after a call had already received enough responses and was about to
signal completion to the dispatch loop.

Co-authored-by: Felix Lange <fjl@twurst.com>
2021-01-11 11:27:17 +08:00
Felix Lange
ca1d1cb08d p2p/enode: avoid crashing for invalid IP (#21981)
The database panicked for invalid IPs. This is usually no problem
because all code paths leading to node DB access verify the IP, but it's
dangerous because improper validation can turn this panic into a DoS
vulnerability. The quick fix here is to just turn database accesses
using invalid IP into a noop. This isn't great, but I'm planning to
remove the node DB for discv5 long-term, so it should be fine to have
this quick fix for half a year.

Fixes #21849
2021-01-11 11:26:39 +08:00
Fuyang Deng
670009d1e1 accounts/abi: fix a bug in getTypeSize method (#21501)
* accounts/abi: fix a bug in getTypeSize method

e.g. for "Tuple[2]" type, the element of the array is a tuple type and the size of the tuple may not be 32.

* accounts/abi: add unit test of getTypeSize method
2021-01-11 11:26:29 +08:00
Felix Lange
4608da6c13 rpc: fix issue with null JSON-RPC messages (#21497) 2021-01-11 11:23:44 +08:00
Marius van der Wijden
d1f95d5fd3 internal/ethapi: fix nil deref + fix estimateGas console bindings (#21601)
* tried to fix

* fix for js api

* fix for nil pointer ex

* rev space

* rev space

* input call formatter
2021-01-11 11:23:18 +08:00
Martin Holst Swende
ad3ff6452d core: fix txpool off-by-one error (#21683) 2021-01-11 11:22:52 +08:00
6543
0a64615f1e signer/storage: fix a badly ordered error check (#21379) 2021-01-11 11:22:25 +08:00
Slava Karpenko
2a79ac1622 consensus/ethash: use 64bit indexes for the DAG generation (#21793)
* Bit boundary fix for the DAG generation routine

* Fix unnecessary conversion warnings

Co-authored-by: Sergey Pavlov <spavlov@gmail.com>
2021-01-11 11:20:54 +08:00
fudongbai
0e797c53b7 add x-forward-for message in log 2021-01-11 10:49:34 +08:00
zjubfd
3f3f8d02cf
Merge pull request #59 from binance-chain/issue_58
[R4R]fix potential deadlock of pub/sub module
2021-01-11 10:40:14 +08:00
fudongbai
5bd73320ba add rpc method request gauge 2021-01-10 22:01:20 +08:00
zjubfd
894b1e3c8d
Merge pull request #54 from binance-chain/fixLess
[R4R]les: fix GetProofsV2 bug (#21896)
2021-01-08 16:47:59 +08:00
fudongbai
3d3f9694a4 fix potential deadlock of pub/sub module 2020-12-30 15:13:11 +08:00
zjubfd
f6ec491548
Merge pull request #55 from binance-chain/curl_image
[R4R]add curl in docker image
2020-12-18 14:48:49 +08:00
Felföldi Zsolt
e0205f5983 les: fix GetProofsV2 bug (#21896) 2020-12-15 14:11:44 +08:00
fudongbai
69fe8db258 add curl in docker image 2020-12-14 20:29:44 +08:00
zjubfd
ed10dfa6bf
Merge pull request #50 from binance-chain/p1.0.4
[R4R]add change log for release v1.0.4
v1.0.4
2020-11-23 18:01:10 +08:00
fudongbai
3da36e6a55 add change log for release v1.0.4 2020-11-23 17:57:40 +08:00
zjubfd
c2feabad39
Merge pull request #49 from binance-chain/pr_template
[R4R]Create PULL_REQUEST_TEMPLATE
2020-11-17 17:26:20 +08:00
zjubfd
b0fcc0a663
Create PULL_REQUEST_TEMPLATE 2020-11-17 17:19:00 +08:00
zjubfd
58a91af56c
Merge pull request #38 from hyunsikswap/remove-log
Disable noisy log from consensus engine
2020-11-17 16:51:30 +08:00
zjubfd
cca7667dcd
Merge pull request #47 from binance-chain/golang1.15.5
[R4R]upgrade to golang1.15.5
2020-11-17 16:47:25 +08:00
zjubfd
1a50838431
Merge pull request #35 from binance-chain/fixedGas
[R4R]use fixed gas price when network is idle
2020-11-17 16:46:30 +08:00
fudongbai
d52d8a5f05 use fixed gas price since bsc network is idle 2020-11-17 16:38:20 +08:00
fudongbai
935c9e3c6a upgrade to golang1.15.5 2020-11-16 13:56:57 +08:00
Hyunsik Lee
cb1afd2b14
Hide some smart contract tracing logs from parlia consensus engine 2020-09-30 02:43:10 +09:00
Hyunsik Lee
7bd1c1f23d
Disable noisy log from consensus engine 2020-09-30 02:43:09 +09:00
zjubfd
537c5db510
Merge pull request #41 from binance-chain/branch_1.0.3
[R4R]prepare release 1.0.3
v1.0.3
2020-09-24 14:17:03 +08:00
fudongbai
40620b478c prepare release 1.0.3 2020-09-24 13:59:06 +08:00
HaoyangLiu
e81c728ff6
R4R: add max gas allwance calculation (#36)
* calculate max gas allwance

* return error for missing from
2020-09-11 22:22:11 +08:00
zjubfd
bfb73f8068
Merge pull request #32 from binance-chain/releasev1.0.2
[R4R]prepare for release 1.0.2
v1.0.2
2020-08-28 10:33:56 +08:00
fudongbai
397f6f6108 prepare for release 1.0.2 2020-08-28 10:29:05 +08:00
HaoyangLiu
b242e890d2
Merge pull request #30 from binance-chain/rmdisclaim
[R4R]remove disclaim
2020-08-27 17:57:33 +08:00
zjubfd
ba0152fea9
Merge pull request #29 from binance-chain/improve-tracer
R4R: improve tracers
2020-08-27 17:52:39 +08:00
fudongbai
844ed90c28 remove disclaim 2020-08-27 17:51:47 +08:00
libotony
f94b7de003 eth/tracers: revert reason in call_tracer + error for failed internal calls (#21387)
* tests: add testdata of call tracer

* eth/tracers: return revert reason in call_tracer

* eth/tracers: regenerate assets

* eth/tracers: add error message even if no exec occurrs, fixes #21438

Co-authored-by: Martin Holst Swende <martin@swende.se>
2020-08-27 17:45:47 +08:00
zjubfd
b652ef3a67
Merge pull request #27 from binance-chain/1.0.1.beta.2
[R4R]add niels fork
v1.0.1-beta.2
2020-08-13 21:03:21 +08:00
fudongbai
011f043418 add niels fork 2020-08-13 21:00:57 +08:00
zjubfd
d9a0607e5e
Merge pull request #24 from binance-chain/develop
[R4R] prepare for release 1.0.1-beta
v1.0.1-beta
2020-08-11 18:03:51 +08:00
fudongbai
f2e4ef2e6d prepare for release 1.0.1-beta 2020-08-11 17:07:20 +08:00
zjubfd
8c8c2a7d9e
Merge pull request #16 from binance-chain/system-contract-upgrade
R4R: system contract upgrade framework and upgrade tokenhub
2020-08-11 16:58:57 +08:00
zjubfd
4a8f63917f
Merge pull request #26 from binance-chain/chapelupgrade
[R4R]update chapel ramanujan fork
2020-08-11 16:57:50 +08:00