Commit Graph

1611 Commits

Author SHA1 Message Date
Shane Bammel
fed5c5f037 Fixed limit test for modified GasLimitBoundDivisor 2021-12-02 17:23:34 -06:00
Shane Bammel
7664b70e6b Fixed comment 2021-11-29 20:24:16 -06:00
Shane Bammel
9dd05ab488 Fixed nil pointer 🐛 2021-11-15 15:20:04 -06:00
Bret Palsson
551df8feae Resolve comments in code review 2021-11-03 12:04:30 -07:00
Bret Palsson
efb9ef83a3 Add PulseChain mainnet and testnet
Add bootnodes for PulseChain testnet
Fix devp2p dns normalization for comparing names
2021-11-01 12:52:22 -07:00
Bret Palsson
d3ffb37b40 Fix v1.10.8 merge 2021-09-25 17:09:22 -05:00
Shane Bammel
30708436bf Support for non-pulse, non-mainnet eth chains 2021-09-25 17:08:50 -05:00
Shane Bammel
a8b2cb7c1f Fixed struct copy 2021-09-25 17:06:16 -05:00
Bret Palsson
4c37465a38 Change to NewLondonSigner, add debug logging 2021-09-25 10:08:20 -07:00
Bret Palsson
b97b451993 Set the proper ChainID in the EVM -- Fix sync issues 2021-09-25 10:02:49 -07:00
Bret Palsson
5f37e9c01c Add trace logging for operations that revert 2021-09-25 10:02:49 -07:00
Bret Palsson
3b9a0c035f Refactor transaction signing 2021-09-25 10:02:49 -07:00
Bret Palsson
f5f5155f1d Update MakeSigner to support mainnet & pulsechain
Add London fork to mainnet config
2021-09-25 10:02:44 -07:00
Bret Palsson
f8bcf4eba5 Merge go-ethereum v1.10.8
Add debug build to make and docker
2021-09-25 07:30:37 -07:00
Shane Bammel
be984123d3 Fix state transition for pre-fork blocks 2021-08-31 16:30:40 -05:00
sjb933
a20c46a4f1 Treasury Allocation & PrimordialPulse Fork Genesis 2021-08-23 23:50:52 +00:00
sjb933
9b402e6e02 Merge Upstream Changes 2021-08-17 16:11:50 +00:00
sjb933
601f9ef1ae Integrated Validator Staking & Rotation.
Implemented Transaction Fee Burn.
2021-07-14 19:20:13 +00:00
sjb933
9f25d30d8f Remove light client 2021-05-27 23:22:12 +00:00
sjb933
2ee3be103f PrimordialPulse Fork 2021-05-25 17:20:38 +00:00
Shane Bammel
e211cf21d4 Cleanup historical upgrades 2021-04-02 15:18:35 -05:00
Shane Bammel
82600454b9 Remove unused system contracts 2021-04-02 14:38:15 -05:00
Shane Bammel
c89deeecb9 Cleanup upgrade code, remove dead contracts 2021-04-02 14:03:33 -05:00
zjubfd
540ac2a1b7
[R4R]appay mirror/sync fork to main-net; release for 1.0.6 (#68)
* appay mirror/sync fork to main-net; release for 1.0.6

* fix upgrade do not work
2021-02-05 09:51:32 +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
fudongbai
60606d3919 support fork id in header; elegant upgrade 2021-01-11 13:54:35 +08:00
Martin Holst Swende
ad3ff6452d core: fix txpool off-by-one error (#21683) 2021-01-11 11:22:52 +08:00
fudongbai
011f043418 add niels fork 2020-08-13 21:00:57 +08:00
fudongbai
45f17d59a0 update chapel ramanujan fork 2020-08-11 16:55:11 +08:00
fudongbai
85ebea9e8c
fix hex code of new smart contract 2020-08-09 18:09:43 +08:00
fudongbai
baae91db37
add upgrade height for rialto 2020-08-07 17:29:22 +08:00
HaoyangLiu
650d066757 resolve comment 2020-08-07 17:16:39 +08:00
HaoyangLiu
02154bb0f0 add multiple upgrade config 2020-08-07 17:15:09 +08:00
HaoyangLiu
13cca06be8 add beforeUpgrade and afterUpgrade 2020-08-07 17:15:09 +08:00
HaoyangLiu
4450b337c4 refactor upgrade config 2020-08-07 17:15:09 +08:00
HaoyangLiu
3789ea31dd improve upgrade config 2020-08-07 17:15:09 +08:00
HaoyangLiu
3f36e996df framework for upgrade system contract 2020-08-07 17:15:09 +08:00
zjubfd
a8c9e53eb0
enforce backoff time for out-turn validator (#23) 2020-08-07 17:06:29 +08:00
HaoyangLiu
8124e60e9d resolve best practice advice 2020-08-04 13:56:13 +08:00
zjubfd
5e4f5785c7
fix debug_traceTransaction crashed issue (#13) 2020-06-30 16:15:12 +08:00
fudongbai
1a2da608df add precompile light client contracts 2020-05-20 12:19:43 +08:00
fudongbai
2ac4ae8395 add consensus engine Parlia implement 2020-05-20 12:19:24 +08:00
Martin Holst Swende
6402c42b67
all: simplify and fix database iteration with prefix/start (#20808)
* core/state/snapshot: start fixing disk iterator seek

* ethdb, rawdb, leveldb, memorydb: implement iterators with prefix and start

* les, core/state/snapshot: iterator fixes

* all: remove two iterator methods

* all: rename Iteratee.NewIteratorWith -> NewIterator

* ethdb: fix review concerns
2020-04-15 14:08:53 +03:00
Marius van der Wijden
2a836bb259
core/rawdb: fix data race between Retrieve and Close (#20919)
* core/rawdb: fixed data race between retrieve and close

closes https://github.com/ethereum/go-ethereum/issues/20420

* core/rawdb: use non-atomic load while holding mutex
2020-04-14 18:13:47 +03:00
Raw Pong Ghmoa
15540ae992
cmd: deprecate --testnet, use named networks instead (#20852)
* cmd/utils: make goerli the default testnet

* cmd/geth: explicitly rename testnet to ropsten

* core: explicitly rename testnet to ropsten

* params: explicitly rename testnet to ropsten

* cmd: explicitly rename testnet to ropsten

* miner: explicitly rename testnet to ropsten

* mobile: allow for returning the goerli spec

* tests: explicitly rename testnet to ropsten

* docs: update readme to reflect changes to the default testnet

* mobile: allow for configuring goerli and rinkeby nodes

* cmd/geth: revert --testnet back to ropsten and mark as legacy

* cmd/util: mark --testnet flag as deprecated

* docs: update readme to properly reflect the 3 testnets

* cmd/utils: add an explicit deprecation warning on startup

* cmd/utils: swap goerli and ropsten in usage

* cmd/geth: swap goerli and ropsten in usage

* cmd/geth: if running a known preset, log it for convenience

* docs: improve readme on usage of ropsten's testnet datadir

* cmd/utils: check if legacy `testnet` datadir exists for ropsten

* cmd/geth: check for legacy testnet path in console command

* cmd/geth: use switch statement for complex conditions in main

* cmd/geth: move known preset log statement to the very top

* cmd/utils: create new ropsten configurations in the ropsten datadir

* cmd/utils: makedatadir should check for existing testnet dir

* cmd/geth: add legacy testnet flag to the copy db command

* cmd/geth: add legacy testnet flag to the inspect command
2020-04-09 12:09:58 +03:00
Felix Lange
c8e9a91672
build: upgrade to golangci-lint 1.24.0 (#20901)
* accounts/scwallet: remove unnecessary uses of fmt.Sprintf

* cmd/puppeth: remove unnecessary uses of fmt.Sprintf

* p2p/discv5: remove unnecessary use of fmt.Sprintf

* whisper/mailserver: remove unnecessary uses of fmt.Sprintf

* core: goimports -w tx_pool_test.go

* eth/downloader: goimports -w downloader_test.go

* build: upgrade to golangci-lint 1.24.0
2020-04-08 11:07:29 +03:00
Martin Holst Swende
8dc8941551
core/vm: use a callcontext struct (#20761)
* core/vm: use a callcontext struct

* core/vm: fix tests

* core/vm/runtime: benchmark

* core/vm: make intpool push inlineable, unexpose callcontext
2020-04-07 12:45:21 +03:00
ucwong
f98cabad7c
core: add missing Timer.Stop call in TestLogReorgs (#20870) 2020-04-02 16:04:45 +02:00
Wenbiao Zheng
03fe9de2cb
eth: add debug_accountRange API (#19645)
This new API allows reading accounts and their content by address range.

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2020-03-31 12:08:44 +02:00