erigon-pulse/turbo
Max Revitt 4bdb35f94c
Withdrawals part 2 (#6180)
Continuation of PR #6009. Storage and retrieval of withdrawals.

- [x] storage of withdrawals on writeblock
- [x] composite key (block number | block hash)
- [x] value ([]withdrawal)
- [x] retrieval of withdrawals with block
- [x] tests around storing/retrieving withdrawals
- [x] tested in hive
- [x] commits tidied


## Hive Failures
- [x] Withdrawals Fork on Block 2
- [x] Withdrawals Fork on Block 3
- [ ] Sync after 2 blocks - Withdrawals on Block 1 - Single Withdrawal
Account - No Transactions ( Syncing client rejected valid chain)
- [ ] Sync after 2 blocks - Withdrawals on Block 1 - Single Withdrawal
Account (Timeout while waiting for secondary client to sync)
- [ ] Sync after 2 blocks - Withdrawals on Genesis - Single Withdrawal
Account (Timeout while waiting for secondary client to sync)
- [ ] Sync after 2 blocks - Withdrawals on Block 2 - Single Withdrawal
Account - No Transactions (Syncing client rejected valid chain)
- [ ] Sync after 2 blocks - Withdrawals on Block 2 - Single Withdrawal
Account (Timeout while waiting for secondary client to sync)
- [ ] Sync after 128 blocks - Withdrawals on Block 2 - Multiple
Withdrawal Accounts (Unexpected error on BalanceAt: Post
"http://172.17.0.4:8545/": context deadline exceeded, expected=<None>)
- [ ] Withdrawals Fork on Block 1 - 8 Block Re-Org, Sync (Expected no
error on EngineNewPayloadV2: error=Post "http://172.17.0.4:8551/":
context deadline exceeded)
- [ ] Withdrawals Fork on Block 8 - 10 Block Re-Org Sync (Expected no
error on EngineNewPayloadV2: error=Post "http://172.17.0.4:8551/":
context deadline exceeded)
- [ ] Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block
Re-Org Sync (Expected no error on EngineNewPayloadV2: error=Post
"http://172.17.0.4:8551/": context deadline exceeded)
- [ ] Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block
Re-Org Sync (Expected no error on EngineNewPayloadV2: error=Post
"http://172.17.0.4:8551/": context deadline exceeded)
2022-12-20 09:09:04 +00:00
..
adapter Withdrawals part 2 (#6180) 2022-12-20 09:09:04 +00:00
app e3: kv/temporal prototype (#6367) 2022-12-19 15:38:54 +07:00
builder Withdrawals part 1 (#6009) 2022-12-01 09:15:01 +01:00
cli Disable ipv6 flag (#6295) 2022-12-15 16:40:59 +07:00
cmdtest move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
debug e3: optimize incremental hashstate (#6179) 2022-12-03 12:23:01 +07:00
engineapi Create in-memory MDBX inside dirs.Tmp (#5702) 2022-10-11 16:49:38 +01:00
logging Upgrade urfave/cli to v2 (#6047) 2022-11-14 17:33:57 +01:00
mock rpcdaemon: add txpool_status() (#2407) 2021-08-06 09:45:44 +07:00
node Remove Ropsten & Fermion (#6262) 2022-12-10 22:55:31 +00:00
rlphacks Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rpchelper Workaround for the code history of BSC system contracts (#6274) 2022-12-10 22:41:04 +00:00
services Transaction count fix (#4888) 2022-08-04 18:49:53 +07:00
shards hashers to use sync.pool (#6200) 2022-12-04 17:23:44 +07:00
snapshotsync e3: kv/temporal prototype (#6367) 2022-12-19 15:38:54 +07:00
stages e3: kv/temporal prototype (#6367) 2022-12-19 15:38:54 +07:00
testlog move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
transactions Native tracers - step 4 (#6363) 2022-12-19 03:12:08 +00:00
trie Use hex package to convert bytes to string (#6205) 2022-12-05 09:06:16 +07: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