Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert hot signers to TS #1462

Merged
merged 29 commits into from
Apr 20, 2023
Merged

convert hot signers to TS #1462

merged 29 commits into from
Apr 20, 2023

Conversation

mholtzman
Copy link
Collaborator

@mholtzman mholtzman commented Feb 26, 2023

Going to refactor the signers into TS without changing the tests to give some assurance that nothing is broken, then will follow on with another PR updating the tests.

@mholtzman mholtzman changed the title convert hot signers to TS, make tests run reliably convert hot signers to TS Feb 26, 2023
@mholtzman mholtzman marked this pull request as ready for review February 26, 2023 18:11
main/signers/index.ts Outdated Show resolved Hide resolved
@socket-security
Copy link

socket-security bot commented Mar 15, 2023

New dependency changes detected. Learn more about Socket for GitHub ↗︎


👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request alert summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues

📊 Modified Dependency Overview:

➕ Added Package Capability Access +/- Transitive Count Publisher
@types/zxcvbn@4.4.1 None +0 types

@goosewobbler
Copy link
Contributor

@SocketSecurity ignore core-js@3.29.1

@goosewobbler
Copy link
Contributor

goosewobbler commented Apr 19, 2023

We should consider #1526 as part of this.

mholtzman and others added 12 commits April 19, 2023 15:17
* bump version

* remove infura and alchemy presets, use pylon

* update package lock

* remove gnosis chain preset

* fix chain name
* add Zod validation of state chain objects, infer types

* move state files to TS, add more inferred types

* fix persist mock for tests

* add types to main state

* update test

* add mute notification schema

* move type export to state main

* move legacy file to TS

* try new migration format

* update legacy migrations and tests

* fix gas fees type

* fix gas type

* move legacy mapping

* final migration prototype

* finish migration poc

* finish cleaning up migrations

* test cleanup

* fix compilation error

* fix state parsing
Co-authored-by: goosewobbler <goosewobbler@pm.me>
Co-authored-by: goosewobbler <goosewobbler@protonmail.com>
@mholtzman mholtzman merged commit 0374f03 into canary Apr 20, 2023
@mholtzman mholtzman deleted the make-signers-ts branch April 20, 2023 21:43
mholtzman added a commit that referenced this pull request Jun 23, 2023
* Integrate pylon evm (#1478)

* bump version

* remove infura and alchemy presets, use pylon

* update package lock

* remove gnosis chain preset

* fix chain name

* move migrations to separate files, use TS (#1482)

* add Zod validation of state chain objects, infer types (#1485)

* add Zod validation of state chain objects, infer types

* move state files to TS, add more inferred types

* fix persist mock for tests

* add types to main state

* update test

* add mute notification schema

* move type export to state main

* move legacy file to TS

* try new migration format

* update legacy migrations and tests

* fix gas fees type

* fix gas type

* move legacy mapping

* final migration prototype

* finish migration poc

* finish cleaning up migrations

* test cleanup

* fix compilation error

* fix state parsing

* Choose summon keybinding (#1494)

Co-authored-by: goosewobbler <goosewobbler@pm.me>
Co-authored-by: goosewobbler <goosewobbler@protonmail.com>

* re-order migrations

* convert hot signers to TS, make tests run reliably

* more commits

* update comment

* remove unneeded assignment

* make worker interaction more typesafe

* remove unused code

* remove unused interface

* fix tests

* revert weird test change

* try revert file

* try move

* decouple worker controller and launch script, write controller tests

* fix worker exit in tests

* remove double cast

* rename some files

* remove ignore

* clean up worker interface

* last cleanup, fix typed data

* more type safety

* rebase, add bip39 type

* remove ts-ignores

* remove rebase artifact

* remove migration files

* update package lock

---------

Co-authored-by: goosewobbler <goosewobbler@pm.me>
Co-authored-by: goosewobbler <goosewobbler@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants