Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Refactor and Start implementing methods (bcnmy#17)
* 🙈 Add cache_forge to .gitignore * Add .husky to .gitignore * 🎨 Update tab width to 4 spaces in .prettierrc * 🚧 Disable no-inline-assembly rule in .solhint.json * ⚡️ Add account-abstraction dependency and update husky hooks * 🔥 Remove Git hooks for branch name validation * 🔧 Update tsconfig.json to disable strict mode * 🎨 Update Solidity version and remappings, delete unused contracts and tests * 🙈 Add .vscode/settings.json to .gitignore * 🔥 Delete unused contracts and tests * ✨ Add utility functions for conversion and formatting * ✨ Add buildUserOp function to utils.ts * ✨ Add git hook to check branch names * ✨ Add SmartAccount contract * ✨ Add AccountConfig contract implementation * ✨ Add Execution contract for account execution * ✨ Add ModuleConfig contract for managing modules * ✨ Add Storage contract for isolated storage access * ✨ Add Validator contract for user operation validation * ⚡️ Add ERC-7579 interfaces for smart account configuration, execution, module, and module configuration * ✨ Add IStorage interface for ERC20 account storage * 🚀 Add deployment of SmartAccount contract * 🚧 Update import statement and variable name in Deploy script * ⚡️ Add Entrypoint 0.7.0 * ⚡️ Add Imports.sol for consolidated imports * ✅ Add SmartAccount test file * 👷 Remove unnecessary branch from PR Automation Workflow * ✏️ Update storage location for SmartAccount in contracts * Feat/slither (bcnmy#14) * 👷 Add Slither analysis workflow * ♻️ Update Slither workflow to include Foundry installation*** * Add permissions and update Slither configuration * Update Slither workflow to ensure tool availability * Update Slither workflow * Add Slither workflow to run static analysis * 💚 add yarn.lock * ✨ Update Slither workflow to include Node.js setup and SARIF report generation * Remove SARIF file upload step in slither.yml * Update Slither configuration in workflow * 🚧 Update Slither workflow to include Foundry installation and contract building * Remove target directory for analysis in slither.yml workflow * 🚑 Update Slither workflow to include SARIF file upload * Add token to SARIF file upload * Add comment.js and update slither.yml workflow * Update node version in slither.yml * Update Slither workflow to fail on medium severity issues * Add target directory for Slither analysis * Update slither.yml with filter paths for mock contracts * Update slither-args in slither.yml * Fix slither-args path in GitHub workflow * Update slither configuration to exclude node_modules directory * Update slither-args in slither.yml workflow * Update Slither version to 0.10.0 * Update slither.yml to fail on no severity issues * Add check for pull request event in comment.js * Update GitHub Actions workflow to trigger on pull requests (bcnmy#15) * Update GitHub Actions workflow to trigger on pull requests * Update Slither workflow permissions and arguments * Refactor CI workflow and remove redundant coverage and slither workflows * Update Node.js and Foundry versions * Add Foundry to PATH * Update CI workflow to install lcov and make other improvements * Add cache for Foundry Toolchain * Update CI workflow configuration * Refactor GitHub Actions workflow*** * Update CI workflow to cache node_modules and Foundry toolchain * Update CI workflow and add linting, unit tests, coverage, and static analysis * Update cache keys and add Foundry toolchain * Add Foundry cache key generation and ensure Foundry directory exists * Update CI workflow and cache actions*** * Update CI workflow and dependencies * Update CI workflow to install Foundry and generate coverage report * Add lcov installation step and update Codecov upload for Foundry and Hardhat coverage reports * Refactor CI workflow and add Slither analysis * Update CI Workflow to include linting, unit tests, coverage, and slither analysis * lint comment.js module * prettier on branch name check and add comments * Refactor CI workflow and update Slither analysis * Refactor comment.js and ci.yml to improve Slither analysis report generation * Add Module contract implementation * Fix returnData initialization bug in Execution.sol and import IModule in Module.sol * Refactor getEmoji function to use text instead of impact level * Update TYPE_ID constant to uint256 * Refactor comment.js to add URL shortening and emoji processing * Update constant declaration in Module.sol * Refactor comment.js to improve readability and add emojis * Refactor comment.js to improve URL shortening and emoji handling * refactor, change acc id * 🎨 further refactor. add module types * ⚙️ validateUserOp implementation * ✅ add execute via EP test * Add remappings and solady module * 📦 Add new dependencies and update existing ones * 🔨 Update package.json with new check-branch-name script * Add 'deployments' to .gitignore * Add hardhat-deploy package * Refactor comment.js * Refactor buildUserOp function and add new utility functions * Add UserOperation and PackedUserOperation interfaces * 📦 Update dependencies in yarn.lock * Update husky hooks in package.json * 🔥 Remove unused contract files * 🐛 revert remappings in remappings.txt due to issue with hh * Remove duplicated account-abstraction dep * Update import paths for PackedUserOperation * Remove unused contracts and imports * ♻️ Update AccountConfig implementation ID * 🙈 Add .solcover.js configuration file * 🙈 add solcover * 🔥 remove utils * 🔥 remove account.test.ts * 🎨 improve code with interface * ✨ add encoding utils function * ✨ add helpers for operation * 🔥 remove unused module * 🚀 utils for deployment * ✨ add Counter test contract * ✅ add mockvalidator for test purpose * 🎨 simplify Execution funcs for quick test * ✨ add onInstall hook on moduleManager * 🔥 remove empty useless contract * 🚀 add basic AccountFactory * 🎨 add interface for AccountFactory * ✅ add deployment tests * ✅ add configuration tests * ✅ add module management tests * ✅ add acc execution tests * 🚨 lint fix * chore: forge init * forge install: forge-std v1.7.6 * chore: forge init * Delete CounterTest contract and related tests * Remove submodule lib/forge-std * 🔧 Update remappings in remappings.txt * 📦 Add ds-test dependency * 📦 Add ds-test dependency * ✨ Add computeAccountAddress function to AccountFactory * Add test function to ignore coverage of ModuleTypeLib.sol * Add test function to MockValidator to ignore coverage * Remove forge-std subproject * Update import path for Script.sol * ✨ Add Structs.sol with ModuleType enum * 🚚 Update import statement in Storage.sol * 🚚 Update module interface in AccountFactory * Remove deprecated interfaces * Add IStorage interface definition * Update imports in Imports.sol * ✨ Add Helpers.sol with utility functions * Refactor code to improve performance and readability * Refactor BicoTestBase and import Helpers and console2.sol * Add Forge-std Test import and refactor newWallet function * 🚨 Lint fix * Delete unnecessary files * 🔥 Remove unused function isInitialized() * ⚡️ Refactor comment posting logic to delete existing Slither comments * lint fix (Remove empty line in IModule.sol) * 🐛 fix missing var on comment.js * Add uniqueSlitherHeader to markdownComment * Remove test workflow * refactor * proposed naming convention changes * rename to supportsExecutionMode * lint refactor * refactor as per discussion / PR * fix linter with unused import * 🎨 lint --------- Co-authored-by: aboudjem <[email protected]> Co-authored-by: Filipp Makarov <[email protected]> Co-authored-by: livingrockrises <[email protected]>
- Loading branch information