Skip to content

Examples: Refresh rofl-oracle-sgx and rofl-oracle-tdx-raw#2273

Merged
matevz merged 5 commits intomainfrom
matevz/features/examples-rename-sgx-tdx
Jul 30, 2025
Merged

Examples: Refresh rofl-oracle-sgx and rofl-oracle-tdx-raw#2273
matevz merged 5 commits intomainfrom
matevz/features/examples-rename-sgx-tdx

Conversation

@matevz
Copy link
Copy Markdown
Member

@matevz matevz commented Jul 15, 2025

Fixes #2090

This PR rewrites the rofl-oracle-* examples to a new format:

  • name rofl-oracle-sgx for SGX and rofl-oracle-tdx-raw for TDX flavor without containers
  • introduce rofl.yaml
  • in the Rust code, use the rofl_core app's id() and trust_root() implementation
  • rofl-oracle-sgx: use debug: true for Localnet and no trust root
  • update Testnet trust roots to more recent ones
  • rename rofl-oracle-*/oracle -> rofl-oracle-*/contracts because that's where web3 devs expect smart contracts to live in
  • add symlink from rofl-oracle-tdx-raw/contracts -> rofl-oracle-sgx/contracts to avoid code duplication
  • add CI for building rofl-oracle-* examples
  • update Cargo.toml files to use the current oasis-sdk repo tooling, including the minimal-runtime example
  • bump deps in rofl-utils used by rofl-oracle-sgx

Related oasisprotocol/oasis-web3-gateway#759, oasisprotocol/cli#548

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 15, 2025

Deploy Preview for oasisprotocol-oasis-sdk canceled.

Name Link
🔨 Latest commit 68726e2
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-oasis-sdk/deploys/688a232111c81a0008f8e137

@matevz matevz force-pushed the matevz/features/examples-rename-sgx-tdx branch 2 times, most recently from fc51238 to 8cf2d68 Compare July 23, 2025 15:39
@matevz matevz force-pushed the matevz/features/examples-rename-sgx-tdx branch from 8cf2d68 to a89375d Compare July 23, 2025 16:08
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.96%. Comparing base (68c1c17) to head (cad37c4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2273   +/-   ##
=======================================
  Coverage   53.96%   53.96%           
=======================================
  Files         163      163           
  Lines       12333    12333           
=======================================
  Hits         6656     6656           
  Misses       5677     5677           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@matevz matevz force-pushed the matevz/features/examples-rename-sgx-tdx branch 7 times, most recently from a4460da to 4c9a74c Compare July 25, 2025 15:19
@matevz matevz force-pushed the matevz/features/examples-rename-sgx-tdx branch 6 times, most recently from b147a4a to cad37c4 Compare July 30, 2025 11:21
@matevz matevz force-pushed the matevz/features/examples-rename-sgx-tdx branch from eb6bd7a to 8a7e1f2 Compare July 30, 2025 13:40
@matevz matevz force-pushed the matevz/features/examples-rename-sgx-tdx branch from 8a7e1f2 to 68726e2 Compare July 30, 2025 13:50
@matevz matevz merged commit fa6a00d into main Jul 30, 2025
30 checks passed
@matevz matevz deleted the matevz/features/examples-rename-sgx-tdx branch July 30, 2025 14:17
github-actions bot added a commit that referenced this pull request Jul 30, 2025
…atevz/features/examples-rename-sgx-tdx

Examples: Refresh rofl-oracle-sgx and rofl-oracle-tdx-raw fa6a00d
github-actions bot added a commit that referenced this pull request Jul 30, 2025
…/matevz/features/examples-rename-sgx-tdx

Examples: Refresh rofl-oracle-sgx and rofl-oracle-tdx-raw fa6a00d
github-actions bot added a commit to OasisUnofficial/oasis-sdk that referenced this pull request Jul 30, 2025
…sisprotocol/matevz/features/examples-rename-sgx-tdx

Examples: Refresh rofl-oracle-sgx and rofl-oracle-tdx-raw fa6a00d
github-actions bot added a commit to OasisUnofficial/oasis-sdk that referenced this pull request Jul 30, 2025
…oasisprotocol/matevz/features/examples-rename-sgx-tdx

Examples: Refresh rofl-oracle-sgx and rofl-oracle-tdx-raw fa6a00d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ROFL: Update examples/runtime-sdk to the latest rofl.yaml tooling

2 participants