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

before hook suggestion #220

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

grod220
Copy link
Contributor

@grod220 grod220 commented Oct 23, 2024

Suggestion for #216

correctBirthdayHeightIfNeeded would require unit tests though

Copy link
Contributor

@TalDerei TalDerei left a comment

Choose a reason for hiding this comment

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

I had a local branch I hadn’t pushed up, but it's functionally equivalent. I tested the following onboarding flows:

  • Seed phrase (mainnet rpc)
  • Seed phrase (testnet rpc)
  • Import wallet (mainnet rpc) + set wallet birthday height
  • Import wallet (testnet rpc) + set wallet birthday height
  • Import wallet (mainnet rpc) + without setting the wallet birthday height
  • Import wallet (testnet rpc) + without setting the wallet birthday height

the heights display as expected.

@grod220 grod220 merged commit 3476720 into non-mainnet-chain-id Oct 23, 2024
3 checks passed
@grod220 grod220 deleted the proposed-testnet-b-day branch October 23, 2024 16:57
TalDerei added a commit that referenced this pull request Oct 24, 2024
* handle non-mainnet chain id's

* linting

* migrate logic to grpc page

* simplify block height state

* before hook suggestion (#220)

* extract logic and unit testing

---------

Co-authored-by: Gabe Rodriguez <grod220@gmail.com>
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.

2 participants