Repository navigation
fix: adopt paykit 0.1.1-rc6 - #1803
Draft
ben-kaufman wants to merge 13 commits into
Draft
ben-kaufman wants to merge 13 commits into
ben-kaufman wants to merge 13 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 tasks
Contributor
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
This branch has not been deployed
This file contains hidden or 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
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.
Twin: synonymdev/bitkit-ios#1237
This PR:
Description
com.synonym:paykit-androidto0.1.1-rc6, the same one-line change as earlier Paykit bumps. The bump itself only needed test fixtures for the new Payment Request record times and the private list acknowledgement field.paymentProofEventLento measure the largest Payment Proof Bitkit would send, so the check matches what the SDK queues instead of a hand-built JSON copy. A proof that would not fit one Paykit message is refused before anything is paid, because it could never reach the payee. USDT already had this check. Lightning and on-chain Payment Request payments, manual and automatic, now have it too. An automatic Allowance payment measures before it accepts the request, so an oversized one stays manual instead of being accepted and then failing to pay.webpki-roots1.0.11 list. The staging and production homeserver, relay, pkarr and homegate hosts all chain to ISRG Root X1, which that list includes.Out of Scope
PaykitAllowanceRepo: accepting a contact's pending allowance offers withacceptPendingAllowanceProposals. The bulk call also accepts offers Bitkit does not list, such as non-BTC terms, and drops the per-proposal binding, so offers are still accepted one at a time. iOS made the same call.Design
N/A - no design available.
Preview
N/A
QA Notes
Setup
com.synonym:paykit-android:0.1.1-rc6from GitHub Packages (AAR SHA-256792ace22d4e188733df3ec3644d69e22fb6692f39115ce55b706f91edc3ccdd8).request-summary.xml. Put the 256 "💜" note on the requester's clipboard, sinceadb shell input textcannot type emoji.pubkyauth://signup_grantURL whose signup token the homeserver refuses, for example the token of a link another wallet already completed, and a wallet with no Pubky identity. See the pubky-auth suite README.docs/usdt-qa.mdand a payer that submits a Payment Proof for a USDT transfer made more than 24 hours before the request.Journeys
request-note-too-long.xml- a note too long for one Paykit message is refused with "Shorten the note and try again." before anything is sent, and the request sends once the note is shortenedgrant-signup-rejected-code.xml- a refused signup code shows its own message, keeps the sheet open and creates no identityManual Tests
Automated Checks
PaykitPaymentProofRepoTest.kt- a Lightning proof is measured with its largest preimage, app and allowance before payment, an on-chain proof too large for one message is refused before payment, and a proof the SDK cannot measure is refused as unavailablePaykitAllowanceExecutorTest.kt- the proof is measured with the Allowance ID before automatic acceptance, and a request whose proof would not fit stays manual without acceptancePaykitUsdtPaymentRepoTest.kt- the USDT proof is measured by the SDK with the largest valid receipt log index (fits and too large). Transfers within the 24 h tolerance pay the request and older ones are flagged and do notPaykitPaymentStateBackupTest.kt- a USDT backup without the new flag still decodes, and the flag round tripsAppViewModelSendFlowTest.kt- a request too long to send shows "Shorten the note and try again." and does not completePaykitPaymentRequestRepoTest.kt-message_too_largemaps to the note error, and other protocol errors pass through unchangedPaykitPaymentRequestRepoSubscriptionTest.kt- an SDKmessage_too_largemaps to the subscription messagePubkyAuthErrorMessageTest.kt- refused signup codes and transport errors get their own text, and other identity errors keep the fallbackPubkyRepoTest.kt- a sign-up refused because the identity lives elsewhere signs in, and a transport failure does not sign up againPaykitIssuerInteropTest.kt,PrivatePaykitRepoTest.kt,PaykitSdkServiceTest.kt- fixtures for the new rc6 record and report fieldsPaykitUsdtPaymentRepoTest.ktboundary cases for the hand-built proof JSON - the SDK now does the measurementopenssl s_client -showcertsagainst httprelay, homeserver, pkarr and homegate (production and staging),pkarr.pubky.organdrelay.pkarr.org- every chain ends at ISRG Root X1Evidence
7cc585b5:just compile,just testandjust lintpass locally (4,955 unit tests in 264 suites, 0 failures or skips, 0 detekt findings, 0 Android Lint issues).Gaps
<action>steps as the iOS twin (chore: adopt Paykit 0.1.1-rc6 bitkit-ios#1237), apart from platform identifiers.Models used
Claude Opus 5.5(reasoning: Not exposed)Claude Opus 5.5(reasoning: Not exposed)Claude Opus 5.5(reasoning: Not exposed)The session metadata does not expose a reasoning setting.
🤖 Generated with Claude Code