Commit graph

14701 commits

Author SHA1 Message Date
Shawn
577f22d337 Merge branch 'master' into shawn/local-l1 2023-12-12 15:24:13 -08: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
Shawn
57b013b3ab Update Makefile 2023-12-11 20:43:26 -08:00
Shawn
74560a59e0 Merge branch 'master' into shawn/local-l1 2023-12-11 20:42:39 -08:00
Shawn
600b639063 Create README.md 2023-12-11 20:41:40 -08:00
kant
3ce39c201a moving to shared network 2023-12-11 20:39:50 -08:00
Shawn
290fad0a4c use same entrypoint 2023-12-11 20:30:21 -08:00
Shawn
4f46ca3186 works w/ two signers 2023-12-11 20:15:54 -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
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
Ubuntu
dda05c5584 using pebble engine 2023-12-02 07:32:58 +00:00
Ubuntu
a300dd8cb0 using pebble engine 2023-12-02 07:19:32 +00:00
Ubuntu
1716abb4a0 switching to path based scheme and adding metrics 2023-12-01 22:43:06 +00:00
Ubuntu
29f487a379 changing archive to full 2023-12-01 08:23:56 +00:00
kant777
f12ad9fe3c
Merge pull request #4 from primevprotocol/feature/log_block_size
Feature/log block size
2023-11-30 23:32:44 -05:00
Shawn
d9de4e7e9c new rpc urls for frontend 2023-11-30 19:13:08 -08:00
kant
749f59d672 working version for block size in bytes 2023-11-30 18:21:37 -08:00
kant
588539bbeb merging geth-poa into go-ethereum repo 2023-11-30 18:07:09 -08:00
kant
c244b5fbb9 removing blocksize metric from worker 2023-11-30 17:52:50 -08:00
kant
bbc42f5279 adding block size metric in both worker and clique.go files 2023-11-30 17:41:32 -08:00
kant
ce59a9b6a1 logs 2023-11-30 15:45:51 -08:00
kant
c3c8279f29 adding log to capture block size 2023-11-30 12:32:15 -08:00
kant
0893afdc14 logging block size 2023-11-30 12:09:07 -08:00
kant
7b79e2ac24 adding block size in bytes as a log 2023-11-30 11:00:12 -08:00
kant777
b0295085f4
Merge pull request #3 from primevprotocol/shawn/transfer-precompile
feat: precompile for minting native tokens
2023-11-30 13:25:16 -05:00
kant
febf7e7f65 adding block size metric 2023-11-30 10:21:42 -08:00
Shawn
812972c832 separate precompiles for mint/burn 2023-11-21 17:17:58 -08:00
Shawn
3dd54b5e4a Add transfer to precompile lists 2023-11-20 23:44:02 -08:00
Shawn
cd0cc1c862 fix fuzz test 2023-11-20 23:36:59 -08:00
Shawn
bb9490263d wip 2023-11-20 22:53:30 -08:00
kant777
f481d9ca0f
Merge pull request #1 from shaspitz/shawn/period-ms
feat: 200ms blocktimes
2023-11-15 12:19:42 -08:00
Shawn
539e853455 Update clique.go 2023-11-15 12:18:04 -08:00
Shawn
402e5d2039 cleans 2023-11-15 12:17:16 -08:00
Martin Holst Swende
5bf8769fb0
ethdb/memorydb, trie: reduced allocations (#28473)
* trie: use pooling of iterator states in iterator

The node iterator burns through a lot of memory while iterating a trie, and a lot of
that can be avoided by using a fairly small pool (max 40 items).

name        old time/op    new time/op    delta
Iterator-8    6.22ms ± 3%    5.40ms ± 6%  -13.18%  (p=0.008 n=5+5)

name        old alloc/op   new alloc/op   delta
Iterator-8    2.36MB ± 0%    1.67MB ± 0%  -29.23%  (p=0.008 n=5+5)

name        old allocs/op  new allocs/op  delta
Iterator-8     37.0k ± 0%     29.8k ± 0%     ~     (p=0.079 n=4+5)

* ethdb/memorydb: avoid one copying of key

By making the transformation from []byte to string at an earlier point,
we save an allocation which otherwise happens later on.

name           old time/op    new time/op    delta
BatchAllocs-8     412µs ± 6%     382µs ± 2%   -7.18%  (p=0.016 n=5+4)

name           old alloc/op   new alloc/op   delta
BatchAllocs-8     480kB ± 0%     490kB ± 0%   +1.93%  (p=0.008 n=5+5)

name           old allocs/op  new allocs/op  delta
BatchAllocs-8     3.03k ± 0%     2.03k ± 0%  -32.98%  (p=0.008 n=5+5)
2023-11-15 16:20:34 +01:00
Håvard Anda Estensen
a75a2d6db6
all: replace some cases of strings.SplitN with strings.Cut (#28446) 2023-11-15 14:42:33 +01:00
Halimao
db7895d3b6
accounts/abi: improve readability of method-to-string conversion (#28530)
refactor: improve readability of NewMethod print
2023-11-15 14:30:35 +01:00
aliening
fcc7ae162d
internal/jsre/deps: fix typo in jsdoc (#28511)
minor typo fix
2023-11-15 13:55:56 +01:00
Håvard Anda Estensen
b9504e4966
miner: run tests in parallel (#28506)
Changes many of the tests in the miner package to run in parallel
2023-11-15 13:46:32 +01:00
Zoro
2814ee0547
accounts,cmd,console,les,metrics: refactor some errors checked by (ST1005) go-staticcheck (#28532)
fix: fix some (ST1005)go-staticcheck
2023-11-15 14:36:57 +02:00
jwasinger
984f82629c
cmd/geth: more special cases logging tests (#28527)
adds logging tests for errors and custom fmt.Stringer-types which output strings that needs to be quoted/escaped.
2023-11-15 09:54:35 +01:00
Martin Holst Swende
c5b7cfa9c3
tests: skip tests on windows 32bit CI (#28521)
tests: skip half the blockchain- and state-tests on windows 32bit CI-tests
2023-11-14 18:40:16 +01:00
Martin Holst Swende
2391fbc676
tests/fuzzers: move fuzzers into native packages (#28467)
This PR moves our fuzzers from tests/fuzzers into whatever their respective 'native' package is.

The historical reason why they were placed in an external location, is that when they were based on go-fuzz, they could not be "hidden" via the _test.go prefix. So in order to shove them away from the go-ethereum "production code", they were put aside.

But now we've rewritten them to be based on golang testing, and thus can be brought back. I've left (in tests/) the ones that are not production (bls128381), require non-standard imports (secp requires btcec, bn256 requires gnark/google/cloudflare deps).

This PR also adds a fuzzer for precompiled contracts, because why not.

This PR utilizes a newly rewritten replacement for go-118-fuzz-build, namely gofuzz-shim, which utilises the inputs from the fuzzing engine better.
2023-11-14 14:34:29 +01:00
VM
24d46224c1
trie: spelling - fix comments in hasher (#28507)
Co-authored-by: VM <arimas@foxmail.com>
2023-11-14 14:27:07 +01:00
Sina Mahmoodi
e803ef09ad
eth/tracers/js: fix isPush for push0 (#28520)
Fixes so that `push0` opcode is correctly reported as `true` by the `IsPush` function

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-11-14 13:14:38 +01:00