Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Move all helper types to utils/* folder #246

Merged
merged 8 commits into from
Aug 1, 2023
Merged

Move all helper types to utils/* folder #246

merged 8 commits into from
Aug 1, 2023

Conversation

0xNeshi
Copy link
Contributor

@0xNeshi 0xNeshi commented Jul 31, 2023

Closes #224

Explanation of the solution

To avoid too much code shuffling, opted to treat all missing Solidity enums as "utilities" we need for tasks/tests, so moved all those enums to /utils/* folder (created a subfolder types/* where different types of "types" are placed, including an enums.ts file containing enums).

Took inspiration from Aave repo, where they took the same approach https://github.com/aave/aave-v3-core/tree/master/helpers

Instructions on making this work

  • run yarn or yarn install to install npm dependencies
  • run yarn test to verify all tests still pass

@0xNeshi 0xNeshi added the enhancement New feature or request label Jul 31, 2023
@0xNeshi 0xNeshi self-assigned this Jul 31, 2023
This reverts commit 8488028.
@stevieraykatz stevieraykatz merged commit eb2eb6e into master Aug 1, 2023
1 check passed
@SovereignAndrey SovereignAndrey deleted the enum-types branch August 1, 2023 08:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add typescript extensions/ dir for extending functionality of typescript typings
2 participants