Skip to content

Conversation

aelmanaa
Copy link
Contributor

This pull request adds improved handling for token selection logic in the TokenTransferCommand class, specifically when only an amount is provided but no token. Now, the script will use the default BnM token with the specified custom amount, and log this behavior for clarity.

Enhancements to token transfer logic:

  • Updated the conditional logic in TokenTransferCommand to support transfers with a custom amount using the default BnM token when no specific token is provided. This improves usability for CLI users who only specify an amount.
  • Added a log message to inform users when the default BnM token is being used with a custom amount, enhancing transparency during script execution.

@aelmanaa aelmanaa requested a review from a team as a code owner September 17, 2025 13:22
Copy link

No CODEOWNERS file detected - @aelmanaa

This repository doesn't contain a CODEOWNERS file. Please add one at one of the following paths:

  1. CODEOWNERS (root of repository)
  2. .github/CODEOWNERS

If this repository is owned/used by a single team the default entry for a CODEOWNERS would be:

* @smartcontractkit/<your team>

For more information see: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

Copy link

👋 aelmanaa, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@aelmanaa aelmanaa merged commit a1f2820 into main Sep 17, 2025
5 of 6 checks passed
@aelmanaa aelmanaa deleted the nit-override-amount branch September 17, 2025 13:23
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.

1 participant