go-ethereum/statediff/indexer/database/sql
Abdul Rabbani 3477d35af4 Handle all breaking changes for the patch
The major change to integrate the patch has been:

* Updating the arguments for `rlp.EncodeToBytes`. This function accepts interfaces, but since the last update, it is better to pass in a pointer to the function.
* From the Ethereum Release Notes: "
Compatibility note about `core/types`: For optimization purposes, `types.Header` and other types in this package now implement the `rlp.Encoder` interface. This change can cause incompatibilities because the new method is implemented with pointer receiver. Attempting to RLP-encode unadressable (i.e. non-pointer) values of type `Header` does not work anymore and will result in an error."
* Instead of just updating all the headers. I have updated all parameters for the `rlp.EncodeToBytes` to be pointers instead of values.

__Please take a close look at the updates__. The functions won't fail if a non-pointer is passed (in most cases), but we could be unexpected behaviors.
2022-04-06 10:57:57 -04:00
..
mainnet_tests Code Clean Up 2022-03-30 17:30:19 -04:00
postgres Update known_gaps table name 2022-03-31 14:11:57 -04:00
batch_tx.go Statediffing geth 2022-02-16 14:40:08 -06:00
indexer_shared_test.go Add tests for indexer methods used to change addresses being watched 2022-04-01 14:55:33 +05:30
indexer.go Index Removed storage diffs on contract destruction 2022-04-05 11:03:54 +05:30
interfaces.go Function To Add entry to known_gaps 2022-03-21 16:28:13 -04:00
metrics.go Statediffing geth 2022-02-16 14:40:08 -06:00
pgx_indexer_legacy_test.go Statediffing geth 2022-02-16 14:40:08 -06:00
pgx_indexer_test.go Handle all breaking changes for the patch 2022-04-06 10:57:57 -04:00
sqlx_indexer_legacy_test.go Statediffing geth 2022-02-16 14:40:08 -06:00
sqlx_indexer_test.go Handle all breaking changes for the patch 2022-04-06 10:57:57 -04:00
test_helpers.go Add tests for indexer methods used to change addresses being watched 2022-04-01 14:55:33 +05:30
writer.go Refactor: Decouple knownGaps and Indexer 2022-03-29 16:45:26 -04:00