Skip to content

fix: resubmit #198/#200/#201/#202 with correct commit authorship#364

Open
uche001-dev wants to merge 1 commit into
Emmy123222:mainfrom
uche001-dev:feat/fix-borrow-storage-init-ssr-198-200-201-202
Open

fix: resubmit #198/#200/#201/#202 with correct commit authorship#364
uche001-dev wants to merge 1 commit into
Emmy123222:mainfrom
uche001-dev:feat/fix-borrow-storage-init-ssr-198-200-201-202

Conversation

@uche001-dev

Copy link
Copy Markdown

Context

PR #362 (merged 2026-06-02) was merged with an incorrect commit author/committer (David Ejere instead of Nwokedi Uche). This was caused by a git config leak during the commit.

This PR resubmits the exact same changes (identical tree SHA 42414fc) with the correct authorship: Nwokedi Uche <lifegoeshardsometimes@gmail.com>.

Request

Please:

  1. Revert the merge of PR fix: Result from initialize, clone from in tip event, SSR guards for Freighter #362 (git revert -m 1 <merge-sha>) or use GitHub's revert button
  2. Merge this PR instead using squash merge so the clean commit replaces the dirty one in history

The code changes are identical — only the commit metadata is corrected.

closes #198
closes #200
closes #201
closes #202

Emmy123222#200 — initialize() now returns Result<(), ContractError> and returns
Err(ContractError::AlreadyInitialized) on re-init instead of panicking.
Adds test_double_initialize_returns_error to verify the error path.

Emmy123222#202 — send_tip event tuple now explicitly clones `from` before moving
it into the (tip, from, to) topic tuple, eliminating the potential
borrow/move conflict. Adds test_send_tip_emits_event_with_from_and_to.

Emmy123222#201 — All TipTotal/TipCount/TipRecord entries already used persistent
storage. Adds test_tip_totals_are_per_recipient_persistent to confirm
per-recipient key isolation.

Emmy123222#198 — isFreighterInstalled, hasSiteAccess, and signTransactionWithWallet
now return safe defaults when typeof window === "undefined", preventing
a ReferenceError during Next.js SSR. Adds wallet-ssr.test.ts with 3
node-environment tests verifying the SSR branches.

closes Emmy123222#198
closes Emmy123222#200
closes Emmy123222#201
closes Emmy123222#202
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

@uche001-dev is attempting to deploy a commit to the Emmanuel's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant