Skip to content

feat: improve address management in integration/#106

Merged
1kresh merged 4 commits intofeat-deterministic-local-deploymentfrom
feat-deterministic-local-deployment-simplify
Jul 23, 2025
Merged

feat: improve address management in integration/#106
1kresh merged 4 commits intofeat-deterministic-local-deploymentfrom
feat-deterministic-local-deployment-simplify

Conversation

@1kresh
Copy link
Copy Markdown
Collaborator

@1kresh 1kresh commented Jul 17, 2025

No description provided.

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@1kresh 1kresh deleted the feat-deterministic-local-deployment-simplify branch December 8, 2025 11:27
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.

2 participants