Skip to content

Conversation

@themariofrancia
Copy link
Contributor

Description

Type of change

  • Bug fix 🐞
  • New feature ✨
  • Breaking change πŸ’₯
  • Documentation update πŸ“–
  • Refactor πŸ”§

Testing

Node version:

  • 20
  • 22
  • 24

Checklist

  • Style Guidelines followed βœ…
  • Documentation Updated πŸ“š
  • Linters - No New Warnings ⚠️
  • Local Tests Pass βœ…
  • Effective Tests Added βœ”οΈ
  • No reduction of Coverage βœ…

themariofrancia and others added 14 commits January 23, 2026 08:50
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
…ge cases and improve safety

Signed-off-by: Mario Francia <[email protected]>
…andle edge cases and improve safety"

This reverts commit ba6cb33.

Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
@hedera-eng-infrastructure
Copy link

hedera-eng-infrastructure commented Jan 26, 2026

βœ… Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
βœ… Open Source Security 0 0 0 0 0 issues
βœ… Licenses 0 0 0 0 0 issues

πŸ’» Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

jaime-iobermudez and others added 2 commits January 26, 2026 15:42
Signed-off-by: Mario Francia <[email protected]>
Signed-off-by: Alberto Molina <[email protected]>
Co-authored-by: Alberto Molina <[email protected]>
@themariofrancia themariofrancia changed the title Development chore:release - Jan 27, 2026
AlbertoMolinaIoBuilders and others added 10 commits January 27, 2026 16:22
- Enhanced commit-msg hook to verify/auto-add DCO sign-off
- Added pre-push hook as final gate requiring both DCO + GPG
- Created setup-git.sh script for developer onboarding
- Updated CONTRIBUTING.md with setup instructions

The enforcement layers:
1. pre-commit: lint-staged for code quality
2. commit-msg: DCO verification + auto-addition + commitlint
3. pre-push: blocks push without DCO + GPG signatures

Signed-off-by: Miguel_LZPF <[email protected]>
Reorganize the monolithic registry generator into a well-structured module
with clear separation of concerns:

Core Components:
- extractor.ts: Contract metadata extraction from artifacts
- scanner.ts: Filesystem scanning and contract discovery
- generator.ts: Code generation logic (formerly registryGenerator.ts)
- pipeline.ts: Main generation orchestration
- types.ts: Centralized type definitions

Utilities:
- abiExtractor: ABI parsing and extraction
- fileUtils: File I/O operations
- logging: Structured logging
- solidityParser: Comprehensive Solidity parser avoiding TypeChain

Benefits:
- Eliminated 6+ second TypeChain import overhead
- Improved maintainability with single-responsibility modules
- Better testability with isolated concerns
- Flexible caching support via --use-cache flag
- New npm script: npm run generate:registry:cached

Infrastructure:
- Updated barrel exports (index.ts files)
- Cleaned up atsRegistry.data.ts (removed unused exports)
- Updated CLI entry point with improved argument parsing
- Enhanced logging capabilities
- Updated integration tests

Removed:
- Old generateRegistry.ts monolithic entry point
- Duplicated operations from infrastructure layer

Reorganized files:
- scripts/tools/generators/registryGenerator.ts β†’
  registry-generator/core/generator.ts
- scripts/infrastructure/operations/generateRegistryPipeline.ts β†’
  registry-generator/pipeline.ts

Signed-off-by: Miguel_LZPF <[email protected]>
Migrate from ts-node with tsconfig-paths/register to tsx for faster,
simpler TypeScript script execution. Remove redundant ts-node configuration
from tsconfig.json since tsx handles path aliases natively.

Changes:
- packages/ats/contracts/package.json: Replace all ts-node invocations
  with tsx in CLI entry points (deploy*, upgrade*, generate:registry)
- packages/ats/contracts/tsconfig.json: Remove ts-node configuration block
- package.json: Add convenience scripts for contracts utilities exposed at
  root level (test:scripts:unit:parallel, test:scripts:integration:parallel,
  upgrade:previewnet, generate:registry, local:hardhat, size, slither, doc)

Benefits:
- Faster script execution with tsx (no tsconfig-paths dependency)
- Simpler configuration (one less configuration block)
- Better IDE integration and debugging support
- Scripts available directly from monorepo root for convenience

Signed-off-by: Miguel_LZPF <[email protected]>
The pre-push hook was incorrectly rejecting commits that had valid GPG
signatures but whose public keys were not in the local keyring. This
caused pushes to fail when rebasing from branches with commits signed
by other team members.

Changed from `git verify-commit` (requires public key) to
`git log --format=%G?` which checks if a signature EXISTS without
requiring verification. The hook now accepts any signature status
except 'N' (no signature).

Signed-off-by: Miguel Carpena <[email protected]>
Signed-off-by: Miguel_LZPF <[email protected]>
Signed-off-by: jaime-iobermudez <[email protected]>
Signed-off-by: Alberto Molina <[email protected]>
Signed-off-by: Mario Francia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants