Most notable changes are the updates to the test contracts: due to https://eips.ethereum.org/EIPS/eip-6780, SELFDESTRUCT no longer destroys a contract (unless it occurs in the creating transaction), so CREATE2 can no longer redeploy contracts to the same address.
Reviewed-on: #264
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>
In addition to the module updates, because the new indexer code will automatically flag pre-existing blocks as non-canonical when new block is added at the same height, I had to re-order the test setup to insert non-canonical blocks first.
Now uses:
* ipld direct_by_leaf StateDB for basic queries
* trie_by_cid StateDB for trie slice and proof queries
Also:
* vulcanize => cerc refactor
* Backend method to close dbs
* state tests are in multiple packages, to allow separate ginkgo suites
* removes gap-filler module
* integration tests and github workflows
* run stack-orchestrator for testnet
* fix various issues with tests, hardhat server, dockerfile
* fix cmd flags / env vars
* fix flaky tests and clean up code
* remove unused code, scripts
* remove outdated docs
* update version
* Implement getSlice API for state nodes
* Implement getSlice API for storage nodes
* Fix the helper function to create a slice of required paths
* Fix query to get state leaf key for given storage root
* Add a test to get state slice for root path
* Add checks in queries to get canonical data
* Add tests to get state slice
* Add a todo for using an iterator
* Avoid filtering out removed nodes
* Add tests to get storage slice
* Remove logs
* Populate extra contract leaves field in the response
* Update tests
* Avoid EOAs in additional data in response
* Use iterator based approach for getSlice
* Skip undesired nodes from stem and head iterators
* Update storage slice tests
* Fix meta data updates
* Use state trie to get stem nodes directly using paths
* Bugfix - Continue processing other trie nodes on encountering a leaf
* Remove unnecessary TODO
* cerc refactor waiting on unpublished dependencies
* cerc refactor updates for dependencies
* Describe imports got removed
* cleaning up more vulcanize refs in ci/cd
* another test lost Describe imports
* another test lost Describe imports... not caught in go build -a???
* more cerc-io migrations to utilize new git.vdb.to gitea instance
* switching back to github for running unit test
* first try at git.vdb.to as conatiner repository
* targeted tag was incomplete
* Update queries to fetch data from cids tables
* Fix eth_getTransactionByHash to return tx from canonical block
* Fetch transaction by hash in a single query
* Update queries to fetch data from IPLD blocks table
* Avoid NULL result from canonical block hash query
* Update GitHub workflow and script to run unit tests
* Avoid usage of LIMIT 1 in queries for GQL API
* Fetch IPLD data separately when retrieving latest account data or storage value
* Upgrade geth dependency
* Update GitHub workflow
* Update geth version: 1.10.18
* Upgrade to Go18 and fix broken interfaces
* Update Go version in dockerfile
* Update make file to download dependencies
* Update go version for integration tests.
* update file name
* install packages.
* Update gingko version and secret
* Update unit test download package
* Update vulcanize dependencies
* Update commands for calling unit tests
* Use latest version of statediff
* Update go, geth, and tests
* Update all the quotes
* Update stack-orchestrator
* Update docker-compose ref
* Add ipld-eth-db locally
* Deploy contracts
* Update tests.yaml
* Update config file properly
* Fix steps for integration test after geth update
Co-authored-by: nabarun <nabarun@deepstacksoft.com>