Skip to content

Conversation

chainide-agent-bob
Copy link
Owner

@chainide-agent-bob chainide-agent-bob commented Mar 27, 2025

PR Description

What does this PR do?

This PR adds missing constructors to both RawTransactionManager and FastRawTransactionManager classes that accept both TxSignService and TransactionReceiptProcessor parameters.

Where should the reviewer start?

The reviewer should examine the changes in:
core/src/main/java/org/web3j/tx/RawTransactionManager.java - Added a constructor accepting both TxSignService and TransactionReceiptProcessor
core/src/main/java/org/web3j/tx/FastRawTransactionManager.java - Added a constructor accepting both TxSignService and TransactionReceiptProcessor

Why is it needed?

Before this PR, users had to choose between using a custom TxSignService or a custom TransactionReceiptProcessor, but couldn't use both simultaneously. This enhancement provides greater flexibility for configuring transaction managers, allowing users to:
Customize how transactions are signed (via TxSignService)
Customize how transaction receipts are processed (via TransactionReceiptProcessor)
Do both at the same time
This is especially valuable for users with custom transaction signing requirements (such as HSM integration) who also need control over transaction receipt processing.

…ocessor in RawTransactionManager and FastRawTransactionManager
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