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

@matevzmatevz 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

@netlify

netlifyBot commented Jul 13, 2026

Copy link
Copy Markdown

Deploy Preview for oasisprotocol-cli ready!

NameLink
🔨 Latest commit76a3545
🔍 Latest deploy loghttps://app.netlify.com/projects/oasisprotocol-cli/deploys/6a57a1e34e5123b3fb9ad812
😎 Deploy Previewhttps://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 threadcmd/common/safe.go Outdated
@matevz
matevz requested a review from kostkoJuly 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
MemberAuthor

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 masterJul 15, 2026
5 checks passed
@matevz
matevz deleted the matevz/feat/safe branch July 15, 2026 15:24
@matevzmatevz linked an issue Jul 16, 2026 that may be closed by this pull request
Sign up for freeto 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.

Safe integration

2 participants

@matevz@kostko