go-ethereum/statediff/test_helpers/mocks
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
..
backend.go Fix lint errors 2022-03-16 15:04:31 -04:00
blockchain.go Add tests for the API to change addresses being watched 2022-04-01 14:55:33 +05:30
builder.go Statediffing geth 2022-02-16 14:40:08 -06:00
indexer.go Add tests for the API to change addresses being watched 2022-04-01 14:55:33 +05:30
service_test.go Handle all breaking changes for the patch 2022-04-06 10:57:57 -04:00
service.go Handle all breaking changes for the patch 2022-04-06 10:57:57 -04:00