Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@1kresh
Copy link
Collaborator

@1kresh 1kresh commented Jul 17, 2025

No description provided.

Copy link
Member

Choose a reason for hiding this comment

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

why did you regenerate these files?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

reverted these

} else {
// non-deterministic deployment (uses standard create)
(Vm.CallerMode callerMode,, address deployer) = vm.readCallers();
if (callerMode != VmSafe.CallerMode.Broadcast) {
Copy link
Member

Choose a reason for hiding this comment

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

why do we need this condition?

  1. Why we should force broadcast? Maybe user doesn't want to broadcast
  2. Even if we want it's possible that mode is RecurrentBroadcast (https://getfoundry.sh/reference/cheatcodes/read-callers.html#description)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

  1. Honestly, I'm not sure what the case should be for this
  2. Fixed

@1kresh 1kresh requested a review from algys July 18, 2025 18:21
@1kresh 1kresh merged commit a4c8157 into feat-deterministic-local-deployment Jul 23, 2025
2 checks passed
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