Feat/monorepo config package - #21
Merged
Merged
Conversation
Add packages/config with per-network contract addresses, auto-generated local.ts (git-ignored), and checkContractsDeployment script that deploys to solo and writes real addresses. Wire turbo pipeline so config generation runs before compile, and deployment check runs before dev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ainnet checkContractsDeployment now deploys on any network (not just solo) and writes addresses to the matching config file. Added per-env turbo tasks (setup-contracts:testnet/mainnet, check-contracts-deployment:testnet/mainnet) and contracts package scripts so each yarn dev:<env> auto-deploys if needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…cture - Replace simple HelloWorld with UUPS upgradeable version (namespaced storage, AccessControl, UPGRADER_ROLE, version()) - Add VeChainProxy.sol (ERC1967 proxy, adapted from B3TRProxy) - Add scripts/helpers/upgrades.ts with deployProxy, upgradeProxy, deployAndUpgrade - Add scripts/deploy/deploy.ts for production deployment via proxy helpers - Add scripts/upgrade/ with interactive CLI, upgradesConfig registry - Update checkContractsDeployment to use deployProxy - Update test to deploy via proxy - Add OZ dependencies and upgrade/deploy scripts to contracts package.json - Reference smart-contract-development skill for architecture/patterns Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…rt-contract skill - Replace simple UUPS example with production BaseUpgradeable template (AccessControl, namespaced storage, UPGRADER_ROLE, version()) - Add VeChainProxy (ERC1967) contract - Add proxy deployment helpers (deployProxy, upgradeProxy, etc.) - Add upgrade infrastructure: version pattern, reinitializer, CLI system, upgrade script template, deprecated versions for upgrade tests - Add upgrade test version mismatch warning - Add deploy + test sync requirement and new contract checklist - Add NatSpec, custom errors, events as explicit code style rules - Add Slither static analysis configuration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…po scaffold Add hardhat-contract-sizer, hardhat-ignore-warnings, solidity-coverage, and solidity-docgen to the contracts package with proper config in hardhat.config.ts. Add root scripts for docs, coverage, and size. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skill Size Report
Large reference files (>5.0K tok)
|
Skill Security AuditScanned 52 file(s) — found 12 issue(s) across 4 file(s). 🔵 LOW (12)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.