Commit Graph

14911 Commits

Author SHA1 Message Date
Shane Bammel
98e7c9bc9a Prepare stable release 2024-02-23 15:25:55 -06:00
Shane Bammel
25bf2c3b16 Update PulseChain bootnodes 2024-02-21 14:15:03 -06:00
Shane Bammel
d095150747 Add build automation
Produces linux & windows binaries for both amd64 & arm64.
Publishes multi-arch docker images supporting both amd64 & arm64.
Automates gitlab releases.
2024-02-21 14:15:03 -06:00
Shane Bammel
f07d6b3748 Update mainnet config 2024-02-21 14:15:03 -06:00
Shane Bammel
56832bd1e6 Switch sacrifice credits based on chainID 2024-02-21 14:15:03 -06:00
Shane Bammel
3f79c6ea72 Allow for increased Shanghai time with PulseChain 2024-02-21 14:15:03 -06:00
Shane Bammel
d0418b45ee Add Shanghai time to Testnet-V4 2024-02-21 14:15:03 -06:00
Shane Bammel
f2634a468b Add network config for Testnet-V4 2024-02-21 14:15:03 -06:00
Shane Bammel
6e382ac942 Add padding to gas estimations
Adds a 20% buffer to gas estimations to reduce out-of-gas errors.
2024-02-21 14:15:03 -06:00
Shane Bammel
680085c60b Add v3 suffix to pulsechain-testnet 2024-02-21 14:15:03 -06:00
bretep
7d6be63969 Add PulseChain to devp2p 2024-02-21 14:15:03 -06:00
Shane Bammel
47d73c02dd Add bootnodes and dns config for testnet-v3 2024-02-21 14:15:03 -06:00
Shane Bammel
28d94dda61 Relax condition for updating chain config
This allows for converting any ethereum mainnet node to PulseChain
as long as its height is less than the PrimordialPulse fork block.
2024-02-21 14:15:03 -06:00
Shane Bammel
0485a24457 Update credits file
Includes updated sacrifice data & eth2 deposit refunds
2024-02-21 14:15:03 -06:00
Shane Bammel
72b2402a17 Explicitly set deposit contract nonce 2024-02-21 14:15:03 -06:00
Shane Bammel
4172bf63d9 Update readme & security file 2024-02-21 14:15:03 -06:00
Shane Bammel
c7bc97353b Update treasury address & testnet fork block 2024-02-21 14:15:03 -06:00
Shane Bammel
40db66c21c Add support for syncing pre-fork blocks 2024-02-21 14:15:03 -06:00
Shane Bammel
c9e7be708b Add PrimordialPulse support to clique for devnets 2024-02-21 14:15:02 -06:00
Shane Bammel
31af80ef64 Add PrimordialPulse block to banner 2024-02-21 14:15:02 -06:00
Shane Bammel
c3ebe78c30 Refactor pulse package 2024-02-21 14:15:02 -06:00
aggris2
ae76bb8539 update Pulse fork script to suicide the old ETH2 contract & write a new ETH2 contract & initialise zero hash array 2024-02-21 14:15:02 -06:00
aggris2
b933450ca9 add deposit contract code and zero hash array initialisation in pulse fork test 2024-02-21 14:15:02 -06:00
aggris2
e28c5b66fa add pulse fork test 2024-02-21 14:15:02 -06:00
Shane Bammel
3ba522aba1 Allow mismatching EIP158 ChainID if at fork 2024-02-21 14:15:02 -06:00
Shane Bammel
a96a211bbb Add support for PulseChain genesis 2024-02-21 14:15:02 -06:00
Shane Bammel
f8bf51978e Configure the PulseChain TTD 2024-02-21 14:15:02 -06:00
Shane Bammel
ed08fe5c5a Move sacrifice crediting to ethash 2024-02-21 14:15:02 -06:00
Shane Bammel
c49437707f Update mainnet chain id 2024-02-21 14:15:02 -06:00
Shane Bammel
7ef8508d7b Add flags for pulsechain and pulsechain-testnet 2024-02-21 14:15:02 -06:00
Shane Bammel
76e6e7133e Add placeholder config for pulsechain mainnet 2024-02-21 14:15:02 -06:00
Shane Bammel
bcb05b2957 Apply sacrifice credits 2024-02-21 14:15:02 -06:00
Shane Bammel
456b50c67d Add PulseChain config 2024-02-21 14:15:02 -06:00
Felix Lange
7f131dcbc9 Merge branch 'master' into release/1.13 2024-02-21 15:48:38 +01:00
Felix Lange
3b4ede7444 params: release go-ethereum v1.13.13 stable 2024-02-21 15:44:02 +01:00
Sina Mahmoodi
b47cf8fe1d
internal/ethapi: fix defaults for blob fields (#29037)
Co-authored-by: Martin HS <martin@swende.se>
2024-02-21 12:46:32 +01:00
colin
b9ca38b735
core/txpool: fix typo (#29036)
* fix typos

* address comments
2024-02-21 10:00:01 +02:00
Haotian
79e340fb12
params: add cancun upgrade banner (#29042)
params: add cancun banner

Signed-off-by: tmelhao <tmelhao@gmail.com>
Co-authored-by: tmelhao <tmelhao@gmail.com>
2024-02-21 09:59:21 +02:00
buddho
bba3fa9af9
core,eth,internal: fix typo (#29024) 2024-02-20 19:42:48 +08:00
buddho
7f5e96dc6c
core/txpool: fix typo (#29031) 2024-02-20 12:08:56 +02:00
Péter Szilágyi
f4852b8ddc
core/txpool, eth, miner: retrieve plain and blob txs separately (#29026)
* core/txpool, eth, miner: retrieve plain and blob txs separately

* core/txpool: fix typo, no farming

* miner: farm all the typos

Co-authored-by: Martin HS <martin@swende.se>

---------

Co-authored-by: Martin HS <martin@swende.se>
2024-02-20 11:37:23 +02:00
Martin HS
ac0ff04460
core/vm, params: ensure order of forks, prevent overflow (#29023)
This PR fixes an overflow which can could happen if inconsistent blockchain rules were configured. Additionally, it tries to prevent such inconsistencies from occurring by making sure that merge cannot be enabled unless previous fork(s) are also enabled.
2024-02-19 16:29:59 +01:00
Péter Szilágyi
6fb0d0992b
core/txpool, miner: speed up blob pool pending retrievals (#29008)
* core/txpool, miner: speed up blob pool pending retrievals

* miner: fix test merge issue

* eth: same same

* core/txpool/blobpool: speed up blobtx creation in benchmark a bit

* core/txpool/blobpool: fix linter

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-02-19 15:59:40 +02:00
cui
5d984796af
core: using math.MaxUint64 instead of 0xffffffffffffffff (#29022) 2024-02-19 13:03:58 +01:00
rjl493456442
034bc4669f
ethstats: prevent panic if head block is not available (#29020)
This pull request fixes a flaw in ethstats which can lead to node crash

A panic could happens when the local blockchain is reorging which causes the original head block not to be  reachable (since number->hash canonical mapping is deleted). In order to prevent the panic, the block nilness is now checked in ethstats.
2024-02-19 07:25:53 +01:00
Péter Szilágyi
593e303485
core/txpool, eth, miner: pre-filter dynamic fees during pending tx retrieval (#29005)
* core/txpool, eth, miner: pre-filter dynamic fees during pending tx retrieval

* miner: fix typo

* core/txpool: handle init-error in blobpool without panicing

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-02-17 13:37:14 +02:00
Sina Mahmoodi
95741b1844
core: move genesis alloc types to core/types (#29003)
We want to use these types in public user-facing APIs, so they shouldn't be in core.

Co-authored-by: Felix Lange <fjl@twurst.com>
2024-02-16 19:05:33 +01:00
Péter Szilágyi
3c30de219f
core/txpool/blobpool: update the blob db with corruption handling (#29001)
Updates billy to a more recent version which is more robust in the face of corrupt data (e.g. after a hard crash)
2024-02-16 16:33:14 +01:00
colin
a193bb0c73
core/txpool/legacypool: remove a redundant heap.Init (#28910)
Co-authored-by: Martin HS <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-02-15 19:50:17 +01:00
Felix Lange
1bdf8b9b2d
cmd/devp2p/internal/ethtest: some fixes for the eth test suite (#28996)
Improving two things here:

On hive, where we look at these tests, the Go code comment above the test
is not visible. When there is a failure, it's not obvious what the test is actually
expecting. I have converted the comments in to printed log messages to
explain the test more.

Second, I noticed that besu is failing some tests because it happens to request
a header when we want it to send transactions. Trying the minimal fix here to
serve the headers.

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
2024-02-15 19:43:37 +01:00