Skip to content

feat: add output execution capability#440

Merged
brunomenezes merged 4 commits intomainfrom
feat/add-output-execution-capability
Mar 9, 2026
Merged

feat: add output execution capability#440
brunomenezes merged 4 commits intomainfrom
feat/add-output-execution-capability

Conversation

@brunomenezes
Copy link
Collaborator

@brunomenezes brunomenezes commented Mar 6, 2026

Summary

Code changes to add support for output execution. issue #427
I want to draw attention to one "business logic" here: If the epoch's status where the output(s) you are looking at was generated is not yet set as CLAIM_ACCEPTED, the application will present a wording waiting claim with a info icon with a tooltip with more details if you hover on it, and will actively observe the epoch until its status moves to the expected status (i.e. CLAIM_ACCEPTED). The execution itself follows the usual workflow: click the execute button -> confirm transaction in the wallet -> wait transaction confirmation.

A Deployed version of this branch/PR: https://dave-git-feat-add-output-execution-capability-cartesi.vercel.app/

Testing Steps

It is expected that a Cartesi Application is available to generate voucher outputs.

  • Create a voucher output so you can check receiving it back (e.g. Ether Deposit).
  • On the home page, click the application, and it will navigate to the application summary page.
  • In the application summary page, scroll down to the latest inputs and click the Outputs option in the input of interest.
  • If the epoch is not CLAIM_ACCEPTED, you shall see a blue square at the bottom right of the output content saying WAITING CLAIM ℹ (the square icon here is just for reference)
  • If the epoch has status CLAIM_ACCEPTED, you shall see a button with text Execute if the output is not yet executed.
    • Just click and follow the flow to execute the voucher output.
  • If the output is executed, the button is permanently grey with text Executed, and on the right side, the Tx hash will appear. PS: The transaction hash becomes a link only for testnets and mainnets. For devnets, it is only text you can copy
  • Any errors that occur during the execution will display right below the Execute button area as a red Alert.

closes #427

@brunomenezes brunomenezes added this to the 2.0.0 milestone Mar 6, 2026
@brunomenezes brunomenezes requested review from guidanoli and vfusco March 6, 2026 15:22
@vercel
Copy link

vercel bot commented Mar 6, 2026

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

Project Deployment Actions Updated (UTC)
dave Ready Ready Preview, Comment Mar 9, 2026 7:38pm
rollups-explorer-arbitrum-mainnet Ready Ready Preview, Comment Mar 9, 2026 7:38pm
rollups-explorer-arbitrum-sepolia Canceled Canceled Mar 9, 2026 7:38pm
rollups-explorer-base-mainnet Canceled Canceled Mar 9, 2026 7:38pm
rollups-explorer-base-sepolia Ready Ready Preview, Comment Mar 9, 2026 7:38pm
rollups-explorer-mainnet Ready Ready Preview, Comment Mar 9, 2026 7:38pm
rollups-explorer-optimism-mainnet Ready Ready Preview, Comment Mar 9, 2026 7:38pm
rollups-explorer-optimism-sepolia Ready Ready Preview, Comment Mar 9, 2026 7:38pm
rollups-explorer-sepolia Ready Ready Preview, Comment Mar 9, 2026 7:38pm
rollups-explorer-workshop Ready Ready Preview, Comment Mar 9, 2026 7:38pm

Request Review

guidanoli
guidanoli previously approved these changes Mar 6, 2026
@github-project-automation github-project-automation bot moved this from Todo to Waiting Merge in Rollups SDK Mar 6, 2026
@brunomenezes brunomenezes force-pushed the feat/add-send-generic-input branch from e365510 to 12014df Compare March 9, 2026 19:27
@brunomenezes brunomenezes force-pushed the feat/add-output-execution-capability branch from 7d39da9 to 494042f Compare March 9, 2026 19:30
Base automatically changed from feat/add-send-generic-input to main March 9, 2026 19:32
@brunomenezes brunomenezes dismissed guidanoli’s stale review March 9, 2026 19:32

The base branch was changed.

* When actively displaying outputs and the epoch is not status claim_accepted the components will track the epoch status by invalidating the epoch(s) query to retrieve latest values.
@brunomenezes brunomenezes moved this to 👁 In Review in Explorer Unit Mar 9, 2026
@brunomenezes brunomenezes merged commit 55d9ba5 into main Mar 9, 2026
20 of 21 checks passed
@brunomenezes brunomenezes deleted the feat/add-output-execution-capability branch March 9, 2026 20:51
@github-project-automation github-project-automation bot moved this from 👁 In Review to 📦 Done in Explorer Unit Mar 9, 2026
@github-project-automation github-project-automation bot moved this from Waiting Merge to Done in Rollups SDK Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📦 Done
Status: Done

Development

Successfully merging this pull request may close these issues.

Output: Add execution capability

2 participants