* Clear cache of latest entities on event processing error
* Remove lighthouse-watcher and update ethersjs version
* Handle GraphDecimal type in state entity
* Add option for comparing all entities using paginate
* Clear pruned cached entities at intervals
* Move ipld-demo to graph-node package and remove reset-dbs script
* Implement changes in all watchers and codegen
* Changes to use util from uniswap-watcher
* Refactor ResultIPLDBlock to util
* Verify state in compare CLI for uniswap multiple queries
* Prepare watcher-ts for publishing packages
* Fix verify state in compare CLI for multiple entities query
* Fix codegen util imports
* Update fill prefetch CLI to accept env variables
* Clean up assets before building util package
* Accomodate change in other watchers and codegen
* Add logs for debugging failing test in CI
* Implement storage call in subgraph mapping code
* Add test for mapping type variable storage call
* Use vulcanize graph-ts
* Revert to graph-ts version 0.22.1
* Make sumStaked variable local in eden network mapping
* Implement compare CLI to fetch and query by ids
* Set filterLogs to true for eden-watcher
* Use varchar for bigint array type in eden-watcher
* Store subgraph entities by id in IPLD state
* Store bigint vales as string in IPLD state
* Update eden watcher hook to store single Block entity in IPLD checkpoint
* Fix entity enum type property
* Fix parsing big numbers in event params
* Fix event bigint params parsing in all watchers
* Set default limit to query result and process block after events
* Remove using graph-node from mobymask-watcher
* Parse batched transactions for MobyMask events
* Update to use same ethers package version
* Add CLI for processing block out of order
* Fix job-runner for already processed blocks out of order
* Transpile ES5 code.
* Use transpiled ES5 code in all packages.
* Refactor tracing-client to transpile ES5 code.
* Order scripts in package json.
* Update readme in packages with new scripts.
* Refactor code to use entity config programatically.
* Remove unused depencdencies.
* Use DEBUG environment for scripts.
Co-authored-by: nabarun <nabarun@deepstacksoft.com>
* Assert proof data for intial test cases of value type variables.
* Assert proof data for value type variables integers and bytes.
* Assert proof for dynamic byte arrays and strings.
* Assert proof for fixed array types.
* Assert proof for dynamic array types.
* Assert proofs for nested arrays.
* Assert proof for struct type variables.
* Assert proof for mapping type variables.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Refactor transaction wait for value types and arrays.
* Refactor transaction wait for reference type variables.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Implement test for getStorageValue with geth server.
* Wait for transaction to complete in tests.
* Implement tests with ipld-eth-client using graphql endpoint.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Tests for fixed array of struct type.
* Add tests for maps with struct type value and double nested maps.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Add tests for structs with fixed array and string type
members.
* Refactor functions in solidity-mapper storage.
* Add tests for getting array and string type member value in struct.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Implement getting value for struct types.
* Add tests for structs with value type memebers.
* Add tests for verifying proof in struct type.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Tests for mapping with value type keys.
* Add test for mapping with string type keys.
* Add test for mapping with dynamically-sized byte array as keys.
* Add tests for nested mapping.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Implement getting value for basic mapping type.
* Add test for basic mapping type.
* Implement getting value for nested mapping type.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Add tests for getStorageInfo and getEventNameTopics.
* Lint solidity-mapper package code.
* Add test for contract type.
* Add test for fixed size byte arrays.
* Add test for Enum types.
* Add tests for variables packed together and using single slot.
* Fix comments in test contracts.
Co-authored-by: nikugogoi <95nikass@gmail.com>
* Initial setup with hardhat and typescript.
* Add test for integer type.
* Add test for unsigned integer type.
* Add test for boolean type.
* Add test for address type.
* Add test for string type.
* Setup building library with typescript.
* Remove hardhat dependency from getStorageValue library function.
* Move contracts to test and remove deploy script.
* Add readme for running tests.
Co-authored-by: nikugogoi <95nikass@gmail.com>