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 +1 -1
- package/dist/wakeGenerator.js +2 -1
- package/package.json +1 -1
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
|
|
301
|
+
if (isAbstract) {
|
|
302
302
|
this.logDebug('Skipping abstract contract', { contractName, sourcePath });
|
|
303
303
|
continue;
|
|
304
304
|
}
|
package/dist/wakeGenerator.js
CHANGED
|
@@ -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 (
|
|
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;
|