Skip to content

cmd/tx: Implement Safe transaction batch output format#708

Merged
matevz merged 3 commits into
masterfrom
matevz/feat/safe
Jul 15, 2026
Merged

cmd/tx: Implement Safe transaction batch output format#708
matevz merged 3 commits into
masterfrom
matevz/feat/safe

Conversation

@matevz

@matevz matevz commented Jul 13, 2026

Copy link
Copy Markdown
Member

Implements option 2 of #700

An example workflow for updating ROFL parameters on a ROFL that is governed by a multisig account on Safe:

  1. echo "abc" | oasis rofl public-var set GAS_PRICE -
  2. oasis rofl update --format safe --unsigned -o update-rofl-gas-price.json
  3. Upload the file via Safe Transaction Builder
  4. Sign the transaction with Safe (and wait for others to Sign)
  5. Execute the transaction with Safe

@matevz matevz requested a review from martintomazic July 13, 2026 13:23
@netlify

netlify Bot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy Preview for oasisprotocol-cli ready!

Name Link
🔨 Latest commit 76a3545
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-cli/deploys/6a57a1e34e5123b3fb9ad812
😎 Deploy Preview https://deploy-preview-708--oasisprotocol-cli.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread cmd/common/safe.go Outdated
@matevz matevz force-pushed the matevz/feat/safe branch from b30f82b to 34ccc8b Compare July 15, 2026 13:48
@matevz matevz requested a review from kostko July 15, 2026 13:48
// No admin in manifest, leave unchanged.
case npa.AccountSetExplicitly:
// No admin in manifest, leave unchanged; ignore for unsigned transactions entirely.
case npa.AccountSetExplicitly, common.TxUnsigned:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This will be pretty common for multisig ROFLs where no one will have a local admin account available. But creating and exporting ROFL transactions into Safe format must still work.

@matevz matevz merged commit d374d97 into master Jul 15, 2026
5 checks passed
@matevz matevz deleted the matevz/feat/safe branch July 15, 2026 15:24
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.

2 participants