Skip to content

fix: Label DonationBox addresses#1400

Open
fusmanii wants to merge 1 commit intomasterfrom
faisal/labeled-donation-box-addresses
Open

fix: Label DonationBox addresses#1400
fusmanii wants to merge 1 commit intomasterfrom
faisal/labeled-donation-box-addresses

Conversation

@fusmanii
Copy link
Copy Markdown
Contributor

@fusmanii fusmanii commented Apr 6, 2026

No description provided.

Signed-off-by: Faisal Usmani <faisal.of.usmani@gmail.com>
Comment on lines +226 to +232
} else if (contractName === "DonationBox") {
// Suffix DonationBox with _OFT or _CCTP based on the deploying script.
if (broadcastFile.scriptName.includes("DstHandler")) {
contractName = "DonationBox_OFT";
} else if (broadcastFile.scriptName.includes("SponsoredCCTP")) {
contractName = "DonationBox_CCTP";
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

if (broadcastFile.scriptName.includes("DstHandler")) {

Seems like we could add another ..DstHanlder.. in the future by accident. Should we include full names here. Or almost full?

Copy link
Copy Markdown
Collaborator

@grasphoper grasphoper left a comment

Choose a reason for hiding this comment

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

Looks good, left one nit

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