Skip to content

Commit 26ffd84

Browse files
committed
feat: add debug logging for safe transaction data and specify origin in transaction proposal
1 parent 050343b commit 26ffd84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

safe-transaction/src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,17 @@ async function run() {
6262

6363
core.info(`🔐 Transaction signed with hash: ${safeTxHash}`);
6464

65+
// Debug: Log transaction data structure
66+
core.info(`📋 Safe Transaction Data: ${JSON.stringify(safeTransaction.data, null, 2)}`);
67+
6568
// Propose transaction to the service
6669
await apiKit.proposeTransaction({
6770
safeAddress: safeAddress,
6871
safeTransactionData: safeTransaction.data,
6972
safeTxHash: safeTxHash,
7073
senderAddress: wallet.address,
7174
senderSignature: signature.data,
75+
origin: 'GitHub Actions Safe Transaction Workflow',
7276
});
7377

7478
core.info("📤 Transaction proposed to Safe service");

0 commit comments

Comments
 (0)