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

FEAT: disable multicall prevention after delay has passed #110

Merged

Conversation

TAdev0
Copy link
Contributor

@TAdev0 TAdev0 commented Dec 30, 2023

This PR disallows ensure_not_multicall if transfer_delay after launch has passed.

Closes #107

Copy link

vercel bot commented Dec 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unruggable-memecoin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 1, 2024 4:17pm

@TAdev0
Copy link
Contributor Author

TAdev0 commented Dec 30, 2023

@enitrat i guess my test might need a refactor

@enitrat
Copy link
Collaborator

enitrat commented Jan 1, 2024

@TAdev0 I will review this after mergin the big stack of refactoring as I don't want to add too much rebasing conflicts

Copy link
Collaborator

@enitrat enitrat left a comment

Choose a reason for hiding this comment

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

all good, I refactored the test while fixing the rebase conflicts

@enitrat enitrat merged commit 54d129d into keep-starknet-strange:main Jan 1, 2024
4 checks passed
@TAdev0
Copy link
Contributor Author

TAdev0 commented Jan 1, 2024

Great, thanks !

@TAdev0
Copy link
Contributor Author

TAdev0 commented Jan 1, 2024

@enitrat Just one thing for the test :

        start_warp(
            CheatTarget::One(memecoin.contract_address), launch_timestamp + TRANSFER_LIMIT_DELAY + 1
        );

Here, +1 is not necessary as the multicall is disallowed if current_time >= (launch_time + transfer_delay)

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.

feat: disable tx_hash tracker after a certain delay
2 participants