Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(statics): move out ERC20 tokens to dedicated file to declutter coins.ts #5306

Closed
wants to merge 1 commit into from

Conversation

rv-bitgo
Copy link
Contributor

TICKET: WIN-4074

@rv-bitgo rv-bitgo requested review from a team as code owners December 23, 2024 09:58
import { erc20 } from '../account';
import { CoinFeature, UnderlyingAsset } from '../base';
import { AccountCoin, erc20 } from '../account';
import { MATIC_FEATURES, WETH_FEATURES, ETH_FEATURES } from './coins';
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it supposed to be

Suggested change
import { MATIC_FEATURES, WETH_FEATURES, ETH_FEATURES } from './coins';
import { MATIC_FEATURES, WETH_FEATURES, ETH_FEATURES } from '../coins';

@rv-bitgo rv-bitgo force-pushed the WIN-4074-move-out-erc20 branch from ec22b29 to d564d9b Compare December 23, 2024 13:10
Copy link
Contributor

@alebusse alebusse left a comment

Choose a reason for hiding this comment

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

please squash the commits

TICKET: WIN-4074

# Conflicts:
#	modules/statics/src/coins.ts

refactor(statics): move out ERC20 tokens to dedicated file from coins.ts

TICKET: WIN-4074

feature(statics): remove redundant code usage

TICKET: WIN-4074

refactor: fix circular dependecies

TICKET: WIN-4074
@rv-bitgo rv-bitgo force-pushed the WIN-4074-move-out-erc20 branch from d564d9b to 4805f4f Compare December 24, 2024 07:55
@rv-bitgo rv-bitgo changed the title refactor(statics): move out ERC20 tokens to dedicated file from coins.ts refactor(statics): move out ERC20 tokens to dedicated file to declutter coins.ts Dec 24, 2024
@FloBitGo FloBitGo added the stale label Jan 15, 2025
Copy link
Contributor

@FloBitGo FloBitGo left a comment

Choose a reason for hiding this comment

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

This seems to be stale. Either rebase and get it ready for review again or close it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Might want to name this erc20Tokens.ts

console.log('ETH_FEATURES:', erc20);
const ETH_FEATURES_WITH_FRANKFURT = [...ETH_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];

const POL_FEATURES = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this defined in this file and not in features?

Copy link

This PR was closed because it has been stalled for 10 days with no activity.

@github-actions github-actions bot closed this Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants