Skip to content

Commit cc68147

Browse files
committed
chore: remove redundant chain ID detection logs from transaction proposal workflow
1 parent 50bab48 commit cc68147

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

propose-safe-multisig-tx/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
This reusable GitHub Actions workflow automates the process of proposing transactions to a Safe multi-signature wallet (Gnosis Safe). It handles the proposal submission, making it easy to integrate Safe transactions into your CI/CD pipeline.
66

7-
**🤖 Smart Chain Detection**: The workflow automatically detects the blockchain network's Chain ID from the provided RPC URL, eliminating the need to manually specify it.
8-
97
## Workflow Inputs 🛠️
108

119
| **Input** | **Description** | **Required** | **Default** |

propose-safe-multisig-tx/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ async function run() {
2727
core.info(`🔑 Proposer Address: ${account.address}`);
2828

2929
// Detect chainId from RPC
30-
core.info(`🔍 Detecting chain ID from RPC...`);
3130
const publicClient = createPublicClient({
3231
transport: http(rpcUrl),
3332
});
3433
const chainId = await publicClient.getChainId();
35-
core.info(`🌐 Detected Chain ID: ${chainId.toString()}`);
3634

3735
// Initialize API Kit
3836
const apiKit = new SafeApiKit({
@@ -59,7 +57,6 @@ async function run() {
5957

6058
core.info("📝 Creating Safe transaction...");
6159

62-
// Create the transaction
6360
const safeTransaction = await protocolKit.createTransaction({
6461
transactions: [safeTransactionData],
6562
});

0 commit comments

Comments
 (0)