-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: clean up unused code R1 validation and keys were unreachable after changing the init interface, K1 validation was unused since it was validated directly without a module (simple signature instead of modular signature) Fallback modules were entirely unused. Modules and exec modules could have been used, but were not and weren't supported by the factory to be installed at init. * fix: interface size dropping unused arg * fix: single module interface Moving to a single module to elimiate duplicate code * fix: remove the whole manager this was unused and too similar to the validator module * fix: replace modules with hooks This is much more direct path to installing instead of using the install to re-enter the account * fix: run all tests removing only locally tests pass * fix: revert this to older implemention This broke locally, but now fails in CI, maybe the converse is also true * chore: update CI action name This was recently renamed, and we're still on an older version * chore: cleanup test code This wasn't necessary to pass in ci, but now fails locally :( * fix: await on test transaction failure * fix: have to await the reverted within expect This is just a test setup issue combined with a era-test-node change * feat: remove k1 validators And finally R1 validator interfaces * fix: cleanup onlySelfOrModule Easy rename after cleanup * feat: validate adding keys during init The normal case appears to be no data, so the key is added elsewhere? * feat: disable validators on removal This matches the behaviour of the hook * fix: review comments Updating disable to be more robust! * fix: move stuff around --------- Co-authored-by: Lyova Potyomkin <[email protected]>
- Loading branch information
Showing
25 changed files
with
175 additions
and
776 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ node_modules/ | |
|
||
# era-test-node | ||
era_test_node.log | ||
anvil-zksync.log | ||
|
||
package-lock.json | ||
yarn.lock | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,7 @@ | |
"eslint-plugin-simple-import-sort": "12.1.1", | ||
"ethers": "6.13.2", | ||
"globals": "15.9.0", | ||
"hardhat": "^2.22.12", | ||
"hardhat": "^2.22.17", | ||
"husky": "9.1.6", | ||
"ini": "5.0.0", | ||
"lint-staged": "15.2.10", | ||
|
@@ -74,14 +74,14 @@ | |
"nx": "19.8.6", | ||
"prettier": "3.3.3", | ||
"prettier-plugin-solidity": "^1.4.1", | ||
"solady": "^0.0.273", | ||
"ts-node": "10.9.2", | ||
"typechain": "8.3.2", | ||
"typescript": "5.6.2", | ||
"typescript-eslint": "8.7.0", | ||
"viem": "^2.21.14", | ||
"zksync-ethers": "6.15.0", | ||
"zksync-sso": "0.0.0-beta.2", | ||
"solady": "^0.0.273" | ||
"zksync-sso": "0.0.0-beta.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.