14166 Commits

Author SHA1 Message Date
Shane Bammel
889dcc5ae2 Version for v1.0.2 release 2023-04-20 23:21:09 -05:00
Shane Bammel
63fde364a1 Add padding to gas estimations
Adds a 20% buffer to gas estimations to reduce out-of-gas errors.
2023-04-20 23:20:56 -05:00
Shane Bammel
2d3f7c679e Version for v1.0.1 release 2023-04-20 23:20:56 -05:00
Shane Bammel
16ad35fbab Add v3 suffix to pulsechain-testnet 2023-04-20 23:20:46 -05:00
Shane Bammel
13dbf4427d Prepare stable release 2023-04-20 23:10:55 -05:00
bretep
270357ff1d Add PulseChain to devp2p 2023-04-20 23:10:55 -05:00
Shane Bammel
d89b5d8719 Add bootnodes and dns config for testnet-v3 2023-04-20 23:10:53 -05:00
Shane Bammel
52282be5b1 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.
2023-04-20 23:08:07 -05:00
Shane Bammel
e3a86574ab Update credits file
Includes updated sacrifice data & eth2 deposit refunds
2023-04-20 23:06:16 -05:00
Shane Bammel
458cad5779 Explicitly set deposit contract nonce 2023-04-20 23:06:16 -05:00
Shane Bammel
fa5a439eac Update readme & security file 2023-04-20 23:06:14 -05:00
Shane Bammel
30e4c6f5d2 Update treasury address & testnet fork block 2023-04-20 22:52:21 -05:00
Shane Bammel
2b65e3a86a Add support for syncing pre-fork blocks 2023-04-20 22:51:58 -05:00
Shane Bammel
1f1125379c Fix comments 2023-04-20 16:25:23 -05:00
Shane Bammel
c9bf9b75fb Add PrimordialPulse support to clique for devnets 2023-04-20 16:25:21 -05:00
Shane Bammel
891d52c375 Add PrimordialPulse block to banner 2023-04-20 16:22:35 -05:00
Shane Bammel
f30d0d9b23 Improve pulse deposit contract test 2023-04-20 16:22:35 -05:00
Shane Bammel
85e33a332b Simplify deposit contract code and storage 2023-04-20 16:22:35 -05:00
Shane Bammel
1e763ef9e5 Refactor pulse package 2023-04-20 16:22:33 -05:00
aggris2
ef2a702648 update Pulse fork script to suicide the old ETH2 contract & write a new ETH2 contract & initialise zero hash array 2023-04-20 16:20:59 -05:00
aggris2
339b9b318b add deposit contract code and zero hash array initialisation in pulse fork test 2023-04-20 16:20:59 -05:00
aggris2
136aca0b84 add pulse fork test 2023-04-20 16:20:59 -05:00
Shane Bammel
4b7b604b20 Allow mismatching EIP158 ChainID if at fork 2023-04-20 16:20:56 -05:00
Shane Bammel
16dca491c6 Add support for PulseChain genesis 2023-04-20 16:16:35 -05:00
Shane Bammel
681173b557 Configure the PulseChain TTD 2023-04-20 16:13:33 -05:00
Shane Bammel
ea5ecffaca Move sacrifice crediting to ethash 2023-04-20 16:13:26 -05:00
Shane Bammel
0d1e9fb4fc Update mainnet chain id 2023-04-20 16:06:57 -05:00
Shane Bammel
bf5b38d7c4 Add flags for pulsechain and pulsechain-testnet 2023-04-20 16:06:52 -05:00
Shane Bammel
dbc24a7c0a Add placeholder config for pulsechain mainnet 2023-04-20 14:32:26 -05:00
Shane Bammel
a4fa66f78c Update version 2023-04-20 14:32:15 -05:00
Shane Bammel
d39eeb0f2f Apply sacrifice credits 2023-04-20 14:30:46 -05:00
Shane Bammel
bb8cbea609 Add PulseChain config 2023-04-20 14:22:42 -05:00
Martin Holst Swende
ea9e62ca3d
params: go-ethereum v1.11.6 stable upstream-v1.11.6 2023-04-20 20:14:51 +02:00
rjl493456442
99f81d2724
all: refactor trie API (#26995)
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned.

The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.
2023-04-20 06:57:24 -04:00
s7v7nislands
ae93e0b484
metrics: use atomic type (#27121) 2023-04-20 03:36:54 -04:00
Alex Beregszaszi
3f7afc3f57
core/vm: order opcodes properly (#27113) 2023-04-20 02:52:00 -04:00
Adrian Sutton
f2df2b1981
cmd/geth: rename --vmodule to --log.vmodule (#27071)
renames `--vmodule` to `--log.vmodule`, and prints a warning if the old form is used.
2023-04-19 07:18:02 -04:00
Martin Holst Swende
2b0a34bea6
cmd/devp2p: make crawler-route53-updater less verbose (#27116)
Follow-up to #26697, makes the crawler less verbose on route53-based scenarios.

It also changes the loglevel from debug to info on Updates, which are typically the root, and can be interesting to see.
2023-04-19 06:46:56 -04:00
s7v7nislands
3768b00747
consensus/ethash: use atomic type (#27068) 2023-04-18 14:54:06 +02:00
joohhnnn
b1972627d9
p2p: access embedded fields of Server directly (#27078) 2023-04-18 11:57:08 +02:00
Delweng
5e4d726e2a
params: remove EIP150Hash from chainconfig (#27087)
The EIP150Hash was an idea where, after the fork, we hardcoded the forked hash as an extra defensive mechanism. It wasn't really used, since forks weren't contentious and for all the various testnets and private networks it's been a hassle to have around. 

This change removes that config field. 

---------

Signed-off-by: jsvisa <delweng@gmail.com>
2023-04-18 03:49:09 -04:00
Anusha
cb66eba85a
core: fix comment to reflect function name (#27070) 2023-04-17 11:02:31 -04:00
Taeguk Kwon
bedf2856d1
signer/core: rename testdata files (#27063)
Sets a meaningful name on test-files
2023-04-17 10:36:47 -04:00
noel
8fe807c8f2
cmd/devp2p: fix erroneous log output in crawler (#27089)
cmd/devp2p: fix log of ignored recent nodes counter
2023-04-17 10:29:27 -04:00
Parithosh Jayanthi
5aa5295cf9
params: new sepolia bootnodes (#27099)
New sepolia bootnodes managed by EF devops
2023-04-17 04:15:25 -04:00
Péter Szilágyi
4a9fa31450
Merge pull request #27051 from sandakersmann/master
build: upgrade -dlgo version to Go 1.20.3
2023-04-08 17:13:55 +03:00
rjl493456442
b946b7a13b
core, miner: drop transactions from the same sender when error occurs (#27038)
This PR unifies the error handling in miner. 

Whenever an error occur while applying a transaction, the transaction should be regarded as invalid and all following transactions from the same sender not executable because of the nonce restriction. The only exception is the `nonceTooLow` error which is handled separately.
2023-04-05 07:09:25 -04:00
Marius van der Wijden
230df98e4d
core/txpool: disallow future churn by remote txs (#26907)
Prior to this change, it was possible that transactions are erroneously deemed as 'future' although they are in fact 'pending', causing them to be dropped due to 'future' not being allowed to replace 'pending'. 

This change fixes that, by doing a more in-depth inspection of the queue.
2023-04-05 04:59:32 -04:00
Marius Kjærstad
9d37102134
build: upgrade -dlgo version to Go 1.20.3 2023-04-04 22:24:30 +02:00
s7v7nislands
2adce0b066
eth/tracers: use atomic type (#27031)
Use the new atomic types in package eth/tracers

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2023-04-04 12:34:52 -04:00