Commit graph

14775 commits

Author SHA1 Message Date
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
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
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
kant777
6d352b090a
Update entrypoint.sh 2023-12-12 01:56:16 -08:00
kant
6506fd03ab name change 2023-12-11 22:27:40 -08:00
kant
3ce39c201a moving to shared network 2023-12-11 20:39:50 -08:00
kant
b3e168eafa cloning contract repo as part of geth poa 2023-12-11 18:22:54 -08:00
kant
8df9f35976 changing from bash to sh 2023-12-11 18:00:26 -08:00
kant
e660dc1481 Merge branch 'master' of github.com:primevprotocol/go-ethereum 2023-12-11 17:47:06 -08:00
kant
aaa7e70952 adding contract deployyer to poa 2023-12-11 17:46:42 -08:00
rjl493456442
e206d3f897
trie: remove inconsistent trie nodes during sync in path mode (#28595)
This fixes a database corruption issue that could occur during state healing.
When sync is aborted while certain modifications were already committed, and a
reorg occurs, the database would contain incorrect trie nodes stored by path.
These nodes need to detected/deleted in order to obtain a complete and fully correct state
after state healing.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-08 14:28:23 +01:00
Péter Szilágyi
d98d70f670
cmd/utils, eth: disallow invalid snap sync / snapshot flag combos (#28657)
* eth: prevent startup in snap mode without snapshots

* cmd/utils: try to fix bad flag combos wrt snap sync and snapshot generation
2023-12-08 15:16:04 +02:00
Felföldi Zsolt
fff843cfaf
beacon/light: add CommitteeChain (#27766)
This change implements CommitteeChain which is a key component of the beacon light client. It is a passive data structure that can validate, hold and update a chain of beacon light sync committees and updates, starting from a checkpoint that proves the starting committee through a beacon block hash, header and corresponding state. Once synced to the current sync period, CommitteeChain can also validate signed beacon headers.
2023-12-08 13:38:00 +01:00
Martin HS
1048e2d6a3
cmd/evm: fix dump after state-test exec (#28650)
The dump after state-test didn't work, the problem was an error, "Already committed", which was silently ignored. 

This change re-initialises the state, so the dumping works again.
2023-12-08 11:06:01 +01:00
Martin HS
5a45e7a631
rpc: fix ns/µs mismatch in metrics (#28649)
The rpc/duration/all meter was in nanoseconds, the individual meter in microseconds.
This PR changes it so both of them use nanoseconds.
2023-12-08 09:40:50 +01:00
Marius Kjærstad
77c4bbcaa5
build: upgrade -dlgo version to Go 1.21.5 (#28648) 2023-12-07 12:45:09 +02:00
Guillaume Ballet
a113497dd7
tests/fuzzers/bls12381: deactivate BLS fuzzer when CGO_ENABLED=0 (#28653)
tests/fuzzers/bls12381: deactivate fuzzer when CGO_ENABLED=0
2023-12-07 10:07:20 +01:00
Shawn
e18e20b937
Merge pull request #5 from primevprotocol/ckartik/nit-docs-add-env-reference-file
Nit addition of .env file reference
2023-12-06 13:23:58 -08:00
Kartik Chopra
0b1e5261b6 Adds reference to notion docs for .env file. 2023-12-06 16:08:58 -05:00
Marius van der Wijden
55b483d82a
ethdb/pebble: remove a dependency (#28627)
The dependency was not really used anyway, so we can get rid of it.

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-06 11:41:04 +01:00
Guillaume Ballet
69576df254
.github: use github actions to run 32-bit linux tests (#28549)
use github actions to run 32-bit linux tests
2023-12-05 14:45:40 +01:00
Martin Holst Swende
b8d44ed98b
log: remove lazy, remove unused interfaces, unexport methods (#28622)
This change 

- Removes interface `log.Format`, 
- Removes method `log.FormatFunc`, 
- unexports `TerminalHandler.TerminalFormat` formatting methods (renamed to `TerminalHandler.format`)
- removes the notion of `log.Lazy` values


The lazy handler was useful in the old log package, since it
could defer the evaluation of costly attributes until later in the
log pipeline: thus, if the logging was done at 'Trace', we could
skip evaluation if logging only was set to 'Info'.

With the move to slog, this way of deferring evaluation is no longer
needed, since slog introduced 'Enabled': the caller can thus do
the evaluate-or-not decision at the callsite, which is much more
straight-forward than dealing with lazy reflect-based evaluation.

Also, lazy evaluation would not work with 'native' slog, as in, these
two statements would be evaluated differently:

```golang
  log.Info("foo", "my lazy", lazyObj)
  slog.Info("foo", "my lazy", lazyObj)
```
2023-12-05 11:54:44 +01:00
Martin Holst Swende
3dc071e036
eth/tracers/logger: make structlog/json-log stack hex again (#28628)
* common/hexutil: define hex wrappers for uint256.Int

* eth/tracers/logger: make structlog/json-log stack hex again

* common/hexutil: goimports
2023-12-05 09:37:48 +01:00
Håvard Anda Estensen
2e13b01046
accounts: run tests in parallel (#28544) 2023-12-04 14:55:06 +01:00
Manav Darji
70fd0b635e
eth/fetcher: fix invalid tracking of received at time for block (#28637)
eth/fetcher: fix invalid tracking of received at time
2023-12-04 14:25:17 +02:00
BorkBorked
f04e5bde74
accounts/abi/bind: fixed typos (#28634)
* Update auth.go

* Update backend.go

* Update bind.go

* Update bind_test.go
2023-12-04 11:53:42 +02:00
ddl
6e488c2449
cmd/evm: fix Env struct json tag (#28635) 2023-12-04 11:52:55 +02:00