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

Fix create roles race condition #116

Merged
merged 6 commits into from
Oct 25, 2024
Merged

Fix create roles race condition #116

merged 6 commits into from
Oct 25, 2024

Conversation

DarksightKellar
Copy link
Contributor

@DarksightKellar DarksightKellar commented Oct 24, 2024

Contract deployed on Sepolia for quick testing: 0xB1ba8caa9a65f4Bf53a5D1A1bD5514dFc9bB7E35

There's a separate PR to merge in deploy artifacts on all networks

deployments/sepolia/DecentHats_0_1_0.json Outdated Show resolved Hide resolved
salt
);

hatsProtocol.transferHat(topHatId, address(this), msg.sender);
Copy link
Member

Choose a reason for hiding this comment

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

Can you please leave some natspec comments on this function, explaining how it's independent of the rest of the code in this contract, and why it exists, and the reasoning behind its implementation?

@DarksightKellar DarksightKellar marked this pull request as ready for review October 25, 2024 13:54
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.

Noice!

@adamgall adamgall merged commit f4dc206 into develop Oct 25, 2024
3 checks passed
@adamgall adamgall deleted the create-roles-race branch October 25, 2024 18:35
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.

4 participants