feat(forge script): add warning if address(this) is used (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

foundry-rs / foundry Public

Additional navigation options

New issue

New issue

Closed

#10295

Closed

feat(forge script): add warning if address(this) is used

#10289

#10295

Labels

Cmd-forge-scriptCommand: forge scriptT-featureType: featurefirst issueA good way to start contributing

Milestone

v1.2.0

@pcaversaccio

Description

@pcaversaccio

pcaversaccio

opened

on Apr 10, 2025

There have been past incidents where teams used address(this) in forge scripts (for example as recipients of tokens) and thus fucked up the script effectively. Please add a warning if address(this) is used as part of a forge script contract.

Metadata

Metadata

Assignees

No one assigned

Labels

Cmd-forge-scriptCommand: forge scriptT-featureType: featurefirst issueA good way to start contributing

Type

No type

Projects

Foundry

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions