Skip to content

Commit

Permalink
nit(cli): adds TODO related to setFeeCurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgousset committed Feb 23, 2024
1 parent 1aeaa5c commit 921f545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ export abstract class BaseCommand extends Command {
: getGasCurrency(this.config.configDir)

const setStableTokenGas = async (stable: StableToken) => {
// TODO(Arthur): Update implementation to match new `setFeeCurrency` method signature
await kit.setFeeCurrency(stableTokenInfos[stable].contract)
}
if (Object.keys(StableToken).includes(gasCurrencyConfig)) {
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/transfer-stable-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export abstract class TransferStableBase extends BaseCommand {
}
// If gasCurrency is not set, use the transferring token
if (!res.flags.gasCurrency) {
// TODO(Arthur): Update implementation to match new `setFeeCurrency` method signature
await kit.setFeeCurrency(stableTokenInfos[this._stableCurrency].contract)
}

Expand Down

0 comments on commit 921f545

Please sign in to comment.