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

refactor(cheatcode): use rate limit args in create fork cheatcode #6085

Closed

Conversation

gr4yha7
Copy link

@gr4yha7 gr4yha7 commented Oct 23, 2023

Motivation

Ref: #5885.

@gr4yha7 gr4yha7 changed the title refactor: use rate limit args in create fork cheatcode refactor(cheatcode): use rate limit args in create fork cheatcode Oct 23, 2023
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

smol nit

Comment on lines +471 to +472
.max_retry(fork.evm_opts.fork_retries.unwrap())
.initial_backoff(fork.evm_opts.fork_retry_backoff.unwrap())
Copy link
Member

Choose a reason for hiding this comment

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

these unwraps are unsafe,

I think we can add additional builder functions that take an option for convenience.

Copy link
Author

Choose a reason for hiding this comment

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

okay, i'll work on it.

@Evalir
Copy link
Member

Evalir commented Nov 2, 2023

Closing in favor of #6193 — thanks!

@Evalir Evalir closed this Nov 2, 2023
@gr4yha7 gr4yha7 deleted the use-create-fork-ratelimit-args branch November 7, 2023 13:25
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