Added Full Test
CI / Foundry project (push) Waiting to run

This commit is contained in:
2024-08-15 16:45:28 +08:00
parent 10c4f306f6
commit 12a67132f2
16 changed files with 539 additions and 113 deletions
+26
View File
@@ -0,0 +1,26 @@
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.21 < 0.9.0;
contract DbgEntry {
event EvmPrint(string);
constructor() {
emit EvmPrint("DbgEntry.constructor");
// Here you can either deploy your contracts via `new`, eg:
// Counter counter = new Counter();
// counter.increment();
// or interact with an existing deployment by specifying a `fork` url in `dbg.project.json`
// eg:
// ICounter counter = ICounter(0x12345678.....)
// counter.increment();
//
// If you have correct symbols (`artifacts`) for the deployed contract, you can step-into calls.
uint256 abc = 123;
uint256 def = abc + 5;
emit EvmPrint("DbgEntry return");
}
}
+13
View File
@@ -0,0 +1,13 @@
{
"entryPoint": "DbgEntry",
"solc": "0.8.26",
"sourceDirs": [
"."
],
"breakOnEntry": false,
"fork": {
"enable": false,
"url": "",
"blockNumber": 0
}
}