erigon-pulse/cmd/hack
racytech 42e8db3958
eip-4844: modified DecodeTransaction version 1 (#7442)
Blob transactions are SSZ encoded, so it had to be added to decoding.
There are 2 encoding forms: `network` and `minimal` (usual). Network
encoded blob transactions include "wrapper data" which are `kzgs`,
`blobs` and `proofs`, and decoded by `DecodeWrappedTransaction`. For
previous types of transactions the network encoding is no different.
Execution-payloads / blocks use the minimal encoding of transactions. In
the transaction-pool and local transaction-journal the network encoding
is used.

Concerns: 
1. Possible performance reduction caused by these changes, not sure if
streams are better then slices. Go slices in this modifications are
read-only, so they should be referred to the same underlying array and
passed by a reference.
2. If `DecodeWrappedTransaction` and `DecodeTransaction` will create
confusion and should be merged into one function.
2023-05-09 18:44:53 +01:00
..
db WithTablessCfg -> WithTableCfg (#5163) 2022-08-24 11:29:07 +02:00
flow reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
scripts Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
tool reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
hack.go eip-4844: modified DecodeTransaction version 1 (#7442) 2023-05-09 18:44:53 +01:00