Commit Graph

65 Commits

Author SHA1 Message Date
Omar Abdulla 4c55bba53d Merge branch 'feature/better-input-parser' into omar-temp 2025-07-16 15:34:28 +03:00
Omar Abdulla 222b5d4f86 Merge branch 'bugfix/finding-contract-abi' into omar-temp 2025-07-16 15:34:21 +03:00
Omar Abdulla 762288bf04 Merge branch 'bugfix/kitchensink-gas-limit' into omar-temp 2025-07-16 15:34:04 +03:00
Omar Abdulla cac2220188 Merge remote-tracking branch 'origin/main' into feature/better-input-parser 2025-07-16 15:31:33 +03:00
Omar Abdulla 4bf22f2d2b Merge remote-tracking branch 'origin/main' into bugfix/finding-contract-abi 2025-07-16 15:21:21 +03:00
Omar baa11ad28f Correctly identify which contracts to compile (#44)
* Compile all contracts for a test file

* Fix compilation errors related to paths

* Set the base path if specified
2025-07-16 11:52:40 +00:00
Omar c2e65f9e33 Fix function selector & argument encoding (#39)
* Fix function selector and argument encoding

* Avoid extra buffer allocation

* Remove reliance on the web3 crate

* Fix tests
2025-07-15 20:00:10 +00:00
Omar 14888f9767 Update the async runtime (#42)
* Update the async runtime with syntactic sugar.

* Fix doc test

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Update crates/node-interaction/src/blocking_executor.rs

Co-authored-by: xermicus <cyrill@parity.io>

* Improve the comments

* Update the release profile

---------

Co-authored-by: xermicus <cyrill@parity.io>
2025-07-15 11:19:17 +00:00
Omar Abdulla 5c64de7e67 Change kitchensink gas limit assertion 2025-07-15 14:08:55 +03:00
Omar Abdulla fa4bf95091 Add comment on alternative solutions 2025-07-15 13:57:31 +03:00
Omar Abdulla 2537a132e6 Fix tests 2025-07-15 13:54:58 +03:00
Omar Abdulla 20da99784e Add resolution logic for other matterlabs variables 2025-07-14 23:51:59 +03:00
Omar Abdulla 6d7cd67931 Expose APIs for getting the info of a specific block 2025-07-14 23:21:53 +03:00
Omar Abdulla 68bda92465 Add a way to get block info from the node 2025-07-14 23:14:37 +03:00
Omar Abdulla ddd775d703 Add a way to get the block difficulty from the node 2025-07-14 22:53:40 +03:00
Omar Abdulla 02547b62ee Add a way to get the coinbase address 2025-07-14 22:48:45 +03:00
Omar Abdulla 61540741e1 Add support for getting the gas limit from the node 2025-07-14 22:37:50 +03:00
Omar Abdulla fa4bbbb987 Use provider method in tests 2025-07-14 22:33:09 +03:00
Omar Abdulla 8f80b1da8a Get kitchensink provider to use kitchensink network 2025-07-14 22:30:30 +03:00
Omar Abdulla c6d63255ec Merge remote-tracking branch 'origin/bugfix/kitchensink-gas-limit' into feature/better-input-parser 2025-07-14 22:29:34 +03:00
Omar Abdulla a4f5c4c8af Add ability to get the chain_id from node 2025-07-14 22:16:37 +03:00
Omar Abdulla 7d48d1600e Give nodes a standard way to get their alloy provider 2025-07-14 21:59:44 +03:00
Omar Abdulla e7e00a50dd Merge branch 'bugfix/argument-encoding' into feature/better-input-parser 2025-07-14 21:37:09 +03:00
Omar Abdulla 27a0a0de0b Fix doc test 2025-07-14 21:33:57 +03:00
Omar Abdulla 83c20b1be3 Fix tests 2025-07-14 21:30:35 +03:00
Omar Abdulla 331705134a Update the async runtime with syntactic sugar. 2025-07-14 21:13:58 +03:00
Omar Abdulla 075c8235a7 Merge remote-tracking branch 'origin/main' into bugfix/argument-encoding 2025-07-14 20:36:42 +03:00
Omar 3e99d1c2a5 Allow alloy to estimate tx gas (#37) 2025-07-14 17:34:44 +00:00
Omar Abdulla 5f86ade1e0 Implement ABI fix in the compiler trait impl 2025-07-14 20:31:06 +03:00
Omar Abdulla 43064022e8 Merge remote-tracking branch 'origin/main' into bugfix/finding-contract-abi 2025-07-14 20:25:08 +03:00
Omar Abdulla 57bb015fa3 Merge remote-tracking branch 'origin/main' into bugfix/kitchensink-gas-limit 2025-07-14 19:31:34 +03:00
Omar 4e234aa1bd Remove code that was accidentally committed. (#41)
* Remove code that was accidentally committed.

* Remove unneeded dependency
2025-07-14 16:24:39 +00:00
Omar b204de5484 Persist node logs (#36)
* 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`
2025-07-14 16:08:47 +00:00
Omar Abdulla 43e0d0e592 Remove reliance on the web3 crate 2025-07-14 18:27:38 +03:00
Omar 332012754d Merge pull request #35 from paritytech/bugfix/fix-kitchensink-no-advance
Fix an issue where kitchensink won't advance
2025-07-14 17:54:58 +03:00
Omar Abdulla eb6c64c17a Merge remote-tracking branch 'origin/main' into bugfix/kitchensink-gas-limit 2025-07-14 13:27:40 +03:00
Omar 5eb3a0e1b5 Fix for "transaction indexing is in progress" (#32)
* Retry getting transaction receipt

* Small fix to logging consistency

* Introduce a custom kitchensink network

* Fix formtting and clippy
2025-07-14 09:32:57 +00:00
Omar 772bd217c3 Fixing the CI on Ubuntu (#31)
* pin the version of geth used in CI

* pin the version of geth used in CI

* temp: run on each push

* pin the version of geth used in CI

* Make geth installation arch dependent

* Remove temp run on push to branch

* Add a comment on the need for pre-built binaries
2025-07-14 09:17:13 +00:00
Omar Abdulla 2373872230 Avoid extra buffer allocation 2025-07-14 00:02:48 +03:00
Omar Abdulla e3723e780a Fix function selector and argument encoding 2025-07-13 19:52:06 +03:00
Omar Abdulla 4d4398f83e Fix the ABI finding logic 2025-07-13 15:59:23 +03:00
Omar Abdulla 76c85f191c fix clippy warning 2025-07-11 17:31:42 +03:00
Omar Abdulla 7664e9735e fix clippy warning 2025-07-11 17:20:36 +03:00
Omar Abdulla 4bab457114 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.
2025-07-11 17:18:42 +03:00
Omar Abdulla f6374ad52a fix formatting 2025-07-11 14:49:05 +03:00
Omar Abdulla abba0cee08 Introduce a custom kitchensink network 2025-07-11 11:26:55 +03:00
Omar 0513a4befb Use tracing for logging. (#29)
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.
2025-07-10 07:28:16 +00:00
activecoder10 de7c7d6703 Compute transaction input for executing transactions (#28)
* 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
2025-07-09 11:03:38 +00:00
activecoder10 3a537c2812 Added extra logging for critical part of the flow. (#27)
* Fix legacy_transaction to address for execution part

* updated polkadot-sdk to latest

* Update polkadot-sdk to latest main with fixes

* Added extra logging

* Applied some clippy improvements
2025-06-27 15:24:57 +00:00
activecoder10 4ab79ed97e Fixed the contract deployment logic. Added new tracing logging for differential for leader and follower receipt structure (#26) 2025-06-20 13:02:54 +00:00