Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 6, 2025


PR-Codex overview

This PR focuses on fixing the TransactionWidget to ensure it updates correctly when the currency prop changes after the initial render.

Detailed summary

  • Updated PaymentOverview to remove currency prop from TransactionOverViewCompact.
  • Modified TransactionPayment to calculate and display the total fiat cost based on the selected currency.
  • Adjusted useTransactionDetails to remove currency from options and related calculations.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Summary by CodeRabbit

  • Bug Fixes

    • Transaction widget now updates correctly when the selected currency changes after initial render.
    • Payment and transaction details show correct fiat totals, with graceful fallback when pricing data is unavailable.
  • Improvements

    • Simplified and more consistent fiat cost display across payment views for clearer totals and formatting.
  • Chores

    • Added a patch-level changeset entry documenting the fix.

@linear
Copy link

linear bot commented Oct 6, 2025

@vercel
Copy link

vercel bot commented Oct 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs-v2 Ready Ready Preview Comment Oct 6, 2025 7:39pm
nebula Ready Ready Preview Comment Oct 6, 2025 7:39pm
thirdweb_playground Ready Ready Preview Comment Oct 6, 2025 7:39pm
thirdweb-www Ready Ready Preview Comment Oct 6, 2025 7:39pm
wallet-ui Ready Ready Preview Comment Oct 6, 2025 7:39pm

@changeset-bot
Copy link

changeset-bot bot commented Oct 6, 2025

🦋 Changeset detected

Latest commit: 968913d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
thirdweb Patch
@thirdweb-dev/nebula Patch
@thirdweb-dev/wagmi-adapter Patch
wagmi-inapp Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@MananTank MananTank marked this pull request as ready for review October 6, 2025 16:01
@MananTank MananTank requested review from a team as code owners October 6, 2025 16:01
@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Oct 6, 2025
Copy link
Member Author

MananTank commented Oct 6, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 6, 2025

Walkthrough

Removes currency/USD handling from the useTransactionDetails hook and its types. Moves fiat price lookup and formatted fiat display into TransactionPayment. Updates PaymentOverview and TransactionOverViewCompact to stop passing currency. Adds a patch changeset noting a bug fix for currency prop updates.

Changes

Cohort / File(s) Summary
Changeset
.changeset/rich-pens-hug.md
Adds a patch-level changeset entry documenting a bug fix: TransactionWidget not updating when the currency prop changes.
Hook API update
packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts
Removes currency from UseTransactionDetailsOptions and useTransactionDetails signature; deletes USD/fiat lookup and usdValueDisplay; trims imports to formatTokenAmount; updates TransactionDetails shape.
Bridge payment UI
packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx
Stops passing currency to useTransactionDetails; imports formatCurrencyAmount; performs fiat price lookup via tokenInfo.prices[currency], computes totalFiatCost, and chooses costToDisplay (formatted fiat or fallback txCostDisplay).
Payment overview UI
packages/thirdweb/src/react/web/ui/Bridge/payment-details/PaymentOverview.tsx
Removes currency prop from PaymentOverview and TransactionOverViewCompact and stops passing currency into useTransactionDetails.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant U as User
  participant TW as TransactionWidget
  participant TP as TransactionPayment
  participant Hook as useTransactionDetails
  participant Price as tokenInfo.prices

  U->>TW: Change fiat currency prop
  TW->>TP: Re-render with new currency
  TP->>Hook: useTransactionDetails({ client, transaction, wallet })
  Hook-->>TP: { totalCost, txCostDisplay, tokenInfo }
  TP->>Price: Lookup prices[currency]
  Price-->>TP: fiatPricePerToken
  TP->>TP: totalFiatCost = fiatPricePerToken * totalCost
  TP->>TP: costToDisplay = formatCurrencyAmount(totalFiatCost) || txCostDisplay
  TP-->>TW: Render updated costToDisplay
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Pre-merge checks and finishing touches

❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description Check ⚠️ Warning The pull request description still contains the template comments but does not provide the required “Notes for the reviewer” or “How to test” sections, so it does not match the repository’s template structure. Please fill in the “Notes for the reviewer” section with key details or considerations and add a “How to test” section outlining steps for verification or relevant testing instructions.
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The title clearly summarizes the main change by specifying it fixes the TransactionWidget bug where the currency prop change was not updating the UI after initial render and includes the issue tag and SDK context, aligning with the repository’s convention.
Linked Issues Check ✅ Passed The changes directly address the MNY-231 issue by ensuring the TransactionWidget recalculates and displays the correct fiat cost when the currency prop changes, with currency logic relocated to the UI components to trigger updates on rerender.
Out of Scope Changes Check ✅ Passed All modifications focus on currency handling in useTransactionDetails, TransactionPayment, and PaymentOverview components to fix the TransactionWidget behavior and there are no unrelated or out-of-scope changes.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch mny-231

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (1)
  • TEAM-0000: Entity not found: Issue - Could not find referenced Issue.

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🧹 Nitpick comments (1)
packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts (1)

45-48: Add required TSDoc @example and stability tag.

As per coding guidelines: "Every public symbol must have comprehensive TSDoc with at least one compiling @example and a custom tag (@beta, @internal, @experimental, etc.)."

The current documentation lacks both an @example and a stability tag. Consider enhancing it:

 /**
  * Hook to fetch comprehensive transaction details including contract metadata,
  * function information, cost calculations, and gas estimates.
+ *
+ * @example
+ * ```tsx
+ * const transactionQuery = useTransactionDetails({
+ *   client,
+ *   transaction: preparedTx,
+ *   wallet: activeWallet,
+ * });
+ * 
+ * if (transactionQuery.data) {
+ *   console.log(transactionQuery.data.functionInfo.functionName);
+ *   console.log(transactionQuery.data.txCostDisplay);
+ * }
+ * ```
+ *
+ * @beta
  */

Based on coding guidelines.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 777aed1 and 93e1166.

📒 Files selected for processing (4)
  • .changeset/rich-pens-hug.md (1 hunks)
  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts (1 hunks)
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx (3 hunks)
  • packages/thirdweb/src/react/web/ui/Bridge/payment-details/PaymentOverview.tsx (0 hunks)
💤 Files with no reviewable changes (1)
  • packages/thirdweb/src/react/web/ui/Bridge/payment-details/PaymentOverview.tsx
🧰 Additional context used
📓 Path-based instructions (4)
**/*.{ts,tsx}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx}: Write idiomatic TypeScript with explicit function declarations and return types
Limit each file to one stateless, single-responsibility function for clarity
Re-use shared types from @/types or local types.ts barrels
Prefer type aliases over interface except for nominal shapes
Avoid any and unknown unless unavoidable; narrow generics when possible
Choose composition over inheritance; leverage utility types (Partial, Pick, etc.)
Comment only ambiguous logic; avoid restating TypeScript in prose

**/*.{ts,tsx}: Use explicit function declarations and explicit return types in TypeScript
Limit each file to one stateless, single‑responsibility function
Re‑use shared types from @/types where applicable
Prefer type aliases over interface except for nominal shapes
Avoid any and unknown unless unavoidable; narrow generics when possible
Prefer composition over inheritance; use utility types (Partial, Pick, etc.)
Lazy‑import optional features and avoid top‑level side‑effects to reduce bundle size

Files:

  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (CLAUDE.md)

Load heavy dependencies inside async paths to keep initial bundle lean (lazy loading)

Files:

  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx
packages/thirdweb/**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

packages/thirdweb/**/*.{ts,tsx}: Every public symbol must have comprehensive TSDoc with at least one compiling @example and a custom tag (@beta, @internal, @experimental, etc.)
Comment only ambiguous logic; avoid restating TypeScript in prose
Lazy‑load heavy dependencies inside async paths (e.g., const { jsPDF } = await import("jspdf"))

Files:

  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx
.changeset/*.md

📄 CodeRabbit inference engine (AGENTS.md)

.changeset/*.md: Each change in packages/* must include a changeset for the appropriate package
Version bump rules: patch for non‑API changes; minor for new/modified public API

Files:

  • .changeset/rich-pens-hug.md
🧬 Code graph analysis (1)
packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx (1)
packages/thirdweb/src/react/web/ui/ConnectWallet/screens/formatTokenBalance.ts (1)
  • formatCurrencyAmount (37-42)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: Unit Tests
  • GitHub Check: Size
  • GitHub Check: E2E Tests (pnpm, esbuild)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Build Packages
  • GitHub Check: E2E Tests (pnpm, vite)
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (4)
packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx (2)

27-27: LGTM!

The import of formatCurrencyAmount is correctly added to support the new fiat cost formatting logic.


145-148: LGTM! This fix correctly addresses the reactivity issue.

Moving the currency-dependent calculation into the component body ensures that costToDisplay updates whenever the currency prop changes. The component will re-render and recalculate the fiat cost, solving the bug where "changing currency prop on TransactionWidget does not immediately update UI".

The fallback to txCostDisplay when fiat cost is unavailable is appropriate.

Also applies to: 223-223

packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts (2)

20-20: LGTM!

The import correctly reflects the simplified hook scope, removing formatCurrencyAmount since currency formatting is now handled in the consuming component.


39-43: LGTM! This API simplification addresses the root cause.

Removing currency handling from the hook is the correct fix. The previous implementation had two issues:

  1. Even if currency was passed to the hook, the queryKey didn't include it, so changing currency wouldn't trigger a refetch
  2. Currency-specific formatting is a presentation concern, not a data-fetching concern

The new approach provides better separation: the hook fetches transaction data, and consuming components handle currency-specific display formatting. This makes the display reactive to currency changes without unnecessary refetches.

Also applies to: 49-53

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 64.6 KB (0%) 1.3 s (0%) 279 ms (+92.36% 🔺) 1.6 s
thirdweb (cjs) 365.75 KB (0%) 7.4 s (0%) 1.5 s (+8.86% 🔺) 8.8 s
thirdweb (minimal + tree-shaking) 5.73 KB (0%) 115 ms (0%) 96 ms (+1386.25% 🔺) 210 ms
thirdweb/chains (tree-shaking) 526 B (0%) 11 ms (0%) 55 ms (+1510.06% 🔺) 65 ms
thirdweb/react (minimal + tree-shaking) 19.13 KB (0%) 383 ms (0%) 68 ms (+763.36% 🔺) 451 ms

@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

❌ Patch coverage is 15.38462% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.04%. Comparing base (bd70db4) to head (968913d).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...web/src/react/web/ui/Bridge/TransactionPayment.tsx 8.33% 11 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8192   +/-   ##
=======================================
  Coverage   55.03%   55.04%           
=======================================
  Files         919      919           
  Lines       60562    60563    +1     
  Branches     4122     4125    +3     
=======================================
+ Hits        33332    33338    +6     
+ Misses      27126    27121    -5     
  Partials      104      104           
Flag Coverage Δ
packages 55.04% <15.38%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
...dweb/src/react/core/hooks/useTransactionDetails.ts 12.69% <100.00%> (+0.57%) ⬆️
.../web/ui/Bridge/payment-details/PaymentOverview.tsx 5.05% <ø> (+0.03%) ⬆️
...web/src/react/web/ui/Bridge/TransactionPayment.tsx 6.52% <8.33%> (+0.11%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 6, 2025

Merge activity

…ange after initial render (#8192)

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the `TransactionWidget` to ensure it updates correctly when the `currency` prop changes after the initial render. It also refines how the total cost and display values are calculated based on the selected currency.

### Detailed summary
- Updated `PaymentOverview` to remove the `currency` prop from `TransactionOverViewCompact`.
- Enhanced `TransactionPayment` to calculate `totalFiatCost` and `costToDisplay` based on the selected currency.
- Adjusted the display of USD value to use `costToDisplay`.
- Removed the `currency` type from `UseTransactionDetailsOptions`.
- Simplified `useTransactionDetails` by removing currency-related calculations.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **Bug Fixes**
  * Transaction widget now updates correctly when the selected currency changes after initial render.
  * Payment and transaction details display accurate fiat totals, with graceful fallback when pricing data is unavailable.

* **Improvements**
  * Streamlined pricing display to focus on the selected currency, improving clarity and consistency across payment views.

* **Chores**
  * Added a patch-level changeset entry documenting the bug fix.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts (1)

23-43: Breaking changes verified. No calls to useTransactionDetails pass currency and no references to usdValueDisplay remain. Consider adding TSDoc with @example to the public interfaces TransactionDetails and UseTransactionDetailsOptions.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 93e1166 and 968913d.

📒 Files selected for processing (4)
  • .changeset/rich-pens-hug.md (1 hunks)
  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts (1 hunks)
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx (3 hunks)
  • packages/thirdweb/src/react/web/ui/Bridge/payment-details/PaymentOverview.tsx (0 hunks)
💤 Files with no reviewable changes (1)
  • packages/thirdweb/src/react/web/ui/Bridge/payment-details/PaymentOverview.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • .changeset/rich-pens-hug.md
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{ts,tsx}

📄 CodeRabbit inference engine (CLAUDE.md)

**/*.{ts,tsx}: Write idiomatic TypeScript with explicit function declarations and return types
Limit each file to one stateless, single-responsibility function for clarity
Re-use shared types from @/types or local types.ts barrels
Prefer type aliases over interface except for nominal shapes
Avoid any and unknown unless unavoidable; narrow generics when possible
Choose composition over inheritance; leverage utility types (Partial, Pick, etc.)
Comment only ambiguous logic; avoid restating TypeScript in prose

**/*.{ts,tsx}: Use explicit function declarations and explicit return types in TypeScript
Limit each file to one stateless, single‑responsibility function
Re‑use shared types from @/types where applicable
Prefer type aliases over interface except for nominal shapes
Avoid any and unknown unless unavoidable; narrow generics when possible
Prefer composition over inheritance; use utility types (Partial, Pick, etc.)
Lazy‑import optional features and avoid top‑level side‑effects to reduce bundle size

Files:

  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (CLAUDE.md)

Load heavy dependencies inside async paths to keep initial bundle lean (lazy loading)

Files:

  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx
packages/thirdweb/**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

packages/thirdweb/**/*.{ts,tsx}: Every public symbol must have comprehensive TSDoc with at least one compiling @example and a custom tag (@beta, @internal, @experimental, etc.)
Comment only ambiguous logic; avoid restating TypeScript in prose
Lazy‑load heavy dependencies inside async paths (e.g., const { jsPDF } = await import("jspdf"))

Files:

  • packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts
  • packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx
🧬 Code graph analysis (1)
packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx (1)
packages/thirdweb/src/react/web/ui/ConnectWallet/screens/formatTokenBalance.ts (1)
  • formatCurrencyAmount (37-42)
🪛 GitHub Check: codecov/patch
packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx

[warning] 137-138: packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx#L137-L138
Added lines #L137 - L138 were not covered by tests


[warning] 140-143: packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx#L140-L143
Added lines #L140 - L143 were not covered by tests


[warning] 145-148: packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx#L145-L148
Added lines #L145 - L148 were not covered by tests


[warning] 223-223: packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx#L223
Added line #L223 was not covered by tests

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: E2E Tests (pnpm, webpack)
  • GitHub Check: Size
  • GitHub Check: Lint Packages
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (6)
packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx (4)

27-27: LGTM: Import added for currency formatting.

The import is correctly sourced and used later in the component for fiat cost display.


100-104: LGTM: Hook call simplified.

Removing the currency parameter aligns with the refactor to handle fiat calculations at the component level, enabling reactive updates when the currency prop changes.


137-148: LGTM: Fiat cost calculation logic is correct.

The implementation correctly:

  • Retrieves the fiat price for the selected currency from tokenInfo.prices[currency]
  • Computes totalFiatCost when both price and transaction data are available
  • Falls back to txCostDisplay when fiat cost cannot be computed

This addresses the PR objective of making the display reactive to currency prop changes.

Note: Static analysis indicates these lines lack test coverage. Consider adding tests to verify:

  1. Correct fiat cost calculation when currency data is available
  2. Fallback behavior when tokenFiatPricePerToken is undefined
  3. Currency switching updates the display correctly

223-223: LGTM: Display updated to show computed cost.

The UI now displays costToDisplay, which reactively updates based on the currency prop, resolving the issue described in the PR objectives.

packages/thirdweb/src/react/core/hooks/useTransactionDetails.ts (2)

20-20: LGTM: Import simplified.

Removed formatCurrencyAmount as currency formatting is no longer performed in this hook.


49-167: LGTM: Hook simplified by removing currency logic.

The refactor successfully:

  • Removes currency from the hook parameters
  • Eliminates USD-specific calculations and formatting
  • Simplifies the hook's responsibility to transaction details only
  • Maintains all other functionality intact

This enables components to handle currency-specific formatting independently, allowing reactive updates when the currency prop changes.

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

Labels

packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants