* eth-client API to get transaction in block.
* Job queue to process tracing requests.
* Request traces from job queue runner.
* Max trace completion lag time config for downstream events.
* 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>
* Maintain cache of previous address resolution.
* Indent using tabs in call_address_tracker to keep diffs sane.
* Undo aggressive falsifying of potential addresses.
* Capture opcode from prev step, more mainnet tx traces.
* 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>
* Set up typescript build and eslint.
* Automatic lint fixes.
* Fix argument type warnings.
* Fix function return types.
* Fix typescript errors in watcher.
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>
* Update mock server and tests for additional ERC20 state vars.
* Refactor eth-client getStorageAt, impl totalSupply.
* Impl ERC20 API for name, symbol.
* 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>