* Allow for files to be specified in the corpus file
* Attempt to improve the geth tx indexing issue.
We're facing an issue where Geth transaction indexing can sometimes stall
on some of the nodes we're running. The logs show that for all transactions
we always need 1 second of waiting time. However, during certain runs we
sometimes run into an issue with some of the nodes where it seems like
their transaction indexer fails (either at the start or after some amount
of time) which leads us to never get the receipts back from these specific
nodes.
This is not a load issue as it appears like all of the other nodes handle
it just fine. However, it looks like once a node gets into this state it
can not get out of it and its bricked for the entire run.
This commit adds some more command line arguments to the geth command in
hopes of improving this issue.
* Add a barebones common crate
* Refactor some code into the common crate
* Add a `ResolverApi` interface.
This commit adds a `ResolverApi` trait to the `format` crate that can be
implemented by any type that can act as a resolver. A resolver is able
to provide information on the chain state. This chain state could be
fresh or it could be cached (which is something that we will do in a
future PR).
This cleans up our crate graph so that `format` is not depending on the
node interactions crate for the `EthereumNode` trait.
* Cleanup the blocking executor
* Pre-seed accounts with more ETH.
This commit fixes and solves some issues around how much ETH we seed an
account with in genesis. Currently, any account that the node has keys
to sign for will be seeded with u128::MAX WEI in genesis. This also
includes the default signer account.
* Bump commit hash of polkadot SDK
* Change how the cache key is computed
* Revert "Change how the cache key is computed"
This reverts commit 75afdd9cfd.
* Revert "Bump commit hash of polkadot SDK"
This reverts commit 8aaa69780e.
* Add extra comments
* Revert "Add extra comments"
This reverts commit bd4de2c83d.
* Update the initial balance
* Add support for wrapper types
* Move `FilesWithExtensionIterator` to `core::common`
* Remove unneeded use of two `HashMap`s
* Make metadata structs more typed
* Impl new_from for wrapper types
* Implement the new input handling logic
* Fix edge-case in input handling
* Ignore macro doc comment tests
* Correct comment
* Fix edge-case in deployment order
* Handle calldata better
* Allow for the use of function signatures
* Add support for exceptions
* Cached nonce allocator
* Fix tests
* Add support for address replacement
* Cleanup implementation
* Cleanup mutability
* Wire up address replacement with rest of code
* Implement caller replacement
* Switch to callframe trace for exceptions
* Add a way to skip tests if they don't match the target
* Handle values from the metadata files
* Remove address replacement
* Correct the arguments
* Remove empty impl
* Remove address replacement
* Correct the arguments
* Remove empty impl
* Fix size_requirement underflow
* Add support for wildcards in exceptions
* Fix calldata construction of single calldata
* Better handling for length in equivalency checks
* Make initial balance a constant
* Fix size_requirement underflow
* Add support for wildcards in exceptions
* Fix calldata construction of single calldata
* Better handling for length in equivalency checks
* Fix tests
* Add support for wrapper types
* Move `FilesWithExtensionIterator` to `core::common`
* Remove unneeded use of two `HashMap`s
* Make metadata structs more typed
* Impl new_from for wrapper types
* Implement the new input handling logic
* Fix edge-case in input handling
* Ignore macro doc comment tests
* Correct comment
* Fix edge-case in deployment order
* Introduce a custom kitchensink network
* fix formatting
* Added `--dev` to `substrate-node` arguments.
This commit adds the `--dev` argument to the `substrate-node` to allow
the chain to keep advancing as time goes own. We have found that if this
option is not added then the chain won't advance forward.
* fix clippy warning
* fix clippy warning
* Fix function selector and argument encoding
* Avoid extra buffer allocation
* Remove reliance on the web3 crate
* Update the async runtime with syntactic sugar.
* Fix tests
* Fix doc test
* Give nodes a standard way to get their alloy provider
* Add ability to get the chain_id from node
* Get kitchensink provider to use kitchensink network
* Use provider method in tests
* Add support for getting the gas limit from the node
* Add a way to get the coinbase address
* Add a way to get the block difficulty from the node
* Add a way to get block info from the node
* Expose APIs for getting the info of a specific block
* Add resolution logic for other matterlabs variables
* Fix tests
* Add comment on alternative solutions
* Change kitchensink gas limit assertion
* Remove un-needed profile config
* Introduce a custom kitchensink network
* fix formatting
* Added `--dev` to `substrate-node` arguments.
This commit adds the `--dev` argument to the `substrate-node` to allow
the chain to keep advancing as time goes own. We have found that if this
option is not added then the chain won't advance forward.
* fix clippy warning
* fix clippy warning
* Persist node logs
* Fix clippy lints
* Delete the node's db on shutdown but persist logs
* Fix tests
* Separate stdout and stderr and use more consts.
* More consistent handling of open options
* Revert the use of subprocess
* Remove outdated comment
* Flush the log files on drop
* Rename `log_files` -> `logs_file_to_flush`
This commit updates how logging is done in the differential testing
harness to use `tracing` instead of using the `log` crate. This allows
us to be able to better associate logs with the cases being executed
which makes it easier to debug and understand what the harness is doing.
* Parsed ABI field in order to get method parameter
* Added logic for ABI
* Refactored dependencies
* Small refactoring
* Added unit tests for ABI parameter extraction logic
* Fixed format issues
* Fixed format
* Added new changes to format
* Added bail to stop execution when we have an error during deployment