Wagmi wallet#36
Open
Dargon789 wants to merge 14 commits into
Open
Conversation
fix: repack ci tests, lint, ai verified signature smartcontracts
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update package.json Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> * Update package.json Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> --------- Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 19: Useless regular-expression character escape
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update issue templates (#63)
* Update issue templates
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/feature_request.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* signals-implicit-mode
* Potential fix for code scanning alert no. 15: Artifact poisoning (#64)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 18: Incomplete regular expression for hostnames
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 19: Useless regular-expression character escape
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* 0xsequence v2 (#68)
* Delete .circleci directory (#40)
CI:
Delete obsolete .circleci/config.yml to fully drop CircleCI integration.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Per-transaction estimated gas usage and execution results
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
* Per-transaction estimated gas usage and execution results (#46)
* Per-transaction estimated gas usage and execution results
* v1.9.5
* v1.9.6
* Fix error message in MainModuleGasEstimation
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
* Update ci.yml (#54)
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update utils/deploy-contracts.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 17: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .solhint.json
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs.yml (#67)
Update Node.js CI workflow configuration to cover additional branches and runtime versions.
CI:
Run the Node.js workflow on both the master and main branches for pull requests.
Expand the Node.js version test matrix to include Node.js 24.x.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 22: Inefficient regular expression
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* signals-implicit-mode (#69)
* Update issue templates (#63)
* Update issue templates
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/feature_request.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* signals-implicit-mode
* Potential fix for code scanning alert no. 15: Artifact poisoning (#64)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 18: Incomplete regular expression for hostnames
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 19: Useless regular-expression character escape
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* 0xsequence v2 (#68)
* Delete .circleci directory (#40)
CI:
Delete obsolete .circleci/config.yml to fully drop CircleCI integration.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Per-transaction estimated gas usage and execution results
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
* Per-transaction estimated gas usage and execution results (#46)
* Per-transaction estimated gas usage and execution results
* v1.9.5
* v1.9.6
* Fix error message in MainModuleGasEstimation
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
* Update ci.yml (#54)
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update utils/deploy-contracts.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 17: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .solhint.json
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs.yml (#67)
Update Node.js CI workflow configuration to cover additional branches and runtime versions.
CI:
Run the Node.js workflow on both the master and main branches for pull requests.
Expand the Node.js version test matrix to include Node.js 24.x.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 22: Inefficient regular expression
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
* Dargon789 patch 2 (#71)
* Add wallet creation docs
* Warp words signers image example
* Fix typo
* NonceUtils initial commit
* Deploy on binance
* Update etherscan verify
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* implement merkle tree encoding signatures
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add autoUpdate modules
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* Add full config tree test
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* deploy contracts using EIP-2470
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* Update and fix verify
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* Bump undici from 5.12.0 to 5.19.1
Bumps [undici](https://github.com/nodejs/undici) from 5.12.0 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.12.0...v5.19.1)
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Replace rinkeby and arb-rinkeby with arbitrum goerli
* Add Oasys homeverse testnet
* Deploy to Oasys Homeverse Testnet
* Add EIP-6492 validator implementation
* Add static bytecode deploy script
* EIP-4337 hook first pass
* Nicer errors
* Correct error handling
* Ignore nonce validation. Assumed correct by entrypoint
* Use call data directly
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-WS-7266574
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577916
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577917
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577918
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8172694
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8187303
* Update ci.yml (#1)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create nodejs.yml (#2)
* Create nodejs.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/workflows/nodejs.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Add .circleci/config.yml
* Update .circleci/config.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Add .circleci/config.yml (#3)
* Add .circleci/config.yml
* Update .circleci/config.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Update ci.yml (#4)
CI:
Update Foundry test steps in the CI workflow to run forge test --rerun without extra verbose logging flags.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create ci-web3-gamefi.yml (#5)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create pnpm-ci.yaml (#7)
* Create pnpm-ci.yaml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/workflows/pnpm-ci.yaml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Create npm.yml (#6)
* Create npm.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 12: Artifact poisoning
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Create yarn_ci.yml (#8)
Build:
Introduce a Yarn-based GitHub Actions CI workflow that installs dependencies, lints Solidity code, and runs Foundry tests on push events.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Delete .github/workflows/nodejs.yml (#11)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update PROD.env.sample (#12)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update yarn.lock (#13)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update yarn_ci.yml (#10)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create PR-Sovereign UX Deployment to Master.md (#14)
* Create PR-Sovereign UX Deployment to Master.md
Add project documentation file describing the Sovereign contracts library and its deployment workflow.
Documentation:
Document library features, supported ERC standards, and architectural components.
Add instructions for installation, testing, gas comparison, and deployment using pnpm.
Describe dependencies, audit information, and licensing for the contracts library.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.g…
* Main (#209)
* signals-implicit-mode
* Potential fix for code scanning alert no. 15: Artifact poisoning (#64)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 18: Incomplete regular expression for hostnames
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 19: Useless regular-expression character escape
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* 0xsequence v2 (#68)
* Delete .circleci directory (#40)
CI:
Delete obsolete .circleci/config.yml to fully drop CircleCI integration.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Per-transaction estimated gas usage and execution results
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
* Per-transaction estimated gas usage and execution results (#46)
* Per-transaction estimated gas usage and execution results
* v1.9.5
* v1.9.6
* Fix error message in MainModuleGasEstimation
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
* Update ci.yml (#54)
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update utils/deploy-contracts.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 17: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .solhint.json
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs.yml (#67)
Update Node.js CI workflow configuration to cover additional branches and runtime versions.
CI:
Run the Node.js workflow on both the master and main branches for pull requests.
Expand the Node.js version test matrix to include Node.js 24.x.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 22: Inefficient regular expression
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* signals-implicit-mode (#69)
* Update issue templates (#63)
* Update issue templates
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/custom.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/feature_request.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* signals-implicit-mode
* Potential fix for code scanning alert no. 15: Artifact poisoning (#64)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 18: Incomplete regular expression for hostnames
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 19: Useless regular-expression character escape
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* 0xsequence v2 (#68)
* Delete .circleci directory (#40)
CI:
Delete obsolete .circleci/config.yml to fully drop CircleCI integration.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Per-transaction estimated gas usage and execution results
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
* Per-transaction estimated gas usage and execution results (#46)
* Per-transaction estimated gas usage and execution results
* v1.9.5
* v1.9.6
* Fix error message in MainModuleGasEstimation
* Bump follow-redirects from 1.14.4 to 1.14.7 (#137)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump shelljs from 0.8.4 to 0.8.5 (#138)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump follow-redirects from 1.14.7 to 1.14.8 (#139)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump minimist from 1.2.5 to 1.2.6 (#140)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Optimism deploy
* Update hardhat/etherscan
* Deploy on nove and avalanche
* dep upgrades (#160)
* deploy on avalanche testnet
* Bump decode-uri-component from 0.2.0 to 0.2.2 (#161)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 1.0.1 to 1.0.2 (#162)
* Zellic_audit_sequencev2
* Replace rinkeby and arb-rinkeby with arbitrum goerli (#172)
* Sequence v2 (#145)
* NonceUtils initial commit
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Fix foundry test edge cases
* Add v2 audit reports
---------
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
* Update README (#175)
* Update README
* Remove unused pnpm lock
* Update hardhat to remove github action compile error
* Fix node version to prevent hardhat error during github actions
* Fix coverage tests
* Deployments (#176)
* Update deployment files
* Add singleton deployer deployment to deploy script
* Update contracts to match deployment on chain
* Update package.json
* Bump package version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
* Update ci.yml (#54)
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update ci.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update utils/deploy-contracts.ts
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update README.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 17: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .solhint.json
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update nodejs.yml (#67)
Update Node.js CI workflow configuration to cover additional branches and runtime versions.
CI:
Run the Node.js workflow on both the master and main branches for pull requests.
Expand the Node.js version test matrix to include Node.js 24.x.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Potential fix for code scanning alert no. 22: Inefficient regular expression
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: googleworkspace-bot <googleworkspace-bot@google.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: William Hua <william@attente.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustin Aguilar <agusgit@pm.me>
Co-authored-by: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Co-authored-by: Philippe Castonguay <ph.castonguay@gmail.com>
Co-authored-by: Michael Standen <screaminghawk@gmail.com>
Co-authored-by: Ignacio Mazzara <nachomazzara@gmail.com>
* Dargon789 patch 2 (#71)
* Add wallet creation docs
* Warp words signers image example
* Fix typo
* NonceUtils initial commit
* Deploy on binance
* Update etherscan verify
* Add SessionUtils
* Add read gap nonce hook
* Fix error names and add session tests
* Add comments to SessionUtils
* Patch lazy octopus require main modolue upgradable
* Deploy session utils script
* Deploy contract on networks
* Commit factory build
* Push Solidity version to 0.8.14
* Remove visivility of constructors
* Implement native gapNonce and noNonce
* Adapt tests to updated hardhat
* Fix benchmark
* Fix test coverage
* Test special nonce types
* Add tests for special nonce types
* Replace string errors with type errors
* Reduce gas costs using unchecked
* Extend ModuleAuthUpgradable for ModuleIgnoreAuthUpgradable
* Extend ModuleCalls for ModuleIgnoreNonceCalls
* Compute subdigest during signature validation
* Add alternative signature encoding schemas
* Add support for signatures without chainId
* Better signature dispatcher
* Decode signatures without memory copy
* Fix coverage tests
* Update ts-node
* Alternative signature dispatcher
* Implement updateImageHash for ModuleAuthFixed
* Fix benchmark runner
* Recover signatures prefixed with lazy octops transactions
* Fix lazy octopus prefixed signatures subdigest
* Simplify tests
* Remove unused contracts
* Simplify repo and uncommit artifacts
* wip chained signatures
* better chained signatures
* Cleanup libbytes and remove out of bounds checks
* implement merkle tree encoding signatures
* Fix github actions
* Sequence merkle signatures (#146)
* initial implementation recursive merkle signatures
* Implement merkle signature encoding and decoding
* Use merkle and legacy encoding, given size of config
* Better benchmarker report
* Optimize hash tree nodes
* Fix new compiler warnings
* Fix old compiler warnings
* Optimize and simplify signature reading
* Fix test to avoid generating wallets without signers
* v2 - foundry changes (#147)
* Remove subDigest from ModuleAuth
* Remove unused LibBytes methods
* Add foundry tests
* Add foundry tests for utils
* Add Foundry tests for SequenceBaseSig
* Add SequenceDynamicSig tests
* SequenceChainedSig tests and fixes
* Add SubModuleNonceTest tests
* Implementation and calls tests
* Add more long array tests
* Foundry tests
* Fix implementation foundry test
* ModuleCalls gas golfing
* Keep transactions in calldata
* Reduce runs github ci
* Push to Solidity 0.8.16
* V2 - better signatures (#148)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add autoUpdate modules
* Implement EIP-5719 (#149)
* V2 better signatures (#150)
* Add ModuleExtraAuth
* Foundry tests for module extra auth
* Add ModuleStaticAuth module
* Add ModuleStaticAuth foundry tests
* Simplify ModuleExtraAuth
* Add ModuleStaticMerkleAuth module
* Bound chainId and heavy tests
* Bound big foundry test
* Move static subdigest signing to imageHash
* Add base EIP-4337 implementation (#151)
* Push Solidity to 0.8.17
* V2 simplify (#152)
* Remove EIP-4337 support
* Remove alternative nonce types
* V2 - 3 bytes size for signatures (#153)
* Add readUint24 utility function
* Use uint24 for chained signature size
* Use 3 bytes for dynamic signature
* Use 3 bytes for signature branchs
* LibString
* GuestModule
* MainModule
* SequenceBaseSig
* SequenceNoChainIdSig
* thershold -> threshold
* Amend SignatureValidator comments
* Add full config tree test
* minor v2 changes (#157)
* GuestModule: DelegateCallNotAllowed() -> DelegateCallNotAllowed(uint256 _index)
* NotEnoughGas: add transaction index
* ModuleStaticAuth: check static digests first
* reuse SubModuleNonce constants
* Integrate checkpoint into imagehash (#154)
* Embed checkpoint in imageHash
* Fix setImplementation match wallet test
* Fix checkpoint order on tests
* thershold -> threshold
Co-authored-by: William Hua <william@attente.ca>
* Minor renames (#158)
* imagehash -> image hash
* typehash -> type hash
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* deploy contracts using EIP-2470
* sub digest -> subdigest
* leaf -> node
* compare directly
* whitespace
* developpers -> developers
* joinAddrAndWeight -> leafForAddressAndWeight
* ImageHashNode | ConfigLeaf -> ConfigTopology
* fix unnecessary casts
* iddle -> idle
* Converter -> Convertor
* mainmodule -> main module
* fix incorrect comments
* V2 nested configs (#155)
* Update and fix verify
* V2 - convenience Auth + IPFS (#159)
* Implement nested signature part
* Fix foundry test for invalid sig type
* Add tests for nested wallet configs
* Add tests for unique leafs
* Add ipfs + imageHash convenience method
* Update hardhat
* deploy contracts using EIP-2470
* Delete unused contract
* Use node v18 for ci
* Move v1 audits to v1 folder
* Add onlyDelegatecall module
* Fix comments
* Remove redundant static auth
* Foundry test fixes
* Update outdated arcadeum comments
* Better Tx executed events
* Deploy new version
* Fix type GuestModule comment
* Update to Solidity 0.8.18
* erc-165 tests: remove duplicate IModuleHooks, add IModuleAuth (#165)
* Comments and formatting
* Add docs for ModuleAuth
* Bump undici from 5.12.0 to 5.19.1
Bumps [undici](https://github.com/nodejs/undici) from 5.12.0 to 5.19.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.12.0...v5.19.1)
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* MainModuleGasEstimation: simulateExecute (#167)
* V2 - Consensys audit fixes (#168)
* Fix right padded hooks selector issue
* Fix multicall blockNumber wrong value
* Revert isValidSignature if wrong signature length
* Emit events when changing hooks
* Revert if factory failed to deploy wallet
* Remove unused imports and fix solhint
* Implement ERC165 missing modules
* Remove duplicated decodeNonce code
* Move gas-estimation modules to subdir
* Remove outdated experimental pragma
* Fix foundry test
* Revert contract creation if deploy failed
* Deploy new contracts on some chains
* Deploy Sequence v2 contracts
* fix: requireNonExpired inclusion (#170)
* Hooks (#169)
* Hook implements IERC223Receiver
* Add IERC777Receiver
* Test stability (#171)
* Bump forge deps
* Improve test stability
* Replace rinkeby and arb-rinkeby with arbitrum goerli
* Add Oasys homeverse testnet
* Deploy to Oasys Homeverse Testnet
* Add EIP-6492 validator implementation
* Add static bytecode deploy script
* EIP-4337 hook first pass
* Nicer errors
* Correct error handling
* Ignore nonce validation. Assumed correct by entrypoint
* Use call data directly
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-WS-7266574
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577916
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577917
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-7577918
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8172694
* fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8187303
* Update ci.yml (#1)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create nodejs.yml (#2)
* Create nodejs.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/workflows/nodejs.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Add .circleci/config.yml
* Update .circleci/config.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Add .circleci/config.yml (#3)
* Add .circleci/config.yml
* Update .circleci/config.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Update ci.yml (#4)
CI:
Update Foundry test steps in the CI workflow to run forge test --rerun without extra verbose logging flags.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create ci-web3-gamefi.yml (#5)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create pnpm-ci.yaml (#7)
* Create pnpm-ci.yaml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .github/workflows/pnpm-ci.yaml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Create npm.yml (#6)
* Create npm.yml
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Potential fix for code scanning alert no. 12: Artifact poisoning
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Create yarn_ci.yml (#8)
Build:
Introduce a Yarn-based GitHub Actions CI workflow that installs dependencies, lints Solidity code, and runs Foundry tests on push events.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Delete .github/workflows/nodejs.yml (#11)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update PROD.env.sample (#12)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update yarn.lock (#13)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update yarn_ci.yml (#10)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create PR-Sovereign UX Deployment to Master.md (#14)
* Create PR-Sovereign UX Deployment to Master.md
Add project documentation file describing the Sovereign contracts library and its deployment workflow.
Documentation:
Document library features, supported ERC standards, and architectural components.
Add instructions for installation, testing, gas comparison, and deployment using pnpm.
Describe dependencies, audit information, and licensing for the contracts library.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update PR-Sovereign UX Deployment to Master.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Create PR-Sovereign.md (#16)
* Create PR-Sovereign.md
Documentation:
Document the Sovereign contracts library features, deployment steps, testing workflow, dependencies, audits, and licensing in a new PR-Sovereign.md file.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update PR-Sovereign.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Delete .circleci/ci-web3-gamefi.yml (#17)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* fix: package.json to reduce vulnerabilities (#18)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-ELLIPTIC-8187303
- https://snyk.io/vuln/SNYK-JS-AXIOS-9292519
- https://snyk.io/vuln/SNYK-JS-WS-7266574
- https://snyk.io/vuln/SNYK-JS-CROSSSPAWN-8303230
- https://snyk.io/vuln/SNYK-JS-SEMVER-3247795
- https://snyk.io/vuln/SNYK-JS-AXIOS-6032459
- https://snyk.io/vuln/SNYK-JS-ADMZIP-1065796
- https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
- https://snyk.io/vuln/SNYK-JS-TMP-11501554
- https://snyk.io/vuln/SNYK-JS-AXIOS-9403194
- https://snyk.io/vuln/SNYK-JS-AXIOS-12613773
- https://snyk.io/vuln/SNYK-JS-AXIOS-6124857
- https://sny…
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.