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

feat(frontend): add sol to receive addresses #4029

Merged
merged 15 commits into from
Dec 23, 2024

Conversation

loki344
Copy link
Collaborator

@loki344 loki344 commented Dec 19, 2024

Motivation

Add solana to receive addresses if feature is enabled.

Changes

Integrate SOL addresses into receiveAddresses

Tests

Uploading Bildschirmaufnahme 2024-12-19 um 11.52.43.mov…

@loki344 loki344 marked this pull request as ready for review December 19, 2024 10:54
@loki344 loki344 requested a review from a team as a code owner December 19, 2024 10:54
@@ -24,6 +24,10 @@ export const RECEIVE_TOKENS_MODAL_BTC_MAINNET_SECTION = 'receive-tokens-modal-bt
export const RECEIVE_TOKENS_MODAL_BTC_TESTNET_SECTION = 'receive-tokens-modal-btc-testnet-section';
export const RECEIVE_TOKENS_MODAL_BTC_REGTEST_SECTION = 'receive-tokens-modal-btc-regtest-section';
export const RECEIVE_TOKENS_MODAL_ETH_SECTION = 'receive-tokens-modal-eth-section';
export const RECEIVE_TOKENS_MODAL_SOL_MAINNET_SECTION = 'receive-tokens-modal-sol-mainnet-section';
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you already added these vars, can you please add them to e2e/receive-tokens-modal.spec.ts? Otherwise, when we enable sol in the e2e env, the receive modal test will be failing due to different sol addresses in the modal on every run.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure, do the e2e test have the LOCAL flag to true? I added this one too

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, LOCAL is true in the e2e env since we build and deploy the app the same way as we do it locally.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I will have to comment them out until the SOLANA_NETWORK_ENABLED flag is set to true, otherwise e2e will fail

Copy link
Contributor

@DenysKarmazynDFINITY DenysKarmazynDFINITY left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@inc-man inc-man added the run-e2e-snapshots It needs the CI for E2E Snapshots label Dec 20, 2024
@loki344 loki344 removed the run-e2e-snapshots It needs the CI for E2E Snapshots label Dec 23, 2024
@loki344 loki344 enabled auto-merge (squash) December 23, 2024 10:40
@loki344 loki344 merged commit eff6797 into main Dec 23, 2024
22 checks passed
@loki344 loki344 deleted the feat(frontend)/add-sol-to-receive-addresses branch December 23, 2024 10:42
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.

3 participants