I am getting the GS025 error from Tenderly. The flow of my development is this: my own application using gnosis safe-core-sdk signs and proposes transactions to the gnosis safe on goerli or polygon.

I've listed my app's address as an owner on the safe and I see the signature 1 of 1 set on the gnosis ui. However the tenderly report is stating that the transaction won't execute because of GS025. I saw this previous post: GS025 error when executing Gnosis Safe multisig transaction

I am not specifying a nonce value in the transaction object, what could be the issue? Proposing transactions from the gnosis safe ui itself manually doesn't trigger this.

Update sharing code:

 const options: SafeTransactionOptionalProps = {
                safeTxGas: maxFeePerGas.toNumber(), 
                baseGas: maxFeePerGas.toNumber(), 
                gasPrice: maxFeePerGas.toNumber(), 
                gasToken: "0x0000000000000000000000000000000000000000",
                refundReceiver: process.env.APP_ADDRESS, 
                // nonce: nonce 

            const safeTransaction = await safeSdk.createTransaction(transactions, options);
            console.log("txn: ", safeTransaction);

      const safeTxHash = await safeSdk.getTransactionHash(safeTransaction);
        const signature = await safeSdk.signTransactionHash(safeTxHash);
        console.log("signature:", safeTxHash);

        const options : TransactionOptions= {
            gasPrice: maxFeePerGas.toNumber(), 
        const approveTxResponse = await safeSdk.approveTransactionHash(safeTxHash, options);
        console.log("approve response, ", approveTxResponse);

        const proposedTxnBatch = await safeService.proposeTransaction({
            safeTransaction: safeTransaction,
            safeTxHash: safeTxHash,
            senderAddress: signer,
            origin: batchId //optional: provides more info about the app proposing the transaction

1 Answer 1


You included a pre-validated signature for the owner 0x0db6854c93bf578f6fa2962decf92ed0d08474c1, but executed a transaction with the owner 0x47430d6f05f1a10484b1082ec27883002ea1ee1f and the hash wasn't previously approved by that owner.

You can check the condition yourself:

require(msg.sender == currentOwner || approvedHashes[currentOwner][dataHash] != 0, "GS025")

More about safe signatures: https://docs.gnosis-safe.io/contracts/signatures

  • Yes it throws an error in proposeTransaction() when I don't include senderSignature in the config. Is there a way to not include a pre-validated signature when proposing? @mikheevm Jul 22, 2022 at 4:15
  • Also for more context on my transaction I am encoding the data with iface.encodeFunctionData from ethers since this transaction is a call to my team's smart contract` Jul 22, 2022 at 4:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.