feat: ROSE bridge - #143
Draft
rube-de wants to merge 3 commits into
Draft
Conversation
rube-de
force-pushed
the
rube/feature/bridge-rose
branch
4 times, most recently
from
May 11, 2026 12:22
6128a34 to
e23243e
Compare
rube-de
force-pushed
the
rube/feature/bridge-rose
branch
from
May 20, 2026 13:53
4b744e1 to
241f728
Compare
rube-de
force-pushed
the
rube/feature/bridge-rose
branch
3 times, most recently
from
June 3, 2026 08:55
271477f to
2e3e709
Compare
rube-de
force-pushed
the
rube/feature/bridge-rose
branch
2 times, most recently
from
June 10, 2026 08:27
5651c5e to
7a4f5dd
Compare
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
force-pushed
the
rube/feature/bridge-rose
branch
from
June 23, 2026 16:00
12cc2af to
eff534e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP