-
Notifications
You must be signed in to change notification settings - Fork 9
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
deploy #620
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix sign-in.anon.spec * clean up useProfileLookup and tsconfigs * add playwright record option * only wait 10 seconds for send account create request * app: estimate call gas limit
use filter ref again for send account transfers
* shovel: update config to include URLs * contracts: sendtag checkout emit receipts * e2e: playwright can import esm only now * app: handle already expired userop error * wagmi: fixup types * yarn lint after unit tests * app: update sendtag checkout This commit marks the first part of transitioning our Sendtag registration process from Ethereum to USDC. It includes the following changes: - Replace ETH pricing with USDC pricing for Sendtags - Introduce new pricing structure and referral bonus system - Update UI components to reflect new USDC pricing - Refactor pricing logic into a separate module for better maintainability New Pricing Structure (Registration Fee / Referral Bonus): - 6+ characters: 7 USDC / 2 USDC - 5 characters: 15 USDC / 4 USDC - 4 characters: 30 USDC / 8 USDC - 1-3 characters: 60 USDC / 16 USDC Key changes: 1. Created new file 'app/data/sendtags.ts' to centralize pricing logic 2. Updated 'tagRouter' in 'api/src/routers/tag.ts' to use new pricing 3. Modified UI components to display USDC prices instead of ETH 4. Updated tests to reflect new USDC pricing * supabase: sendtag checkout updates - confirm_tags to use transfers to sendtag checkout contract - update tag receipt activity - updates tests * e2e: update confirm tag * update sendtag referrer for checkout * e2e: update refer a tag * app: show sendtag referral rewards activity * clean up types * update shovel config * e2e: more playwright cleanup * supabase sendtag checkout updates * use sendtag_checkout_receipts for confirming tags verify referrer and reward updates sendtag checkout contract address * supabase: remove sendtag checkout contract table * supabase: update confirm_tags to use sendtag_checkout_receipts * contracts: handle duplicate deploys on sendtag_checkout_receipts * fixup activity spec * playwright: cleanup home onboarded spec * snapshot update * e2e fixes * lots of little tweaks and polish * handle when not enough funds * use sendtag for referrer * rename fetchSendtagCheckoutTransfers to receipts * fix referrer check logic * simplify referrer check * naming * add assertions on checkout receipts * more renaming * add userop throwNiceError * fix lints, cleanup, increase dbdev timeouts * upgrade shovel ts config * total price test * add app/data/sendtags test * little more cleanup * invalidate queries * fix lint error
* add example deploying sendtagcheckout command * update sendtag checkout deploy fixtures * small e2e updates * upgrade yarn * fix multiple referrals for user * create private schema * fix refer a tag spec
* use aria-label, fix p in div tag * clean up vscode file nesting patterns * lots of sendtag checkout fixes, userop improvements adds useUSDCFees hook Fixes minor UX things Ensures referrer is the same as the one onchain Updates viem/wagmi Adds examples * bring back useUserOpGasEstimate and deprecate it * refactor signChallenge * add signUserOp * fix debug import * playwright oh u funny thing handle playwright now importing more files than before make some files platform specific so playwright does not find them fix tests when deprecating accessibilityLabel * use viem isAddressEqual when comparing referrers * check usdc fees during sendtag checkout can afford * wait for more loadings * handle rare case sendtag matches text in page
Playwright ReportSummary
Suitesaccount-rewards.onboarded.spec.tscan visit rewards page
account-sendtag-checkout.onboarded.spec.tscan visit checkout page
can add a pending tag
cannot add an invalid tag name
can confirm a tag
can refer a tag
can refer multiple tags in separate transactions
cannot confirm a tag without paying
cannot add more than 5 tags
account-settings-backup.onboarded.spec.tscan backup account
can remove a signer
account.logged-in.spec.tscan visit account page
can update profile
activity.onboarded.spec.tscan visit activity page and see correct activity feed
can search on activity page
deposit.onboarded.spec.tscan deposit USDC with web3 wallet
can deposit ETH with web3 wallet
home.onboarded.spec.tscan visit token detail page
onboarding.logged-in.spec.tscan visit onboarding page
profile.anon.spec.tsanon user can visit public profile
anon user cannot visit private profile
profile.logged-in.spec.tslogged in user needs onboarding before visiting profile
profile.onboarded.spec.tscan visit other user profile and send by tag
can visit my own profile
can visit private profile
can view activities between another profile
send.onboarded.spec.tscan send USDC starting from profile page
can send USDC using tag starting from home page
can send USDC using sendid starting from home page
can send USDC using address starting from home page
can send ETH starting from profile page
can send ETH using tag starting from home page
can send ETH using sendid starting from home page
can send ETH using address starting from home page
can send SEND starting from profile page
can send SEND using tag starting from home page
can send SEND using sendid starting from home page
can send SEND using address starting from home page
sign-in.anon.spec.tsredirect on sign-in
redirect to send confirm page on sign-in
sign-up.anon.spec.tscan sign up
country code is selected based on geoip
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
todo: