Skip to content

Add boost-scores.js dry-run mode #76

Description

@ritik4ever

boost-scores.js immediately starts submitting on-chain transactions without any dry-run or confirmation prompt, making it easy to accidentally submit hundreds of transactions if run against the wrong contract.
Category: backend

Project area: backend/scripts/boost-scores.js
Implementation:

Review the current flow in backend/scripts/boost-scores.js.
Add a --dry-run flag that logs what transactions would be submitted (agent name, current score, needed payments) without actually calling recordPaymentOnChain.
Update route/service tests, logging, and docs where the new behavior changes API or operations.

Acceptance Criteria:

The API or service behavior is reachable through the intended code path.
Failure cases return actionable responses or logs.
Automated coverage is added or updated for the touched backend path.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions