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

Missing validation in MultiSigs ( + enable "clean compile" in bash script) #253

Merged
merged 11 commits into from
Aug 2, 2023

Conversation

0xNeshi
Copy link
Contributor

@0xNeshi 0xNeshi commented Aug 1, 2023

Explanation of the solution

See commits.

Instructions on making this work

  • run yarn or yarn install to install npm dependencies

@0xNeshi 0xNeshi added bug Something isn't working enhancement New feature or request labels Aug 1, 2023
@0xNeshi 0xNeshi self-assigned this Aug 1, 2023
@@ -4,7 +4,11 @@
set -x;
# Shuttle `tasks/index.ts` file to temp file before cleaning/compiling starts
mv -n ./tasks/index.ts ./tasks/temp_index.ts && touch ./tasks/index.ts;
# Clean and compile all contracts.
# Clean if necessary
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To run "clean compile" simply type the command with the argument clean, like:

yarn compile clean

If for whatever reason you had a corrupt /typechain-types folder, causing missing types in tasks and you tried to performing npx hardhat clean to recompile everything from scratch, the command would fail because it would first be necessary to perform "Shuttle tasks/index.ts file to temp file before cleaning/compiling starts" from above (otherwise you'd be stuck).

By letting us pass an argument "clean" to this bash script, we enable ourselves to be "unstuck" without having to first do any other setup to ignore the compilation errors.

@0xNeshi 0xNeshi changed the title Fixes Missing validation in MultiSigs Aug 1, 2023
@0xNeshi 0xNeshi changed the title Missing validation in MultiSigs Missing validation in MultiSigs ( + enable "clean compile" in bash script) Aug 1, 2023
Base automatically changed from ms-event-funcs to master August 2, 2023 00:14
@SovereignAndrey SovereignAndrey merged commit e83f537 into master Aug 2, 2023
1 check passed
@SovereignAndrey SovereignAndrey deleted the fixes branch August 2, 2023 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants