Skip to content

feat: ROSE bridge - #143

Draft
rube-de wants to merge 3 commits into
masterfrom
rube/feature/bridge-rose
Draft

feat: ROSE bridge#143
rube-de wants to merge 3 commits into
masterfrom
rube/feature/bridge-rose

Conversation

@rube-de

@rube-de rube-de commented May 5, 2026

Copy link
Copy Markdown
Contributor

WIP

@rube-de rube-de linked an issue May 5, 2026 that may be closed by this pull request
@rube-de
rube-de force-pushed the rube/feature/bridge-rose branch 4 times, most recently from 6128a34 to e23243e Compare May 11, 2026 12:22
@rube-de
rube-de force-pushed the rube/feature/bridge-rose branch from 4b744e1 to 241f728 Compare May 20, 2026 13:53
@rube-de
rube-de force-pushed the rube/feature/bridge-rose branch 3 times, most recently from 271477f to 2e3e709 Compare June 3, 2026 08:55
@rube-de
rube-de force-pushed the rube/feature/bridge-rose branch 2 times, most recently from 5651c5e to 7a4f5dd Compare June 10, 2026 08:27
rube-de added 3 commits June 23, 2026 18:00
Bridge ROSE between Oasis Sapphire and Base via a burn/mint xERC20 (xROSE)
and a ROFLBridge custodian, settled through the Accounting UUPS proxy.

- Accounting: bridge deposit credit, bridge-withdrawal queueing and idempotent
  resolution, and route reconciliation for ROFL-TEE-driven mint/burn, alongside
  the existing deposit, lock, transfer, and history flows.
- Base side: XRose (xERC20) with per-bridge mint/burn limits, plus ROFLBridge
  deployed deterministically via CREATE3 so the address is chain-agnostic.
- Off-chain services: bridge route reconciler, bridge submit, and a durable
  per-chain custody-tx executor for every tx signed by Accounting.evmAddress().
- Deployment + runtime wiring: rofl.yaml bridge deployment, compose env, and
  the documented bridge configuration in .env.example.
Accounting deploys to Sapphire, which lifts the contract size cap from the
EIP-170 24576-byte limit to 64 KiB. Enforce that budget instead, pinned to a
baseline so size regressions are caught without blocking on the EIP-170 cap.
Python-driven end-to-end test of the ROSE/xROSE bridge across two real local
chains: Accounting plus the bundled rofl-appd on sapphire-localnet, and
XRose/ROFLBridge on a local anvil Base chain. Exercises the onlyROFLQuery
signed-query path (burn and sweep) through the production services,
broadcasting the real mint and burn and asserting on-chain.

Hardhat deploys and owner-wires both sides and writes an address manifest; the
runner manages anvil and clears PRIVATE_KEY so deploys use the funded localnet
mnemonic. The test self-skips unless localnet, the appd, anvil Base, and the
manifest are all present, so the default suite stays green without the infra.
@rube-de
rube-de force-pushed the rube/feature/bridge-rose branch from 12cc2af to eff534e Compare June 23, 2026 16:00
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.

Bridge Rose to Base/Ethereum

1 participant