Skip to content

remove AscendGreaterOrEqual1#6

Merged
AlexeyAkhunov merged 2 commits into
masterfrom
red-queen
May 30, 2019
Merged

remove AscendGreaterOrEqual1#6
AlexeyAkhunov merged 2 commits into
masterfrom
red-queen

Conversation

@yperbasis

Copy link
Copy Markdown
Member

No description provided.

@yperbasis yperbasis requested a review from AlexeyAkhunov May 30, 2019 17:42
@AlexeyAkhunov AlexeyAkhunov merged commit 8a69039 into master May 30, 2019
AlexeyAkhunov added a commit that referenced this pull request Feb 14, 2021
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
AlexeyAkhunov added a commit that referenced this pull request Feb 15, 2021
…#1497)

* Initial commit

* Add sentry gRPC interface

* p2psentry directory

* Update README.md

* Update README.md

* Update README.md

* Add go package

* Correct syntax

* add external downloader interface (#2)

* Add txpool (#3)

* Add private API (#4)

* Invert control.proto, add PeerMinBlock, Separare incoming Tx message into a separate stream (#5)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Use new p2psentry interface

* Remove

* Fix lint

* Fix lint

* Separate upload messages into its own stream (#6)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Add header upload

* Remove

* Add upload of block headers

* Add block bodies upload

* Fix lint

* Bugfix for blockBodies

* Fix for body upload logging

* Print peerId for GetBlockHeaders

* Invoke block hashes stage to enable block body upload

* Fix test

* Fix stuck bodies download

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
mandrigin pushed a commit that referenced this pull request Mar 10, 2021
* internal/build: implement signify's signing func
* Add signify to the ci utility
* fix output file format
* Add unit test for signify
* holiman's + travis' feedback
* internal/build: verify signify's output
* crypto: move signify to common dir
* use go-minisign to verify binaries
* more holiman feedback
* crypto, ci: support minisign output
* only accept one-line trusted comments
* configurable untrusted comments
* code cleanup in tests
* revert to use ed25519 from the stdlib
* bug: fix for empty untrusted comments
* write timestamp as comment if trusted comment isn't present
* rename line checker to commentHasManyLines
* crypto: added signify fuzzer (#6)
* crypto: added signify fuzzer
* stuff
* crypto: updated signify fuzzer to fuzz comments
* crypto: repro signify crashes
* rebased fuzzer on build-signify branch
* hide fuzzer behind gofuzz build flag
* extract key data inside a single function
* don't treat \r as a newline
* travis: fix signing command line
* do not use an external binary in tests
* crypto: move signify to crypto/signify
* travis: fix formatting issue
* ci: fix linter build after package move

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
# Conflicts:
#	build/ci.go
#	go.mod
#	go.sum
AlexeyAkhunov added a commit that referenced this pull request Mar 19, 2021
* Initial commit

* Add sentry gRPC interface

* p2psentry directory

* Update README.md

* Update README.md

* Update README.md

* Add go package

* Correct syntax

* add external downloader interface (#2)

* Add txpool (#3)

* Add private API (#4)

* Invert control.proto, add PeerMinBlock, Separare incoming Tx message into a separate stream (#5)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Separate upload messages into its own stream (#6)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Only send changed accounts to listeners (#7)

* Txpool interface doc (#9)

* More additions

* More additions

* Fix locking

* Intermediate

* Fix separation of phases

* Intermediate

* Fix test

* More transformations

* New simplified way of downloading headers

* Fix hard-coded header sync

* Fixed syncing near the tip of the chain

* Add architecture diagram source and picture (#10)

* More fixes

* rename tip to link

* Use preverified hashes instead of preverified headers

* Fix preverified hashes generation

* more parametrisation

* Continue parametrisation

* Fix grpc data limit, interruption of headers stage

* Add ropsten preverified hashes

* Typed hashes (#11)

* Typed hashes

* Fix PeerId

* 64-bit tx nonce

* Disable penalties

* Add goerli settings, bootstrap nodes

* Try to fix goerly sync

* Remove interfaces

* Add proper golang packages, max_block into p2p sentry Status

* Prepare for proto overhaul

* Squashed 'interfaces/' content from commit ce36053

git-subtree-dir: interfaces
git-subtree-split: ce36053

* Change EtherReply to address

* Adaptations to new types

* Switch to new types

* Fixes

* Fix formatting

* Fix lint

* Lint fixes, reverse order in types

* Fix lint

* Fix lint

* Fix lint

* Fix test

* Not supporting eth/66 yet

* Fix shutdown

* Fix lint

* Fix lint

* Fix lint

* return stopped check

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: canepat <16927169+canepat@users.noreply.github.com>
sambacha pushed a commit to contractshark/turbo-geth that referenced this pull request Apr 5, 2021
* internal/build: implement signify's signing func
* Add signify to the ci utility
* fix output file format
* Add unit test for signify
* holiman's + travis' feedback
* internal/build: verify signify's output
* crypto: move signify to common dir
* use go-minisign to verify binaries
* more holiman feedback
* crypto, ci: support minisign output
* only accept one-line trusted comments
* configurable untrusted comments
* code cleanup in tests
* revert to use ed25519 from the stdlib
* bug: fix for empty untrusted comments
* write timestamp as comment if trusted comment isn't present
* rename line checker to commentHasManyLines
* crypto: added signify fuzzer (erigontech#6)
* crypto: added signify fuzzer
* stuff
* crypto: updated signify fuzzer to fuzz comments
* crypto: repro signify crashes
* rebased fuzzer on build-signify branch
* hide fuzzer behind gofuzz build flag
* extract key data inside a single function
* don't treat \r as a newline
* travis: fix signing command line
* do not use an external binary in tests
* crypto: move signify to crypto/signify
* travis: fix formatting issue
* ci: fix linter build after package move

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
# Conflicts:
#	build/ci.go
#	go.mod
#	go.sum
sambacha pushed a commit to contractshark/turbo-geth that referenced this pull request Apr 5, 2021
* Initial commit

* Add sentry gRPC interface

* p2psentry directory

* Update README.md

* Update README.md

* Update README.md

* Add go package

* Correct syntax

* add external downloader interface (#2)

* Add txpool (#3)

* Add private API (#4)

* Invert control.proto, add PeerMinBlock, Separare incoming Tx message into a separate stream (#5)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Separate upload messages into its own stream (erigontech#6)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Only send changed accounts to listeners (erigontech#7)

* Txpool interface doc (erigontech#9)

* More additions

* More additions

* Fix locking

* Intermediate

* Fix separation of phases

* Intermediate

* Fix test

* More transformations

* New simplified way of downloading headers

* Fix hard-coded header sync

* Fixed syncing near the tip of the chain

* Add architecture diagram source and picture (erigontech#10)

* More fixes

* rename tip to link

* Use preverified hashes instead of preverified headers

* Fix preverified hashes generation

* more parametrisation

* Continue parametrisation

* Fix grpc data limit, interruption of headers stage

* Add ropsten preverified hashes

* Typed hashes (erigontech#11)

* Typed hashes

* Fix PeerId

* 64-bit tx nonce

* Disable penalties

* Add goerli settings, bootstrap nodes

* Try to fix goerly sync

* Remove interfaces

* Add proper golang packages, max_block into p2p sentry Status

* Prepare for proto overhaul

* Squashed 'interfaces/' content from commit ce36053

git-subtree-dir: interfaces
git-subtree-split: ce36053

* Change EtherReply to address

* Adaptations to new types

* Switch to new types

* Fixes

* Fix formatting

* Fix lint

* Lint fixes, reverse order in types

* Fix lint

* Fix lint

* Fix lint

* Fix test

* Not supporting eth/66 yet

* Fix shutdown

* Fix lint

* Fix lint

* Fix lint

* return stopped check

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: canepat <16927169+canepat@users.noreply.github.com>
sambacha pushed a commit to contractshark/turbo-geth that referenced this pull request Apr 5, 2021
* accounts/keystore: use github.com/google/uuid (#22217)

This replaces the github.com/pborman/uuid dependency with
github.com/google/uuid because the former is only a wrapper for
the latter (since v1.0.0).

Co-authored-by: Felix Lange <fjl@twurst.com>
# Conflicts:
#	accounts/keystore/key.go
#	accounts/keystore/passphrase.go
#	accounts/keystore/presale.go
#	cmd/ethkey/generate.go
#	go.mod
#	go.sum

* core/state: fix eta calculation on pruning (#22386)

* les: UDP pre-negotiation of available server capacity (#22183)

This PR implements the first one of the "lespay" UDP queries which
is already useful in itself: the capacity query. The server pool is making
use of this query by doing a cheap UDP query to determine whether it is
worth starting the more expensive TCP connection process.
# Conflicts:
#	les/client.go
#	les/clientpool.go
#	les/clientpool_test.go
#	les/enr_entry.go
#	les/server.go
#	les/vflux/client/serverpool.go
#	les/vflux/client/serverpool_test.go
#	les/vflux/server/balance.go
#	les/vflux/server/balance_test.go
#	les/vflux/server/prioritypool.go
#	les/vflux/server/prioritypool_test.go
#	p2p/nodestate/nodestate.go

* core/rawdb: fix the transaction indexer (#22395)

# Conflicts:
#	core/rawdb/chain_iterator.go

* core, eth: unship EIP 2315

# Conflicts:
#	core/vm/contract.go
#	core/vm/gen_structlog.go
#	core/vm/instructions.go
#	core/vm/instructions_test.go
#	core/vm/interpreter.go
#	core/vm/logger.go
#	core/vm/logger_json.go
#	core/vm/logger_test.go
#	core/vm/stack/stack.go
#	eth/tracers/tracer.go
#	eth/tracers/tracer_test.go

* core/vm/runtime: more unshipping

# Conflicts:
#	core/vm/runtime/runtime_test.go

* cmd/geth: put allowUnsecureTx flag in RPC section (#22412)

# Conflicts:
#	cmd/geth/usage.go

* params: update chts (#22418)

* cmd/utils: fix txlookuplimit for archive node (#22419)

* cmd/utils: fix exclusive check for archive node

* cmd/utils: set the txlookuplimit to 0
# Conflicts:
#	cmd/utils/flags.go

* core/forkid, params: unset Berlin fork number (#22413)

* les: fix nodiscover option on the client side (#22422)

# Conflicts:
#	les/client.go
#	les/vflux/client/serverpool.go
#	les/vflux/client/serverpool_test.go

* cmd: retire whisper flags (#22421)

* cmd: retire whisper flags

* cmd/geth: remove whisper configs
# Conflicts:
#	cmd/geth/config.go
#	cmd/geth/consolecmd.go
#	cmd/geth/main.go
#	cmd/geth/usage.go
#	cmd/utils/flags.go

* tests: update to latest tests (#22290)

This updates the consensus tests to commit 31d6630 and
adds support for access list transactions in the test runner.

Co-authored-by: Martin Holst Swende <martin@swende.se>
# Conflicts:
#	tests/block_test.go
#	tests/gen_sttransaction.go
#	tests/state_test_util.go

* params: release geth 1.10.0 stable

# Conflicts:
#	params/version.go

* params: begin v1.10.1 release cycle

# Conflicts:
#	params/version.go

* Revert "core/forkid, params: unset Berlin fork number (#22413)"

This reverts commit ba99910.

* build: fix PPA failure due to updated debsrc

# Conflicts:
#	build/ci.go

* build: add support for Ubuntu Hirsute Hippo

# Conflicts:
#	build/ci.go

* tests: update reference tests with 2315 removed from Berlin

# Conflicts:
#	tests/testdata

* params: release Geth v1.10.1

# Conflicts:
#	params/version.go

* Compilation fixes

* Fix rcpdaemon compilation

* Fix more compile errors

* Update testdata

* Fixes

* remove mentions of go-ethereum

* remove unneded les fuzzers

* remove rangeproof fuzzer

* Fixes

* Fixes

* Delete

* Fix tg crash again

* more compilation fixes

* Remove database files

* More compilation fixes

* fix compilation in blockchain_test.go

* fix compilation in runtime_fuzz

* fix consensus tests

* fixes to core tests (compilation)

* core tests compile now

* core/vm tests fixes

* fix core/rawdb

* cleanup runtime_test from the unimplemented EIP

* skip deadlock

* remove duplicate tests

* semi-fix graphql tests (compiles but 1 test fails)

* compile core/types (tests still fail)

* fix internal/guide tests

* fix eth/filters

* fix miner tests

* fix abi fuzzers

* ./test compiles

* ethclient tests compile

* eth/downloader compiles

* some fixes

* fix some eth handler tests

* ./eth tests builds

* skip downloader tests that hang

* For fox stage_senders

* Fixes

* fix rlp fuzzer issue

* change handler_test

* fixups to handler_test

* fix rawdb tests

* skip tx pool deadlock

* fix core state processor test

* fix DeriveFields test

* debug

* fixup core/types

* fix eth/downloader

* fix graphql tests

* less metrics performance impact

* less metrics performance impact

* use non-app metric to parse in grafana variables

* add periodical db statistic metrics (erigontech#1545)

* add periodical db statistic metrics (erigontech#1546)

* Grafana: add Btree metrics (erigontech#1547)

* table stat metrics

* add docker-compose udp port

* Trie: use APPEND when re-generating trie. Also including db-migration for PR#1535 (erigontech#1549)

* TxDb: Walk method - to reuse cursors (erigontech#1548)

* Trie: add invariant - first level of trie must be in DB (to ensure having 100% trie structure in trie_account table) (erigontech#1522)

* Add mdbx_drop cli tool (erigontech#1553)

* Fix Typo in Makefile (erigontech#1555)

stats -> state

* remove ethclient and checkpoint-admin (unused)

* semi-cleanup of eth/tracers

* fixups

* return testdata

* add tracer_test

* Fix cmd/rpcdaemon tests

* Remove files

* Fix eth/tracwers

* Fix eth/protocols/eth

* Fix for 1 test in eth

* Lint fixes

* fixme: skip tests for ZK (too slow on MDBX), recover later

* use lmdb for in-mem database and restore zk tests

* Fix lints

* fix one issue in TestEIP2718Transition

* Revert "fix one issue in TestEIP2718Transition"

This reverts commit b92995f.

* Fix lints

* Fix lints, fork split test

* Fix lints

* Fix lints

* Fix lints

* Fix lints

* unmark fixed tests

* workaround `./tests`

* fix `./eth`

* skip headerchain test

* linter fixups

* fix linter

* more linter fixes

* and more linter fixes

* and more lint fixes

* lint passes

* skip failing test 1

* fix ethash test

* Update skip analysis

* Fix TestEIP2718Transition

* begin 2021.03.02 release cycle

* Align Cursor API with LMDB/MDBX (erigontech#1558)

* go 1.16 support (erigontech#1509)

* Update instructions for Windows users (erigontech#1562)

WSL instructions

* Split header prefix bucket to headers, td and canonical (erigontech#1556)

* split headers prefix

* migration

* fix downloader bug

* test for migration

* fix lint

* uncomment t.Prallel

* fix postprocessing test

* Update config.yml (erigontech#1564)

* Try to fix multiple head subscriptions (erigontech#1565)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Adjust comments to Buckets after PR-1556 (erigontech#1566)

* More updates to downloader, new p2psentry protocol (erigontech#1559)

* Initial commit

* Add sentry gRPC interface

* p2psentry directory

* Update README.md

* Update README.md

* Update README.md

* Add go package

* Correct syntax

* add external downloader interface (#2)

* Add txpool (#3)

* Add private API (#4)

* Invert control.proto, add PeerMinBlock, Separare incoming Tx message into a separate stream (#5)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Separate upload messages into its own stream (erigontech#6)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Only send changed accounts to listeners (erigontech#7)

* Txpool interface doc (erigontech#9)

* More additions

* More additions

* Fix locking

* Intermediate

* Fix separation of phases

* Intermediate

* Fix test

* More transformations

* New simplified way of downloading headers

* Fix hard-coded header sync

* Fixed syncing near the tip of the chain

* Add architecture diagram source and picture (erigontech#10)

* More fixes

* rename tip to link

* Use preverified hashes instead of preverified headers

* Fix preverified hashes generation

* more parametrisation

* Continue parametrisation

* Fix grpc data limit, interruption of headers stage

* Add ropsten preverified hashes

* Typed hashes (erigontech#11)

* Typed hashes

* Fix PeerId

* 64-bit tx nonce

* Disable penalties

* Add goerli settings, bootstrap nodes

* Try to fix goerly sync

* Remove interfaces

* Add proper golang packages, max_block into p2p sentry Status

* Prepare for proto overhaul

* Squashed 'interfaces/' content from commit ce36053

git-subtree-dir: interfaces
git-subtree-split: ce36053

* Change EtherReply to address

* Adaptations to new types

* Switch to new types

* Fixes

* Fix formatting

* Fix lint

* Lint fixes, reverse order in types

* Fix lint

* Fix lint

* Fix lint

* Fix test

* Not supporting eth/66 yet

* Fix shutdown

* Fix lint

* Fix lint

* Fix lint

* return stopped check

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: canepat <16927169+canepat@users.noreply.github.com>

* move remote eth backend from ethdb to core package (erigontech#1567)

* KV: Remove reserve, putcurrent, cmp, dcmp (erigontech#1552)

* grpc version up (erigontech#1568)

* Simple test for layout of TrieOfAccountsBucket  (erigontech#1563)

* don't loose error in test

* KV: split Sequence into ReadSequence and MakeSequence (erigontech#1569)

* Update README.md (erigontech#1571)

* Update README.md (erigontech#1572)

* Update README.md (erigontech#1573)

* Tests: use transaction instead of db.MemCopy in chain_makers.go (erigontech#1570)

* mdbx tests speedup

* mdbx tests speedup

* devel up

* devel up

* devel up

* lint

* less db copy

* don't loose error in test

* clean

* devel up (erigontech#1574)

* Hide TxDb (erigontech#1575)

* Remove autogen from typedcursor (erigontech#1576)

* remove old flags

* remove old flags

* fix tests

* fix tests

* revert

* Revert "remove old flags"

This reverts commit 009c098.

* revert

* KV: Split RO and RW transactions (erigontech#1577)

* MDBX bindings: remove finalizers (write tx require to be closed from same thread) (erigontech#1579)

* Handshake in tests, correct ENR updates, etc. (erigontech#1578)

* Remove Blockchain dependency from forkID, fix ENR update

* Fix handshake_test

* Remove db access from handshake

* Undo

* Use StagedSync in test handlers

* Compile fix

* Debugging

* dependency fixes

* More info

* Print test name

* Increase timeout

* Disable checkpoint test

* Optimise RW message pipe

* Fix test

* Print handshake errors

* See where the pipe is closing

* Remove checkpoints

* Remove printouts

* Revert "Fix test"

This reverts commit d154e07.

* Revert "Optimise RW message pipe"

This reverts commit 6936111.

* Revert "Increase timeout"

This reverts commit 9dc0e23.

* Revert "See where the pipe is closing"

This reverts commit 3cf22af.

* Remove printing

* Relax peerEventCh

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* remove ideal batch size (erigontech#1582)

* Update Makefile (erigontech#1583)

* mining uncles (erigontech#1581)

* db commit - remove unused return param (erigontech#1584)

* no_panic_be_happy (erigontech#1586)

* no false alert (erigontech#1588)

* Senders table size regression: loadfunc preventing use of APPEND (erigontech#1585)

* Fix some conformance tests broken after rebase (erigontech#1587)

* Uncomment

* Try to fix

* Try again

* Compile fix

* Compile fix

* Compile fix

* Compile fix

* Compile fix

* fix lint

* Enable more tests

* Fix core tests

* Remove comment outs

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* RPCDaemon: increase throughput by allowing more parallel grpc streams and not lockthread for read tx (erigontech#1580)

* Mining stage (erigontech#1554)

* temporary return miner to avoid nil pointer

* remove_warning_when_mining_disabled (erigontech#1591)

* Kill cmd/state/stateless (erigontech#1592)

* Move stuff around

* Remove

* tidy

* Fix for writeReceipt printing

* fix lint typo

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Update stages.go (erigontech#1593)

* Add debug_accountAt to rpcdaemon README (erigontech#1594)

* Mining - don't write changesets to batch (erigontech#1595)

* Correct forkID computation in sentry, use blocks prefetched by NewBlockPacket, Fix NaN delivery speed output (erigontech#1596)

* Use proper forkID

* Remove NaN from Write block bodies messages

* Move Prefetched blocks

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Create TESTING.md (erigontech#1597)

* Fixes to new downloader (erigontech#1599)

* Fix for prefetched bodies

* Do not reset headers stage to 0

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* ObjectDatabase cleanup (erigontech#1598)

* ObjectDatabase cleanup

* Remove ObjectDatabase::WarmUp

* Mining: use noop writer when applyTx, pending logs subscription (erigontech#1600)

* Mining: to use correct ibs snapshot (erigontech#1601)

* Update skip_analysis (erigontech#1602)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* begin release cycle 2021.03.03

* Mining test: set correct header.Timestamp and header.GasLimit (erigontech#1603)

* mdbx: switch to master branch

* Remove unused code (erigontech#1604)


* Remove graphql, legacy options

* Remove CODEOWNERS

* Remove EWASM and custom EVM interpreter

* Genesis: calculate root by common components (erigontech#1608)

* Update TESTING.md (erigontech#1609)

* Remove puppeth & account management (erigontech#1610)

* rpctest commands to support block ranges, integration tool to allow tx tracing into files (erigontech#1616)

* block range options for rpctest

* convert bench8 to fastjson

* Add txtrace to integration tool

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Genesis.toBlock remove db from arguments (erigontech#1611)

* Remove blockchain object from some tests (erigontech#1612)

* Mining: remove local pow mining (from ethash), --miner.notify is required now, cycle is non-blocking now (erigontech#1617)

* metrics for header/body/exec stages (erigontech#1618)

* Lazy fix for eth_getLogs (erigontech#1620)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Fix lints and remove more unused code (erigontech#1621)

* Add Actions workflow (erigontech#1606)

* RPC: Pending transactions/blocks/logs  (erigontech#1625)

* Mining docs (erigontech#1628)

* Port rpcdaemon to KV interface (erigontech#1627)

* Add readAccount hack (erigontech#1629)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Fix compilation error in hack.go (erigontech#1633)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Add Docker step to Actions workflow (erigontech#1630)

* tests (erigontech#1631)

* context leak fix (erigontech#1632)

* increase tests timeout

* infinite gas cap for gas estimate (erigontech#1638)

* estimate_gas: to accept optional block or hash (erigontech#1639)

* set locals in tx pool constructor (erigontech#1637)

* old loader remove v1 (erigontech#1641)

* remove unused metrics (erigontech#1643)

* Remove old loader, part 2 (erigontech#1642)

* rpctest: Recording requests and responses and replay command (erigontech#1644)

* Record to file

* Add replay command

* Update doc

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* headers: remove with cancel (erigontech#1640)

* remove with cancel

* remove with cancel

* remove with cancel

* corner_case_return_null_when_block_not (erigontech#1646)

* Remove old loader, step 3 (remove some tds and blockchain objects in tests) (erigontech#1647)

* Remove blockchain object from simulated backend (erigontech#1648)

* bump version due to the month change

* Update skip_analysis.go (erigontech#1649)

* Add files via upload (erigontech#1650)

* begin 2021.04.02 release cycle

* Add files via upload (erigontech#1652)

* fixed win build (erigontech#1654)

* fixed win build (erigontech#1655)

* Remove tds in few tests (erigontech#1657)

* tx.RwCursor() to return err (first step of removing lazy cursors) (erigontech#1656)

* more (erigontech#1658)

* etl to use rwtx (erigontech#1660)

* Try windows build (take 2) (erigontech#1659)

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Add files via upload (erigontech#1662)

* fix empty bucket name

* Nuke remnants of non-staged-sync modes (erigontech#1664)

* bitmapdb to use rwtx (erigontech#1661)

* Mdb no db size log (erigontech#1665)

* Remove ancients and some old skipped tests (erigontech#1668)

* Nuke old miner and mux (erigontech#1666)

* Stateless Tx interface (erigontech#1667)

* Harmonize DB APIs (erigontech#1669)

* KV: Unified Has (erigontech#1671)

* Fix readme links (erigontech#1672)

minor readme link fixes. The markdown was off.

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete find-tip.png

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Mutation: implement StatelessRwTx (erigontech#1670)

* remove blockchain.InsertChain call from downloader (erigontech#1674)

* clean (erigontech#1677)

* Remove ReadAllHashes (erigontech#1678)

* fix interfaces

* Squashed 'interfaces/' content from commit a013c31

git-subtree-dir: interfaces
git-subtree-split: a013c31

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felföldi Zsolt <zsfelfoldi@gmail.com>
Co-authored-by: gary rong <garyrong0905@gmail.com>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Igor Mandrigin <i@mandrigin.ru>
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
Co-authored-by: Chase Wright <mysticryuujin@gmail.com>
Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: Andrea Lanfranchi <andrea.lanfranchi@gmail.com>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: ledgerwatch <akhounov@gmail.com>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: canepat <16927169+canepat@users.noreply.github.com>
Co-authored-by: Andrew Ashikhmin <34320705+yperbasis@users.noreply.github.com>
Co-authored-by: Lefteris Karapetsas <lefteris@refu.co>
AlexeyAkhunov added a commit that referenced this pull request Apr 24, 2021
* Initial commit

* Add sentry gRPC interface

* p2psentry directory

* Update README.md

* Update README.md

* Update README.md

* Add go package

* Correct syntax

* add external downloader interface (#2)

* Add txpool (#3)

* Add private API (#4)

* Invert control.proto, add PeerMinBlock, Separare incoming Tx message into a separate stream (#5)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Separate upload messages into its own stream (#6)

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Only send changed accounts to listeners (#7)

* Txpool interface doc (#9)

* Add architecture diagram source and picture (#10)

* Typed hashes (#11)

* Typed hashes

* Fix PeerId

* 64-bit tx nonce

* Add proper golang packages, max_block into p2p sentry Status (#12)

* Add proper golang packages, max_block into p2p sentry Status

* Change EtherReply to address

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>

* Add Rust infrastructure (#13)

* DB stats methods removed by #1665

* more p2p methods (#15)

* add mining methods (#16)

* First draft of Consensus gRPC interface (#14)

* Update Rust build

* Fix interfaces in architecture diagram (#17)

* Fix KV interface provider

* Fix Consensus interface provider

* drop java attributes (#18)

* tx pool remove unused import (#19)

* ethbackend: add protocol version and client version (#20)

* Add missing ethbackend I/F (#21)

* Add interface versioning mechanism (#23)

Add versioning in KV interface

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>

* spec of tx pool method (#24)

* spec of tx pool method (#25)

* Update version.proto

* Refactor interface versioning

* Refactor interface versioning

* Testing interface

* Remove tree

* Fix

* Build testing protos

* Fix

* Fix

* Update to the newer interfaces

* Add ProtocolVersion and ClientVersion stubs

* Hook up ProtocolVersion and ClientVersion

* Remove service

* Add compatibility checks for RPC daemon

* Fix typos

* Properly update DB schema version

* Fix test

* Add test for KV compatibility|

* Info messages about compability for RPC daemon

* DB schema version to be one key

* Update release intructions

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: b00ris <b00ris@mail.ru>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: canepat <16927169+canepat@users.noreply.github.com>
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
Co-authored-by: canepat <tullio.canepa@gmail.com>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
dmitry123 referenced this pull request in Ankr-network/erigon Dec 17, 2021
Backward compatibility with original Erigon
enriavil1 pushed a commit that referenced this pull request Jan 29, 2022
BlinkyStitt pushed a commit to llamanodes/erigon that referenced this pull request Jan 3, 2023
updated readme to include purpose for forking out from erigon
pgebal pushed a commit to imapp-pl/erigon that referenced this pull request Jan 16, 2023
tests for eip4844 validity checking & excess data gas rules
setunapo added a commit to setunapo/bsc-erigon that referenced this pull request Apr 21, 2023
Sync to: f675951
The date for the commit is Mar 15, 2023.
The latest release for Erigon is v2.40.1.
pcw109550 pushed a commit to sunnyside-io/erigon that referenced this pull request May 19, 2023
battlmonstr pushed a commit that referenced this pull request Sep 14, 2023
taratorio pushed a commit that referenced this pull request Jul 23, 2024
AskAlexSharov added a commit that referenced this pull request Apr 21, 2025
# This is the 1st commit message:

save

# This is the commit message #2:

save

# This is the commit message #3:

save

# This is the commit message #4:

save

# This is the commit message #5:

save

# This is the commit message #6:

save

# This is the commit message #7:

save

# This is the commit message #8:

save
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Jun 12, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

chore: revert format changes, and add mev config json (erigontech#6)

add mev-infra service

api change

code address field (erigontech#16)

fix(mev): fix parent block nil panic (erigontech#17)

update mev with new api

emit output for revert (erigontech#6)

rebase upstream

fix mev historical state

fix stack encoding

mev migrate to erigon3

fix gas type

fix flags

no reset state in traceCallMany
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Jun 12, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Jun 12, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Jun 12, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Jun 24, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
AskAlexSharov added a commit that referenced this pull request Jun 27, 2025
# This is the 1st commit message:

save

# This is the commit message #2:

save

# This is the commit message #3:

save

# This is the commit message #4:

save

# This is the commit message #5:

save

# This is the commit message #6:

save

# This is the commit message #7:

save

# This is the commit message #8:

save

# This is the commit message #9:

save

# This is the commit message #10:

BodyOnlyTxn: for when only TxCount and BaseDataID is needed from blocks (#15599)

issue: #15516
# This is the commit message #11:

save

# This is the commit message #12:

save

# This is the commit message #13:

save

# This is the commit message #14:

save

# This is the commit message #15:

save

# This is the commit message #16:

save

# This is the commit message #17:

save

# This is the commit message #18:

save
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Jun 30, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
lwedge99 pushed a commit to sentioxyz/erigon that referenced this pull request Jul 23, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Jul 25, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Sep 9, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Sep 13, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Sep 17, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces
lwedge99 pushed a commit to sentioxyz/erigon that referenced this pull request Sep 18, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Sep 28, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Sep 30, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces

rebase to erigon v3.1.0

try fix txpool_content

fix addresses in sentio tracer
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Oct 1, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces

rebase to erigon v3.1.0

try fix txpool_content

fix addresses in sentio tracer

fix bug
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Oct 15, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Oct 22, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces

rebase to erigon v3.1.0

try fix txpool_content

fix addresses in sentio tracer

fix bug
zfy0701 added a commit to sentioxyz/erigon that referenced this pull request Nov 26, 2025
fix tracemany error format

migrate override and gas changes (erigontech#53)

fix race condition in p2p discover tab

add more information to root trace

correct handle call with value

set transfer value to zero if can't transfer

migrate memory compression (erigontech#7)

correctly handle tracecallmany didn't find block

correctly handle if transaction index out of bound

fix(rpc): eth_blockNumber returns unsynced block number

adjust after api change

Add Mapping keys to post account (erigontech#9)

fix when tracer failed before start and zero gas (erigontech#11)

more fix on tracecall many format error

fix txn index, block hash in context

distinguish code address by storage slot (erigontech#12)

code address for mapping keys (erigontech#13)

return gas price of execution

ignore init code size limit (erigontech#15)

api change

code address field (erigontech#16)

emit output for revert (erigontech#6)

rebase upstream

fix stack encoding

fix gas type

fix flags

no reset state in traceCallMany

add tx origin override

mock functions

fix

support storage in sentio tracer

add storage addresses

cleanup

support caller override

support capture extra op codes

support transient storage

cleanup trace config

include gas refund in sentio tracer

revert to erigon error handling

support custom capture

apply new erigon changes

include code address in storage traces

rebase to erigon v3.1.0

try fix txpool_content

fix addresses in sentio tracer

fix bug
AskAlexSharov added a commit that referenced this pull request Mar 14, 2026
…lidation

Add TestAccessorExtension_IsSet/TestDataExtension_IsSet: verify IsSet correctly
identifies valid accessor (.idx/.kvi/.vi/.efi) and data (.seg/.kv/.v/.ef) extensions.
Wrong classification causes wrong file handling.

Add TestFindAccessorFilesBySearchVersion: verify BtIdxFile, ExistenceFile, and
AccessorIdxFile all work with SearchVersion to find files on disk at restart.

Add TestFileNamingRoundTrip_AllAccessorTypes: verify round-trip for all accessor
file types (.kvi, .vi, .efi, .bt, .kvei) — any naming bug causes accessor files
to not be found at restart and requires full rebuild.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mh0lt added a commit that referenced this pull request May 8, 2026
- Remove dead LightCollector.DeleteAccount IncarnationPath emit (concern #3):
  IBS.Selfdestruct's versionWritten already publishes IncarnationPath via
  the version map; CollectorWrites is not the rawWrites source.
- Add MIRROR-OF tag on versionedWriteCollector.DeleteAccount cross-
  referencing LightCollector.DeleteAccount and noting that IncarnationPath
  is emitted via IBS.Selfdestruct, not either DeleteAccount (concern #7).
- Rewrite TestSDOfPreExistingContract_FullPipeline to populate vm with
  IBS.Selfdestruct's versionWritten emits; assert BalancePath=0 comes
  from vm.Read (not preBlockBalance from stateReader fallback) and that
  the trie sees a leaf with {Balance=0, Nonce=preBlock, CodeHash=preBlock}
  through the default FlushToUpdates branch (concern #1).
- Add TestSDStorageCascade_EmitsPerSlotDeletes locking in the storage-
  cascade load-bearing invariant: normalizeWriteSet's vm.StorageKeys
  loop emits StoragePath=0 entries that overwrite cs.storageState's
  pre-SD slot values, so each slot emits DeleteUpdate (concern #6).
- Update defensive-test docstrings to spell out unreachability from real
  production writesets and cross-link to the realistic-pipeline tests
  that cover the actual fix mechanism (concern #4).
lystopad added a commit that referenced this pull request May 21, 2026
Findings from Copilot (3) and yperbasis (8). The Copilot findings on Peers
routing, empty NodeInfo, and close(statusReady) are real; yperbasis
identified the matching doc/code mismatches and a few polish items.

1. Peers() / message routing (Copilot #1). The multi-sentry client uses
   Peers() to decide which sentry owns each peer and routes SendMessageById
   via that sentry's gRPC. With the previous reporter-only gating, every
   peer mapped to Servers[0] (which is the *lowest* configured protocol,
   ETH69 in the default — yperbasis #1 noted the comment said "highest").
   Servers[0]'s goodPeers doesn't have eth/70 or eth/71 peers, so
   SendMessageById silently no-op'd.

   Fix: each GrpcServer.Peers() now reports its own goodPeers, filtered to
   skip entries where both protocol and witProtocol are zero. Each peer
   ends up in exactly one eth-sentry's goodPeers (the negotiated version)
   plus, at most, the sentry hosting the wit sideprotocol, so admin_peers
   aggregation is naturally non-duplicating and routing is correct.

2. NodeInfo() (Copilot #3). Non-reporters returning empty replies
   polluted admin_nodeInfo with blank entries that sorted first. With the
   shared p2p.Server every sentry has the same Node ID and the same enode,
   so they now return identical NodeInfo. node/eth.NodesInfo deduplicates
   by Enode before sorting.

3. SetStatus's close(ss.statusReady) (Copilot #2) panicked for callers
   that construct GrpcServer outside NewGrpcServer (existing
   TestSentryServerImpl_* does this). Guarded the close with a nil check;
   awaitStatus tolerates a nil channel via the select's other cases.

4. SetP2PServer returns an error instead of panicking on double-call
   (yperbasis #3). The "ownership decided up front" invariant is still
   enforced, just propagated up the Provider.Initialize path cleanly.

5. SimplePeerCount filters protocol=0 ghosts (yperbasis #4). With wit/0
   deduped to one sentry, peers that negotiate eth/N on a different sentry
   end up as protocol=0/witProtocol=0 ghosts on the wit-hosting sentry.
   Counting them would emit a bogus eth.ProtocolToString[0] bucket in the
   GoodPeers log. The Peers() filter already drops them from admin_peers;
   this aligns SimplePeerCount.

6. awaitStatus logs a Debug line when its timeout fires (yperbasis #5)
   so operators can tell "core didn't send status in time" from "core
   never tried" when the caller disconnects the peer with
   PeerErrorLocalStatusNeeded. Doc comment clarifies the ctx.Done case
   too (yperbasis #7).

Drops the reportsPeers flag and IsPeerReporter accessor — no longer needed
once per-sentry goodPeers replaces the reporter gating. SetP2PServer
signature loses its second argument.

Tests updated for the new shape; new TestGrpcServer_PeersReturnsPerSentryGoodPeers
(per-sentry view + ghost-entry filter) and TestGrpcServer_SetStatus_NilStatusReadyIsSafe
(close-nil guard).

Deferred to follow-up:
- BootstrapNodes/DNS resolution helper to dedupe logic between
  makeP2PServer and startSharedP2PServer (yperbasis #6).
- End-to-end Provider.Initialize test in local mode (yperbasis #8).
- [r3.4] backport PR (yperbasis #9).

Co-Authored-By: Claude
domiwei pushed a commit to domiwei/erigon that referenced this pull request May 26, 2026
…igontech#21017)

> **2026-05-15 — erigontech#21153 has merged.** The companion PR carrying the
substantive parallel-exec correctness + perf fix family
(`mh/parallel-exec-fixes`, merged 2026-05-15 02:35Z as `958b2fbb85`) is
now on `main`. This PR has been rebased onto fresh main; the trimmed
branch contains only the serial/parallel exec-mode CI matrix yamls plus
two CI hygiene fixes (a shared `build-erigon-image` job for the kurtosis
matrix, and the `setup-erigon` apt-mirror flake fix), plus three
workflow follow-ups from the 2026-05-13 review.
>
> **Landed precursors:**
> - ✅ erigontech#21153 (merged 2026-05-15) — parallel-exec correctness/perf stack
split from this PR
> - ✅ erigontech#21088 (merged 2026-05-10) — parallel-commitment correctness for
reorg/unwind + SD recreate
> - ✅ erigontech#21032 (merged 2026-05-08) — wrong-trie-root on Cancun / SD paths
> - ✅ erigontech#21039 (merged 2026-05-08) — apply-loop completeness false-flag on
partial-batch exit
> - ✅ erigontech#21010 (merged 2026-05-07) —
`commitmentCalculator.asOfReader.txNum=0` lazy-load fix
>
> Open follow-up issues (separate from this PR's scope): erigontech#21106
(parallel-exec hardening), erigontech#21107 (stage-exec `from-0`/`chaintip`),
erigontech#21108 (residual `EXEC3_PARALLEL` functional cases), erigontech#21136 (gated
SkipLoads), erigontech#21138 (heuristic-removal structural cleanup).

## Summary

Adds an `exec_mode: [serial, parallel]` matrix axis to every CI test
workflow that exercises the EL execution path so divergence between
`dbg.Exec3Parallel` true and false is caught on the PR rather than after
release.

The toggle is plumbed via `ERIGON_EXEC3_PARALLEL` — `envLookup` in
[common/dbg/dbg_env.go:38](common/dbg/dbg_env.go#L38) auto-prepends the
`ERIGON_` prefix to the source-side `EXEC3_PARALLEL` flag in
[common/dbg/experiments.go:81](common/dbg/experiments.go#L81).

## Why

`Exec3Parallel = false` is currently the source default on `main`. With
no CI workflow setting the env var, every CI run today exercises only
the **serial** path. The parallel path lands via `--bal` chains and
tests like `experimentalBAL`, but the broad correctness signal (unit /
race / hive / kurtosis / RPC integration) is single-mode. This PR makes
both modes a per-PR signal.

## Affected workflows

**Always-on** (matrix on every PR / dispatch / call):

| Workflow | Runner | Parallelism | Cost |
|---|---|---|---|
| test-all-erigon.yml | GitHub-hosted (per-OS) | true parallel |
wall-clock unchanged, +1× runner-min |
| test-all-erigon-race.yml | GitHub-hosted | true parallel | same |
| test-hive.yml | hive group | parallel if pool has slots | same (group
is sized) |
| test-hive-eest.yml | hive group | parallel if pool has slots | same |
| test-kurtosis-assertoor.yml | `ubuntu-latest` | true parallel | same |

**Auto-fire on PRs touching their own YAML, dispatch otherwise** (so
regular PRs don't pay the cost; this PR triggers each one once for
end-to-end validation):

| Workflow | Notes |
|---|---|
| test-bench.yml | `go bench` |
| qa-rpc-integration-tests-latest.yml | self-hosted single-pool,
`max-parallel: 1` (shared testbed state) |
| qa-rpc-performance-comparison-tests.yml | erigon runs serial+parallel,
geth single-mode (placeholder ignored) |
| qa-txpool-performance-test.yml | kurtosis txpool, `max-parallel: 1` |
| qa-stage-exec.yml | 3 mode_names × 2 exec_modes = 6 entries |

**Skipped** — `test-integration-caplin.yml` runs `cl/spectest` only,
doesn't exercise the EL exec path; matrix-doubling would just re-run
identical CL tests.

## Plumbing details

* Workflows that build erigon and run go tests directly: env var set on
the test step's `env:` block.
* Hive-based workflows: an `ENV ERIGON_EXEC3_PARALLEL=...` line is
appended to `clients/erigon/Dockerfile` during the existing sed-patch
loop so every hive-launched erigon inherits the toggle.
* Kurtosis-based workflows: a single upstream `build-erigon-image` job
builds `test/erigon:current-base` once for the whole matrix and uploads
it as a run-scoped artifact; each matrix entry downloads + `docker
load`s and adds a cheap `ENV ERIGON_EXEC3_PARALLEL=…` layer on top to
produce `test/erigon:current`. Avoids ~12 concurrent buildx jobs all
writing the same `type=gha` cache scope and 504-ing.
* Self-hosted single-pool workflows use `max-parallel: 1` to serialize
matrix entries cleanly when state on the runner box is shared (testbed
datadir, reference datadir, etc.).
* All artifact / enclave / testbed-dir names are disambiguated by
`exec_mode` so the two matrix entries don't clobber each other's
outputs.

## Review follow-ups (2026-05-15 rebuild)

After rebasing onto post-erigontech#21153 main, three workflow fixes from the
2026-05-13 review are applied as separate commits on top of the 4
trimmed CI commits:

| Commit | Fixes |
|---|---|
| `ci: gate parallel-suffix QA test_name on client==erigon` | yperbasis
Blocker 2 + Copilot thread erigontech#4 — geth's placeholder `exec_mode: parallel`
previously caused its Grafana `test_name` to gain a stray `-parallel-`
suffix, breaking historical dashboard queries |
| `ci: align test-hive devp2p sim-limit between serial and parallel
matrix legs` | yperbasis nit 5 + Copilot threads erigontech#3/erigontech#9 — both legs now
run `sim-limit: eth` (discv5 doesn't exercise the EL exec path; matches
the long-standing comment) |
| `ci: fix Targetting typo in test-hive-eest.yml` | Copilot thread erigontech#6 —
s/Targetting/Targeting/ |

The yperbasis Blocker 1 (`cmd/integration/commands/stages.go:631`
ignores `ERIGON_` prefix, so `qa-stage-exec`'s serial entry silently
runs in parallel mode) is a Go change, raised as a separate small PR to
keep this one strictly `.github/` only.

## Test plan

This PR's CI run **is** the test. The 5 always-on workflows fire
automatically on PR. The 5 perf workflows auto-fire because their
`pull_request: paths` filter matches the workflow's own YAML — so
opening this PR triggers all 10 affected workflows.

What to look for in this PR's "Checks" tab:
- [x] Each affected workflow has both `serial` and `parallel` matrix
entries listed.
- [x] Job display names show the mode (e.g. `tests-mac-linux
(ubuntu-24.04, parallel)`).
- [x] Wall-clock for hosted-runner workflows is essentially unchanged
from main baseline (jobs ran concurrently on separate runners).
- [x] Self-hosted single-pool workflows show ~2× wall-clock (matrix
entries serialize).
- [x] Both modes pass on every workflow. **If serial fails where
parallel passes (or vice versa), that's a real regression we'd want to
catch — exactly the point of this change.**

After merge, regular PRs only pay the matrix cost on the 5 always-on
workflows; the 5 perf workflows go back to being dispatch /
schedule-only.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: taratorio <94537774+taratorio@users.noreply.github.com>
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: milen <taratorio@users.noreply.github.com>
bloxster pushed a commit that referenced this pull request May 27, 2026
…der, RPC Daemon)

Treats the four Erigon component modules as proper nouns in prose, while
keeping the binary / CLI / Go-package identifiers lowercase (those live in
code fences, inline code, CLI flags, or paths and are unchanged).

Module name normalization rules:
- `sentry` (prose) → `Sentry`
- `txpool` / `Txpool` (prose) → `TxPool`
- `downloader` (prose) → `Downloader`
- `rpcdaemon` / `RPCdaemon` / `RPCDaemon` / `RPC daemon` (prose) → `RPC Daemon`

Notes:
- The CLI binary / build target / package identifier (e.g. `./build/bin/rpcdaemon`,
  `make txpool`, `--txpool.api.addr`) stays lowercase. The audit script
  masks inline code, fenced blocks, CLI flags (`--foo.bar`), URLs, and
  paths, so only plain prose is rewritten.
- Fixes one broken in-page anchor in fundamentals/tls-authentication.md
  (`#6-run-erigon-and-rpcdaemon-...` → `#6-run-erigon-and-rpc-daemon-...`)
  caused by the heading rename.

Verified: Docusaurus build green (onBrokenAnchors: throw), Zabaniya approved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants