go-ethereum/mobile
Michael 918a30dcc9
V1.10.23 statediff v4 wip (#275)
* Statediff Geth

Handle conflicts (#244)

* Handle conflicts

* Update go mod file versions

* Make lint changes

Disassociate block number from the indexer object

Update ipld-eth-db ref

Refactor builder code to make it reusable

Use prefix comparison for account selective statediffing

Update builder unit tests

Add mode to write to CSV files in statediff file writer (#249)

* Change file writing mode to csv files

* Implement writer interface for file indexer

* Implement option for csv or sql in file mode

* Close files in CSV writer

* Add tests for CSV file mode

* Implement CSV file for watched addresses

* Separate test configs for CSV and SQL

* Refactor common code for file indexer tests

Update indexer to include block hash in receipts and logs (#256)

* Update indexer to include block hash in receipts and logs

* Upgrade ipld-eth-db image in docker-compose to run tests

Use watched addresses from direct indexing params by default while serving statediff APIs (#262)

* Use watched addresses from direct indexing params in statediff APIs by default

* Avoid using indexer object when direct indexing is off

* Add nil check before accessing watched addresses from direct indexing params

Rebase missed these changes needed at 1.10.20

Flags cleanup for CLI changes and linter complaints

Linter appeasements to achieve perfection

enforce go 1.18 for check (#267)

* enforce go 1.18 for check

* tests on 1.18 as well

* adding db yml for possible change in docker-compose behavior in yml parsing

Add indexer tests for handling non canonical blocks (#254)

* Add indexer tests for header and transactions in a non canonical block

* Add indexer tests for receipts in a non-canonical block and refactor

* Add indexer tests for logs in a non-canonical block

* Add indexer tests for state and storage nodes in a non-canonical block

* Add indexer tests for non-canonical block at another height

* Avoid passing address of a pointer

* Update refs in GitHub workflow

* Add genesis file path to stack-orchestrator config in GitHub workflow

* Add descriptive comments

fix non-deterministic ordering in unit tests

Refactor indexer tests to avoid duplicate code (#270)

* Refactor indexer tests to avoid duplicate code

* Refactor file mode indexer tests

* Fix expected db stats for sqlx after tx closure

* Refactor indexer tests for legacy block

* Refactor mainnet indexer tests

* Refactor tests for watched addressess methods

* Fix query in legacy indexer test

rebase and resolve onto 1.10.23... still error out of index related to GetLeafKeys

changed trie.Commit behavior was subtle about not not flushing to disk without an Update

* no merge nodeset throws nil

* linter appeasement

Co-authored-by: Abdul Rabbani <abdulrabbani00@gmail.com>
2022-09-01 14:34:58 -04:00
..
accounts.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
android_test.go V1.10.23 statediff v4 wip (#275) 2022-09-01 14:34:58 -04:00
big.go mobile: added constructor for big int (#21597) 2020-09-28 14:12:08 +02:00
bind.go accounts/abi/bind: allow specifying signer on transactOpts (#21356) 2020-12-08 14:44:56 +01:00
common.go mobile: better api for java users (#21580) 2020-09-21 16:33:35 +02:00
context.go mobile: fix comment typos (#19741) 2019-06-20 11:38:31 +02:00
discover.go les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
doc.go all: fix typos in comments (#21118) 2020-05-25 10:21:28 +02:00
ethclient.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
ethereum.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
geth_android.go all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
geth_ios.go all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
geth_other.go all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
geth.go mobile: remove deprecated Stop function (#24369) 2022-03-09 00:42:14 +01:00
init.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
interface_test.go mobile: fix mobile interface (#19180) 2019-06-27 11:48:13 +03:00
interface.go mobile: fix mobile interface (#19180) 2019-06-27 11:48:13 +03:00
logger.go all: disable log message colors outside of geth 2017-02-27 15:33:12 +01:00
p2p.go all: update license information 2017-04-14 10:29:00 +02:00
params.go cmd/geth: add support for sepolia testnet (#23730) 2021-11-08 13:06:01 +02:00
primitives.go mobile: fix mobile interface (#19180) 2019-06-27 11:48:13 +03:00
types.go all: change format 0x%x to %#x (#25221) 2022-07-04 11:03:32 +03:00
vm.go core/vm: move Log to core/types 2017-01-06 14:15:22 +01:00