Commit Graph

8 Commits

Author SHA1 Message Date
3af60902b7 fix modules
All checks were successful
Test / Run unit tests (pull_request) Successful in 4m42s
2024-04-08 17:42:36 +08:00
d29be73d9e Update Geth to 1.13 in Plugeth cases
Some checks failed
Test / Run unit tests (pull_request) Failing after 3m2s
2024-04-02 09:07:55 +08:00
88759a7cbc Add 'test' target. (#5)
All checks were successful
Test / Run unit tests (push) Successful in 12m28s
```
❯ make test
./scripts/compare-diffs.sh -d _var/ geth plugeth
DBUG[10-11|21:40:14] Registering statediff indexer metrics.
DBUG[10-11|21:40:14] Registering statediff DB metrics.
WARN [10-11|21:40:14.563] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:14.563] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:14.563] Attempting PreTrieCommit, but default PluginLoader has not been initialized
INFO [10-11|21:40:14.563] Persisted trie from memory database      nodes=1 size=147.00B time="5.248µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
WARN [10-11|21:40:14.563] Attempting PostTrieCommit, but default PluginLoader has not been initialized
WARN [10-11|21:40:14.563] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:14.563] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:14.563] Attempting PreTrieCommit, but default PluginLoader has not been initialized
INFO [10-11|21:40:14.563] Persisted trie from memory database      nodes=1 size=157.00B time="10.904µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
WARN [10-11|21:40:14.563] Attempting PostTrieCommit, but default PluginLoader has not been initialized
+ diff _var//A/0_diff.txt _var//B/0_diff.txt
+ diff _var//A/1_diff.txt _var//B/1_diff.txt
+ diff _var//A/2_diff.txt _var//B/2_diff.txt
+ diff _var//A/3_diff.txt _var//B/3_diff.txt
./scripts/compare-diffs.sh -d _var/ geth plugeth-parallel
DBUG[10-11|21:40:16] Registering statediff indexer metrics.
DBUG[10-11|21:40:16] Registering statediff DB metrics.
WARN [10-11|21:40:16.986] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:16.987] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:16.987] Attempting PreTrieCommit, but default PluginLoader has not been initialized
INFO [10-11|21:40:16.987] Persisted trie from memory database      nodes=1 size=147.00B time="7.87µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
WARN [10-11|21:40:16.987] Attempting PostTrieCommit, but default PluginLoader has not been initialized
WARN [10-11|21:40:16.987] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:16.988] Attempting StateUpdate, but default PluginLoader has not been initialized
WARN [10-11|21:40:16.988] Attempting PreTrieCommit, but default PluginLoader has not been initialized
INFO [10-11|21:40:16.988] Persisted trie from memory database      nodes=1 size=157.00B time="17.649µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
WARN [10-11|21:40:16.988] Attempting PostTrieCommit, but default PluginLoader has not been initialized
+ diff _var//A/0_diff.txt _var//B/0_diff.txt
+ diff _var//A/1_diff.txt _var//B/1_diff.txt
+ diff _var//A/2_diff.txt _var//B/2_diff.txt
+ diff _var//A/3_diff.txt _var//B/3_diff.txt
```

Reviewed-on: #5
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-10-12 15:03:18 +00:00
fbcb133735 Add full diff objects to output (#4)
All checks were successful
Test / Run unit tests (push) Successful in 12m36s
Reviewed-on: #4
2023-09-27 16:46:13 +00:00
353b68c395 Add script for updating go.mod to use local plugeth-statediff (#3)
All checks were successful
Test / Run unit tests (push) Successful in 12m32s
```
❯ scripts/update-mod.sh ../plugeth-statediff dumpdiff-geth/
github.com/cerc-io/eth-testing=git.vdb.to/cerc-io/eth-testing@v0.3.1

❯ scripts/update-mod.sh ../plugeth-statediff dumpdiff-plugeth
github.com/cerc-io/plugeth-statediff=/home/telackey/cerc/plugeth-statediff
github.com/cerc-io/eth-iterator-utils=git.vdb.to/cerc-io/eth-iterator-utils@v0.1.2
github.com/cerc-io/eth-testing=git.vdb.to/cerc-io/eth-testing@v0.3.1
github.com/ethereum/go-ethereum=git.vdb.to/cerc-io/plugeth@v0.0.0-20230808125822-691dc334fab1
github.com/openrelayxyz/plugeth-utils=git.vdb.to/cerc-io/plugeth-utils@v0.0.0-20230706160122-cd41de354c46

❯ scripts/update-mod.sh ../plugeth-statediff dumpdiff-plugeth-parallel/
github.com/cerc-io/plugeth-statediff=/home/telackey/cerc/plugeth-statediff
github.com/cerc-io/eth-iterator-utils=git.vdb.to/cerc-io/eth-iterator-utils@v0.1.2
github.com/cerc-io/eth-testing=git.vdb.to/cerc-io/eth-testing@v0.3.1
github.com/ethereum/go-ethereum=git.vdb.to/cerc-io/plugeth@v0.0.0-20230808125822-691dc334fab1
github.com/openrelayxyz/plugeth-utils=git.vdb.to/cerc-io/plugeth-utils@v0.0.0-20230706160122-cd41de354c46
```

Co-authored-by: Roy Crihfield <roy@manteia.ltd>
Reviewed-on: #3
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-09-27 07:48:31 +00:00
96c7e20c97 Add plugin using parallel iterators (#2)
All checks were successful
Test / Run unit tests (push) Successful in 12m26s
Reviewed-on: #2
2023-09-22 10:49:02 +00:00
ef7c42a214 Add CI test (#1)
Some checks failed
Test / Run unit tests (push) Failing after 5m48s
Simple test run comparing statediffs of the first 4 blocks of mainnet.

Reviewed-on: #1
2023-09-20 06:07:22 +00:00
ecfe35d320 Init repo with diff-dump tools and compare-diffs script 2023-09-19 18:35:44 +08:00