recon-generate 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/generator.js CHANGED
@@ -298,7 +298,7 @@ class ReconGenerator {
298
298
  this.logDebug('Skipping artifact from non-source directory', { contractName, sourcePath });
299
299
  continue;
300
300
  }
301
- if (isAbstract && !isExplicitlyIncluded && !isExplicitlyMocked) {
301
+ if (isAbstract) {
302
302
  this.logDebug('Skipping abstract contract', { contractName, sourcePath });
303
303
  continue;
304
304
  }
@@ -390,7 +390,7 @@ class WakeGenerator {
390
390
  }
391
391
  const hasCreationCode = typeof c.creation_code === 'string' && c.creation_code.trim().length > 0;
392
392
  if (!hasCreationCode) {
393
- this.logDebug('Skipping contract without creation code (likely abstract)', { contract: c.name, module: c.module });
393
+ this.logDebug('Skipping contract without creation code (abstract)', { contract: c.name, module: c.module });
394
394
  continue;
395
395
  }
396
396
  if (!this.isContractAllowed(c.name)) {
@@ -481,6 +481,7 @@ class WakeGenerator {
481
481
  if (!explicitlyIncluded && isInterface) {
482
482
  return false;
483
483
  }
484
+ // Always filter abstract contracts (no creation code), even if explicitly included
484
485
  const hasCreationCode = typeof c.creation_code === 'string' && c.creation_code.trim().length > 0;
485
486
  if (!hasCreationCode) {
486
487
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "recon-generate",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "CLI to scaffold Recon fuzzing suite inside Foundry projects",
5
5
  "main": "dist/index.js",
6
6
  "bin": {