Revert "Withdrawals - Database (#758)" (#778)

This reverts commit 183856e788.

We will store the withdrawals in the body until we have a reason not to.
This commit is contained in:
Max Revitt 2022-12-12 12:23:21 +00:00 committed by GitHub
parent aa99053b78
commit c9c1b15547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,9 +249,6 @@ const (
BlockBody = "BlockBody" // block_num_u64 + hash -> block body
// EIP-4895 - Beacon chain push withdrawals as operations
Withdrawals = "Withdrawal" // withdrawal_index_u64 -> rlp(withdrawal)
// EthTx - stores only txs of canonical blocks. As a result - id's used in this table are also
// canonical - same across all nodex in network - regardless reorgs. Transactions of
// non-canonical blocs are not removed, but moved to NonCanonicalTransaction - then during re-org don't
@ -475,7 +472,6 @@ var ChaindataTables = []string{
ContractCode,
HeaderNumber,
BlockBody,
Withdrawals,
Receipts,
TxLookup,
ConfigTable,