Commit graph

14854 commits

Author SHA1 Message Date
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
Shawn
a300b7fa44 reference cherrypick branch 2023-12-18 02:03:41 -08:00
Shawn
e2acd14a9f partial override for sepolia 2023-12-18 02:03:41 -08:00
Shawn
4a6c2eb08c ref hyperlane fork v3.3 + necessary config change 2023-12-18 02:03:41 -08:00
Felix Lange
5b22a472d6
p2p/discover: add liveness check in collectTableNodes (#28686)
* p2p/discover: add liveness check in collectTableNodes

* p2p/discover: fix test

* p2p/discover: rename to appendLiveNodes

* p2p/discover: add dedup logic back

* p2p/discover: simplify

* p2p/discover: fix issue found by test
2023-12-18 10:47:21 +01:00
alex
edc864f9ba
all: fix typos in comments (#28682)
chore(core,eth):fix a couple of typos
2023-12-18 09:35:12 +01:00
kant
9662e504e9 revert snapshot and cache configurations 2023-12-17 03:25:57 -08:00
kant
a0bd0164fe resolving merge conflict 2023-12-17 03:23:12 -08:00
kant
fceb6b9829 Merge branch 'master' of github.com:primevprotocol/go-ethereum 2023-12-17 03:19:09 -08:00
kant
b2d9df8799 Adding gas used metric 2023-12-17 03:17:47 -08:00
Shawn
d29cfe9420 mechanism adjust + testing script 2023-12-15 16:05:04 -08:00
FletcherMan
f1794ba278
miner: eliminate the dead loop possibility for newWorkLoop and mainLoop (#28677)
discard the intervalAdjust message if the channel is full
2023-12-15 11:48:55 +08:00
alok
adc5f59e44 Increase txpool account queue 2023-12-14 14:56:25 +05:30
Shawn
8c8dce5438 Target to print hyperlane artifact 2023-12-14 01:10:52 -08:00
Shawn
c1588add8e rm requirement that create2 deployer has exact balance on genesis 2023-12-14 00:55:04 -08:00
alok
d3ad2c9d7d Add more funds to initial accounts 2023-12-14 14:09:54 +05:30
Shawn
a9259f73f8
Merge pull request #8 from primevprotocol/deploy-create2-maketarget
deploy create2 proxy script and makefile target
2023-12-13 22:30:29 -08:00
Shawn
5d8e091c2c deploy create2 proxy script and makefile target 2023-12-13 21:32:59 -08:00
kant777
33711ab4bd
Merge branch 'ethereum:master' into master 2023-12-14 00:20:49 -05:00
Shawn
5ab8d3c4af reduce contract deployer genesis amount to only what's needed 2023-12-13 21:20:00 -08:00
Shawn
0fd81dbb7c contract bytecode changed -> update hardcoded create2 addr 2023-12-13 19:56:24 -08:00
Shawn
0d63eca03f
Merge pull request #7 from primevprotocol/precompile-updates
precompile updates
2023-12-13 16:09:23 -08:00
Elias Rad
0f74aad641
all: fix typos in comments (#28662)
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-13 23:33:46 +01:00
Ursulafe
b2ced97ac4
eth/fetcher, eth/gasestimator: fix typos in comments (#28675) 2023-12-13 23:32:17 +01:00
Shawn
80679748c9 whitelist filtering 2023-12-13 03:31:44 -08:00
Shawn
a73391dc42 Update contracts_with_ctx.go 2023-12-13 03:12:27 -08:00
Shawn
782bb41681 todos 2023-12-13 03:12:27 -08:00
Shawn
53041a03e7 whitelistaddr var and less params 2023-12-13 03:12:27 -08:00
Shawn
e0fd766386 allow unprotected txes from bootnode to enable create2 deployment 2023-12-13 03:11:48 -08:00
Shawn
70e8080879 fund create2 address 2023-12-13 00:44:15 -08:00
Shawn
8a87924515 Update Makefile 2023-12-12 21:12:27 -08:00
kant777
d972c74f5e
Merge branch 'ethereum:master' into master 2023-12-12 21:37:42 -05:00
Shawn
6d2a578a50 update subnets and bootnode ip 2023-12-12 15:26:56 -08:00
Shawn
577f22d337 Merge branch 'master' into shawn/local-l1 2023-12-12 15:24:13 -08:00
ucwong
81fd1b3cf9
core/txpool : small cleanup refactors (#28654) 2023-12-12 17:23:36 +02:00
Ford
17c2b3c194
eth/protocols/eth: fix typos in comments (#28652) 2023-12-12 14:47:59 +01:00
Ng Wei Han
a3ca1b2818
cmd/utils: fix HTTPHost, WSHost flag priority (#28669)
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-12 14:40:50 +01:00
alok
9ae49cf5f9 chore: fix bootnode address in scripts 2023-12-12 16:06:11 +05:30