Commit graph

14841 commits

Author SHA1 Message Date
kant777
0201a57820
Merge branch 'ethereum:master' into master 2023-12-26 12:35:58 -08:00
cygaar
d2e3cb894b
core/state: logic equivalence for GetCodeHash (#28733) 2023-12-26 16:38:11 +08:00
Martin Holst Swende
8d0391806f
params: begin v1.13.9 release cycle 2023-12-22 13:46:27 +01:00
Martin Holst Swende
904a278054
params: go-ethereum v1.13.8 stable 2023-12-22 13:37:16 +01:00
Shawn
6bc8d509a4 Update README.md 2023-12-22 02:08:35 -08:00
Shawn
45d5206824 Update README.md 2023-12-22 02:05:20 -08:00
Shawn
aa01e2aa50 update hardcoded whitelist addr + update hyperlane to commit that does same 2023-12-22 01:42:23 -08:00
rjl493456442
f469470aff
core/rawdb: improve state scheme checking (#28724)
This pull request improves the condition to check if path state scheme is in use. 

Originally, root node presence was used as the indicator if path scheme is used or not. However due to fact that root node will be deleted during the initial snap sync, this condition is no longer useful.

If PersistentStateID is present, it shows that we've already configured for path scheme.
2023-12-22 07:50:41 +01:00
kant777
19f718f6e9
Merge branch 'ethereum:master' into master 2023-12-21 20:13:57 -08:00
rjl493456442
cca94792a4
core, cmd, trie: fix the condition of pathdb initialization (#28718)
Original problem was caused by #28595, where we made it so that as soon as we start to sync, the root of the disk layer is deleted. That is not wrong per se, but another part of the code uses the "presence of the root" as an init-check for the pathdb. And, since the init-check now failed, the code tried to re-initialize it which failed since a sync was already ongoing.

The total impact being: after a state-sync has begun, if the node for some reason is is shut down, it will refuse to start up again, with the error message: `Fatal: Failed to register the Ethereum service: waiting for sync.`. 

This change also modifies how `geth removedb` works, so that the user is prompted for two things: `state data` and `ancient chain`. The former includes both the chaindb aswell as any state history stored in ancients. 

---------

Co-authored-by: Martin HS <martin@swende.se>
2023-12-21 20:28:32 +01:00
kant777
3f5d78ec8d
Merge branch 'ethereum:master' into master 2023-12-21 09:27:50 -08:00
kant777
8b94ad9386
Update README.md 2023-12-21 09:21:41 -08:00
kant777
83a287c717
Update docker-compose.yml 2023-12-21 04:35:31 -08:00
kant777
6e3b1ba6bf
Update Dockerfile 2023-12-21 04:33:01 -08:00
kant777
b2827c904a
Update entrypoint.sh 2023-12-21 04:32:06 -08:00
kant777
70dbd9dd27
Update entrypoint.sh 2023-12-21 04:31:22 -08:00
Shawn
dbb4879783 ref correct version of hyperlane 2023-12-21 00:13:05 -08:00
Shawn
ff02b23781 change hardcoded whitelistaddr + change deployer acct + docs 2023-12-20 23:33:48 -08:00
Shawn
0977c3e1d9 comment 2023-12-20 23:27:11 -08:00
Shawn
135d31202d hyperlane v3.5 cli works 2023-12-20 22:57:01 -08:00
Shawn
ae562bcb31 bridge test sh script 2023-12-20 19:47:04 -08:00
Shawn
f19ee413d0 Revert "Update agent images"
This reverts commit d4fd8fe1a1.
2023-12-20 16:24:46 -08:00
lightclient
577be37e0e
cmd/devp2p: update eth/snap protocol test suites for PoS (#28340)
Here we update the eth and snap protocol test suites with a new test chain,
created by the hivechain tool. The new test chain uses proof-of-stake. As such,
tests using PoW block propagation in the eth protocol are removed. The test suite
now connects to the node under test using the engine API in order to make it
accept transactions. 

The snap protocol test suite has been rewritten to output test descriptions and
log requests more verbosely.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-20 17:23:48 +01:00
Felix Lange
8c2d455ccd
build: upgrade to golangci-lint v1.55.2 (#28712)
This is primarily to make lint work again on macOS 14. The older version of golangci-lint kept crashing. 

Also included is a fix for a goroutine leak in the recently-introduced function MustRunCommandWithOutput.
2023-12-20 15:36:10 +01:00
Martin HS
d3452a22cc
accounts: properly close managed wallets when closing manager (#28710) 2023-12-20 13:41:40 +01:00
Shawn
04f3f15fbd check for empty response in deploy create2 script 2023-12-20 02:52:21 -08:00
Felix Lange
7124057bad
internal/build: fix crash in MustRunCommandWithOutput (#28709) 2023-12-20 07:56:41 +01:00
Shawn
c25caee4f3 Update README.md 2023-12-19 14:00:04 -08:00
Shawn
f38635f59b remove verbose ism config 2023-12-19 13:31:04 -08:00
Felix Lange
9258a44b8f params: begin go-ethereum v1.13.8 release cycle 2023-12-19 13:32:25 +01:00
Felix Lange
3fd568855f params: go-ethereum v1.13.7 stable 2023-12-19 13:25:03 +01:00
Shawn
8902be9d8d
Merge pull request #6 from primevprotocol/shawn/local-l1
feat: local L1
2023-12-19 03:04:00 -08:00
Shawn
1602d44fa9 docs and naming 2023-12-19 02:50:58 -08:00
Shawn
64cb65e90c Merge branch 'master' into shawn/local-l1 2023-12-19 02:38:05 -08:00
Shawn
7754f7e0bd
Merge pull request #10 from primevprotocol/hyperlane-v3.3
Hyperlane v3.3
2023-12-19 02:28:07 -08:00
Shawn
b3a6ec6102 use up to date multisig 2023-12-19 02:25:43 -08:00
dependabot[bot]
0cc192bd3a
build(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 (#28702)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 10:50:02 +01:00
Martin HS
435bed5da0
ci: disable lint on travis (#28706) 2023-12-19 10:35:02 +01:00
Martin HS
5a9dda64ce
.travis: set lower GOGC value (#28705)
As documented on https://golangci-lint.run/usage/performance/ , a lower
GOGC value causes less peak mem consumption when running the linter.

Exceeding 3Gb is a common cause for build failures, according to
https://docs.travis-ci.com/user/common-build-problems/#my-build-script-is-killed-without-any-error
2023-12-19 09:24:23 +01:00
Shawn
17ed890611
Merge pull request #9 from primevprotocol/adjust-fee-mechanism
feat: Adjust fee mechanism
2023-12-19 00:23:36 -08:00
Martin HS
952b343cb3
build: make linter emit output (#28704) 2023-12-19 08:55:04 +01:00
wangyifan
cd58897f18
core/rawdb: implement size reporting for live items in freezer_table (#28525)
This is the fix to issue #27483. A new hiddenBytes() is introduced to calculate the byte size of hidden items in the freezer table. When reporting the size of the freezer table, size of the hidden items will be subtracted from the total size.

---------

Co-authored-by: Yifan <Yifan Wang>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2023-12-18 20:10:54 +01:00
Delweng
54a400ee71
internal/ethapi: ethSendTransaction check baseFee (#27834)
If the EIP-1559 is activated, reject 0-priced transactions in the rpc level
2023-12-18 20:09:41 +01:00
Felix Lange
4410c1416a params: begin v1.13.7 release cycle 2023-12-18 19:10:11 +01:00
Felix Lange
a18b845ecd params: release go-ethereum v1.13.6 stable 2023-12-18 18:53:47 +01:00
Delweng
c18c5c3d92
cmd/evm: t8n support custom tracers (#28557)
This change implements ability for the `evm t8n` tool to use custom tracers; either 'native' golang tracers or javascript tracers.
2023-12-18 15:16:25 +01:00
Martin HS
553bafc127
cmd/evm, cmd/clef, cmd/bootnode: fix / unify logging (#28696)
This change fixes a problem with our non-core binaries: evm, clef, bootnode.

First of all, they failed to convert from legacy loglevels 1 to 5, to the new slog loglevels -4 to 4.

Secondly, the logging was actually setup in the init phase, and then overridden in the main. This is not needed for evm, since it used the same flag name as the main geth verbosity. Better to let the flags/internal handle the logging init.
2023-12-18 14:11:27 +01:00
jwasinger
05bbc56677
cmd/evm: default to mirror mainnet forks enabled (#28691)
cmd/evm:  default to using dev chain config (all mainnet HFs activated at block/timestamp 0
2023-12-18 13:56:27 +01:00
Sebastian Stammler
02766d349a
internal/flags: add missing flag types for auto-env-var generation (#28692)
Certain flags, such as `--rpc.txfeecap` currently do not have an env-var auto-generated for them. This change adds three missing cli flag types to the auto env-var helper function to fix this.
2023-12-18 13:28:41 +01:00
Shawn
d4fd8fe1a1 Update agent images 2023-12-18 03:21:15 -08:00