erigon-pulse/turbo
sudeep e13a318e0b
evm t8n to use ExecuteBlockEphemerally api (#4642)
* evm t8n tool to use ExecuteBlockEphemerally api (#4512)

* fix to set V, R, S in legacy transaction

* fix to dump post-execution alloc for evm t8n

* close tx in evm t8n

* populate current difficulty and gas used in output result

- update the ExecutionResult to include corresponding info (like
  Difficulty/GasUsed)

* initial attempt at migrating 'evm t8n' to use ExecuteBlockEphemerally

* using ExecutionResult in ExecuteBlockEphemerally

* bypass validations and integrate with EphemeralExecResult

* fixing output of 'evm t8n'

- remaining bits are "stateRoot" in results.txt and "balance" field for one account in
  alloc.txt (for testdata=1)

* get ExecuteBlockEphemerally to accept getTracer lambda

* fix build failure

* test cases for evm t8n

* more test cases for evm t8n

* fix stateRoot computation in evm t8n

* remove reward argument, as EBE itself takes care of it

* final cleanups for migration to using ExecuteBlockEphemerally

* change EBEforBSC to match EBE

* fix linter issues

* manually revert an unwanted diff

* avoid calculating ReceiptHash twice

* linter check

* minor correction

* remove unnecessary logic in EBEforBsc

* fix integration tests

* fix build
2022-07-07 12:47:00 +01:00
..
adapter Ensure (fake) Bor txs + receipts are returned from all relevant RPC methods (#4663) 2022-07-07 14:40:50 +06:00
app more usage of dirs object #4390 2022-06-07 11:54:04 +07:00
builder Interruptible PoS block building (#4438) 2022-06-13 15:43:09 +02:00
cli RPC: Enable back json streaming for non-batch and non-websocket cases (#4647) 2022-07-06 11:44:06 +01:00
engineapi Commit transaction before responding on Engine API (#4506) 2022-06-20 23:03:17 +02:00
mock rpcdaemon: add txpool_status() (#2407) 2021-08-06 09:45:44 +07:00
node Bor devnet option (#4428) 2022-06-10 15:32:04 +07:00
rlphacks Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rpchelper fix/issue-4593_fix_closed_chan (#4603) 2022-07-01 20:59:52 +01:00
services trace_filter implementation based on erigon 2 update 2 data (#4431) 2022-06-12 12:44:01 +01:00
shards --downloader.verfiy flag to verify once on startup (#4597) 2022-07-01 16:52:43 +06:00
snapshotsync Try to reproduce and fix eth_getBlockByNumber returning nil (#4608) 2022-07-06 14:10:12 +01:00
stages TxPool: generics btree (#4665) 2022-07-07 11:07:48 +06:00
transactions evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
trie Remove getNodeData experimental feature (#4559) 2022-06-29 18:23:00 +06:00
README.md Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00

Erigon-API

Erigon-API is a set of tools for building applications containing Erigon node.

Our own binary erigon is built using it.

Modules

  • cli - erigon-cli, methods & helpers to run a CLI app with Erigon node.

  • node - represents an Ethereum node, running devp2p and sync and writing state to the database.

  • stagedsync - staged sync algorithm.

Examples

  • erigon - our binary is using erigon-api with all defaults

  • erigoncustom - a very simple example of adding a custom stage, a custom bucket and a custom command-line parameter

  • erigon-examples - a series of examples for Erigon api