Commit Graph

585 Commits

Author SHA1 Message Date
Andrew Ashikhmin
391b267552
Schedule Dencun for Görli (#9116)
See https://github.com/ethereum/EIPs/pull/8051 &
https://github.com/ethereum/execution-specs/pull/860
2024-01-03 15:49:10 +01:00
4rgon4ut
8bfff94941
Update gnosis bootnodes (#8907)
Title seems selfdescribing.

Bootnodes list source:

https://github.com/gnosischain/configs/blob/main/mainnet/bootnodes_execution.yaml
2023-12-06 14:20:25 +01:00
Andrew Ashikhmin
6a70aaaaf2
params: begin 2.56 release cycle (#8895) 2023-12-04 14:47:11 +01:00
Anshal Shukla
8d1758ceea
Add support for amoy testnet (#8674)
Co-authored-by: Mark Holt <mark@distributed.vision>
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2023-11-30 08:19:52 +07:00
battlmonstr
5c57204e2d
bor: update mumbai bootnodes (#8671)
Update the list with nodes collected by observer
2023-11-15 15:16:23 +01:00
Andrew Ashikhmin
d60356e05b
params: begin 2.55 release cycle (#8715) 2023-11-13 12:41:39 +01:00
Andrew Ashikhmin
aeec5221c9
params: remove dev from v2.54.0 (#8713) 2023-11-13 11:48:44 +01:00
Arpit Temani
4297a31155
agra hf mainnet (#8684)
Add Agra HF details for bor mainnet.
2023-11-09 19:03:45 +05:30
battlmonstr
3698e7f476
devnet: configuration fixes (#8592)
* fix "genesis hash does not match" when dev nodes connect  
The "dev" nodes need to have the same --miner.etherbase in order to
generate the same genesis ExtraData by DeveloperGenesisBlock(). Override
DevnetEtherbase global var that's used if --miner.etherbase is not
passed. (for NonBlockProducer case)

* fix missing private key for the hardcoded DevnetEtherbase  
Fixes panic if SigKey is not found. Bor non-producers will use a default
`DevnetEtherbase` while Dev nodes modify it. Save hardcoded
DevnetEtherbase/DevnetSignPrivateKey into accounts so that SigKey can
recover it.

* refactor devnet.node to contain Node config  
This avoids interface{} type casts and fixes an error with
Heimdall.validatorSet == nil

* add connection retries to rpcCall and Subscribe of requestGenerator  
Fixes "connection refused" errors due to node not ready to handle early
RPC requests.

* fix deadlock in Heimdall.NodeStarted

* fix GetBlockByNumber
Fixes "cannot unmarshal string into Go struct field body.transactions of
type jsonrpc.RPCTransaction"

* demote "no of blocks on childchain is less than confirmations
required" to Info (#8626)

* demote "mismatched pending subpool size" to Debug (#8615)

* revert wiggle testing code
2023-11-01 11:08:47 +01:00
Anshal Shukla
83bbe0dd37
Fix Agra hf scheduling on Mumbai (#8620)
Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
2023-10-30 15:18:47 +01:00
Andrew Ashikhmin
e1c71bda2e
params: begin 2.54 release cycle (#8582) 2023-10-25 15:51:58 +02:00
Andrew Ashikhmin
656c3d239e
params: remove dev from v2.53.0 (#8581) 2023-10-25 15:05:05 +02:00
Andrew Ashikhmin
ee942473d9
Replace eip1559FeeCollector with burntContract (#8553)
burntContract, introduced in PR #8504, is more generic than
eip1559FeeCollector
2023-10-22 16:23:40 +02:00
Anshal Shukla
7dce1268ab
Agra HF (#8504)
Adds agra HF to the bor consensus
2023-10-21 01:16:19 +05:30
Alex Sharov
3ac9f493b6
move chainname and snapcfg packages to erigon-lib (#8508) 2023-10-18 13:37:39 +07:00
Andrew Ashikhmin
b60642fa5a
Configure EIP-4844 parameters for Gnosis (#8464)
See https://github.com/gnosischain/specs/pull/20 &
https://github.com/gnosischain/specs/pull/24
2023-10-13 11:43:16 +02:00
Andrew Ashikhmin
fe85648442
params: begin 2.53 release cycle (#8433) 2023-10-10 19:56:35 +02:00
Andrew Ashikhmin
761af94b22
params: remove dev from v2.52.0 (#8432) 2023-10-10 19:13:56 +02:00
Andrew Ashikhmin
5a8e462f7f
params: begin 2.52 release cycle (#8393) 2023-10-06 16:07:49 +02:00
Andrew Ashikhmin
a0160beee4
params: remove dev from v2.51.0 (#8392) 2023-10-06 15:30:06 +02:00
Andrew Ashikhmin
0bd6d77acd
Remove CalcuttaBlock in favour of BlockAlloc (#8371)
System contract upgrades for Polygon are already handled by the
`BlockAlloc` logic and there's no need to duplicate it with the
`CalcuttaBlock` logic (there's no Calcutta in
https://github.com/maticnetwork/bor).
2023-10-05 15:39:57 +02:00
Mark Holt
8d7a4bf4fb
Bor mainnet bootnode update (#8329)
Polygon updated these for bor recently, using our current bootnode can
cause a chain halt due to poor network connectivity
2023-09-29 16:52:58 +01:00
Andrew Ashikhmin
669503d38f
params: begin 2.51 release cycle (#8314) 2023-09-28 10:52:13 +02:00
Andrew Ashikhmin
f00cf3720a
params: release 2.50.0 (#8313) 2023-09-28 09:46:00 +02:00
Andrew Ashikhmin
6afcd7eeb6
Update BeaconRootsAddress (#8294)
Set BeaconRootsAddress to `0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02`
in preparation for
[dencun-devnet-9](https://notes.ethereum.org/@ethpandaops/dencun-devnet-9)
per https://github.com/ethereum/EIPs/pull/7672. Hopefully this will be
the final change to BeaconRootsAddress.

Also update execution-spec-tests to
[v1.0.5](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.5).
2023-09-26 17:44:36 +02:00
Andrew Ashikhmin
ec2f50f74e
Upgrade execution-spec-tests to Cancun Devnet 9 Release 2 (#8262)
Upgrade execution-spec-tests to
[v1.0.4](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.4).

Set BeaconRootsAddress to `0xbEAC020008aFF7331c0A389CB2AAb67597567d7a`
in preparation for
[dencun-devnet-9](https://notes.ethereum.org/@ethpandaops/dencun-devnet-9)
per https://github.com/ethereum/EIPs/pull/7672.
2023-09-22 08:53:21 +02:00
racytech
88ddd8caf0
holesky genesis update (#8225) 2023-09-19 04:36:13 +06:00
Andrew Ashikhmin
a6309fe02e
Upgrade execution-spec-tests to Cancun Devnet 9 Release (#8208)
Upgrade execution-spec-tests to
[v1.0.3](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.3).

Set BeaconRootsAddress to `0xbEac00dDB15f3B6d645C48263dC93862413A222D`
in preparation for
[dencun-devnet-9](https://notes.ethereum.org/@ethpandaops/dencun-devnet-9).
2023-09-18 08:45:52 +02:00
Andrew Ashikhmin
d025a8b391
Restore version to 2.50.0-dev (#8177) 2023-09-12 08:02:57 +02:00
alex.sharov
cc343ceda2 save 2023-09-12 10:33:58 +07:00
yperbasis
205eeda01f Bump patch version 2023-09-11 16:29:08 +02:00
alex.sharov
97255efdb4 merge stable 2023-09-08 19:26:14 +07:00
Andrew Ashikhmin
ba1e4679fc
Remove unused methods in version.go (#8144) 2023-09-06 11:02:04 +02:00
Andrew Ashikhmin
75be4fee3d
stable VersionModifier (#8138) 2023-09-06 08:44:01 +02:00
yperbasis
a6a0a851b6 Bump release version 2023-09-06 08:29:28 +02:00
Mark Holt
f05a6ab43e
Bor mining benchmark (#8096)
Replacement for: https://github.com/ledgerwatch/erigon/pull/7998 with
windows fixes

---------

Co-authored-by: SHIVAM SHARMA <shivam691999@gmail.com>
2023-08-30 10:25:02 +01:00
Andrew Ashikhmin
63628618eb
Small fixes to Holesky config (#8092)
Small fixes to PR #8064:

- Don't set cancunTime for Holesky – otherwise we'll have to overwrite
it later using the `--override.cancun` flag
- We don't have block snapshots for Holesky yet
- Add Holesky to `isChainIDPoS`

See https://github.com/eth-clients/holesky/pull/68
2023-08-29 16:29:14 +02:00
battlmonstr
8e653b54ee
bor: more mumbai bootnodes (#8077) 2023-08-28 12:23:42 +02:00
racytech
f477348a50
Support for --chain=holesky (#8064) 2023-08-26 16:31:29 +06:00
Andrew Ashikhmin
1fd9d20e14
EIP-4788 v2 (no precompile) (#8038)
See https://github.com/ethereum/EIPs/pull/7456 &
https://github.com/ethereum/go-ethereum/pull/27849. Also set the gas
limit for system calls to 30M (previously 2^64-1), which is in line with
the [Gnosis
spec](https://github.com/gnosischain/specs/blob/master/execution/withdrawals.md#specification),
but should be doubled checked for Gnosis Chain.
2023-08-24 17:10:50 +02:00
battlmonstr
a83a478bae
bor: fix panic reading total difficulty for isChainPoS (#8032)
because bor doesn't have headers,
ReadCurrentHeader returns nil as expected

refactor isChainPoS to only call ReadCurrentHeader/ReadTd if needed and
use chain config IDs
2023-08-22 13:40:36 +02:00
battlmonstr
b7c4dcd5d1
p2p: add sepolia DNS discovery host name (#8027) 2023-08-22 10:51:21 +02:00
Giulio rebuffo
e3a59ed902
Better caplin logging and logic (#7992) 2023-08-10 22:34:58 +02:00
Andrew Ashikhmin
ae76df1b8a
Update execution-spec-tests to v1.0.1 (#7980)
[v1.0.1](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.1)
"Cancun Devnet-8 Pre-Release" adds some tests for Cancun. This PR only
fixes a couple of issues; the majority of the new tests are still
failing and thus are skipped in `TestExecutionSpec`.
2023-08-08 15:01:35 +02:00
Somnath Banerjee
d91f4263dc
EIP-4788: Beacon block root and stateful precompile (#7888) 2023-08-01 16:01:26 +05:30
Andrew Ashikhmin
7d35c6b737
EIP-4844: Rename "data gas" to "blob gas" (#7937)
See https://github.com/ethereum/EIPs/pull/7354 &
https://github.com/ethereum/consensus-specs/pull/3461. Prerequisite:
https://github.com/ledgerwatch/erigon-lib/pull/1058
2023-07-28 12:12:05 +02:00
ledgerwatch
ed886a11b6
Bump version to 2.49.0 in devel (#7896) 2023-07-14 09:17:18 +01:00
Andrew Ashikhmin
af504f675a
Use EIP-4844 constants from erigon-lib (#7874)
Small refactoring after
https://github.com/ledgerwatch/erigon-lib/pull/1037
2023-07-11 17:53:00 +02:00
Andrew Ashikhmin
7d4c678a90
Add new Gnosis boot nodes (#7867)
See https://github.com/gnosischain/configs/pull/13
2023-07-10 18:50:26 +02:00
Mark Holt
5935b11b24
Devnet macos startup and windows committed memory startup fixes (#7832)
The fixes here fix a couple of issues related to devnet start-up

1. macos threading and syscall error return where causing multi node
start to both not wait and fail
2. On windows creating DB's with the default 2 TB mapsize causes the os
to reserve about 4GB of committed memory per DB. This may not be used -
but is reserved by the OS - so a default bor node reserves around 10GB
of storage. Starting many nodes causes the OS page file to become
exhausted.

To fix this the consensus DB's now use the node's OpenDatabase function
rather than their own, which means that the consensus DB's take notice
of the config.MdbxDBSizeLimit.

This fix leaves one 4GB committed memory allocation in the TX pool which
needs its own MapSize setting.

---------

Co-authored-by: Alex Sharp <akhounov@gmail.com>
2023-07-02 22:37:23 +01:00