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

Rework useSnapshotProposal and usages #2345

Merged
merged 9 commits into from
Sep 12, 2024

Conversation

DarksightKellar
Copy link
Contributor

While working on typechain fixes, I found some naming conventions hard to follow around proposal actions. While digging through the code, I noticed an old TODO recommending a refactor. Got lost in the sauce, did some light moving around and type tightening, and here we are -- a new PR.

Untested, but pls review. If changes make sense, I plan to test in the typechain branch.

Copy link

netlify bot commented Sep 12, 2024

Deploy Preview for decent-interface-dev failed. Why did it fail? →

Name Link
🔨 Latest commit 623bde2
🔍 Latest deploy log https://app.netlify.com/sites/decent-interface-dev/deploys/66e2faf80ee4c60008378407

@DarksightKellar DarksightKellar changed the title Rework use snapshot proposal Rework useSnapshotProposal and usages Sep 12, 2024
Copy link
Contributor

@mudrila mudrila left a comment

Choose a reason for hiding this comment

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

Suggest killing type Activity, which is good to do in separate PR

@@ -295,6 +294,7 @@ export interface NodeHierarchy {
}

export type FractalProposal = AzoriusProposal | MultisigProposal | SnapshotProposal;
export type Activity = FractalProposal;
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like we can even remove type Activity and just use FractalProposal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll gladly do it in this PR heh

@adamgall adamgall merged commit 60b7856 into root/remove-typechain Sep 12, 2024
3 of 7 checks passed
@adamgall adamgall deleted the rework-useSnapshotProposal branch September 12, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants