feat: add Arbitrum USDT wallet with USDT fees - #157
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1f805f1091
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Advice: ✅ Approve
Review: diff 33 files.
Findings:
1 inline (non-blocking)
Audit:
Audited - no findings.
Coverage:
QA: the tests under "QA Notes" need a person; no approval follows from this review
Reviewed by gpt-6-sol-xhigh via gh-pr-review-loop skill
Commands: @ovi-reviewer review · test · retest · audit (author or owner) · wrong <why> (owner)
|
Two independent reviews. needs changing before merge
worth doing, does not block
|
|
Thanks, both points are valid. Fixed in 5bd4722.
Added general coverage for disappearance/re-inclusion, restart and identical rebroadcast, duplicate prevention, multiple reopened payments, and busy polling. The existing resume test also verifies that the revised history walk does not repeat completed block work. Reorg handling remains bounded by the documented revisit window; this does not claim Ethereum finality or arbitrary-depth rollback. The fixes are also propagated through #158 and #159, including clearing orphaned bridge GUIDs and restoring the destination amount from the signed operation. Validation: 55/55 active USDT tests on #157, 61/61 on #158, and 67/67 on #159; formatting, Clippy (existing unrelated warnings only), generated Swift bindings, and an independent correctness/code-quality review. Live-contract tests remain opt-in; the reorg scenarios use mock RPC data. |
Description
Adds USDT0 support on Arbitrum One to Bitkit Core, allowing users to receive and send USDT and pay transaction fees in USDT without holding ETH.
This PR covers direct Arbitrum payments. Native UI and the backend that protects provider credentials are maintained separately. Outbound bridging is added in #158; inbound deposits from other networks are added in #159.
QA Notes
cargo test --locked --lib modules::usdt,cargo fmt --checkandcargo clippy --locked --lib --tests.v0.6.0. Before remote package consumption, build the selected merged source, record the final SwiftPM checksum in a release-preparation commit, and tag/publish that exact iOS archive and matching Android package. Use matching local artifacts for branch testing; later stack layers must use a new version if an earlier layer has already been released.