Skip to content

Commit e4c2c13

Browse files
committed
remove duplicate account hook update declaration after rebase
Signed-off-by: Aman <amkr6207@gmail.com>
1 parent 970cafb commit e4c2c13

3 files changed

Lines changed: 2 additions & 15 deletions

File tree

hiero-enterprise-base/src/main/java/org/hiero/base/protocol/ProtocolLayerClient.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -179,19 +179,6 @@ public interface ProtocolLayerClient {
179179
@NonNull AccountDeleteResult executeAccountDeleteTransaction(
180180
@NonNull AccountDeleteRequest request) throws HieroException;
181181

182-
/**
183-
* Executes an account hook update transaction.
184-
*
185-
* @param request the request containing hooks to create and hooks to delete on an account
186-
* @return the result of the account hook update transaction
187-
* @throws HieroException if the transaction could not be executed
188-
*/
189-
@NonNull
190-
default AccountHookUpdateResult executeAccountHookUpdateTransaction(
191-
@NonNull AccountHookUpdateRequest request) throws HieroException {
192-
throw new UnsupportedOperationException("Account hook update transaction is not implemented.");
193-
}
194-
195182
/**
196183
* Executes an account update transaction.
197184
*

hiero-enterprise-base/src/test/java/org/hiero/base/test/AccountClientImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import com.hedera.hashgraph.sdk.ContractId;
99
import com.hedera.hashgraph.sdk.EvmHook;
1010
import com.hedera.hashgraph.sdk.Hbar;
11+
import com.hedera.hashgraph.sdk.HookExtensionPoint;
1112
import com.hedera.hashgraph.sdk.PrivateKey;
1213
import com.hedera.hashgraph.sdk.Status;
1314
import com.hedera.hashgraph.sdk.TransactionId;
1415
import java.util.List;
1516
import org.hiero.base.HieroException;
1617
import org.hiero.base.data.Account;
1718
import org.hiero.base.data.HookDetails;
18-
import com.hedera.hashgraph.sdk.HookExtensionPoint;
1919
import org.hiero.base.implementation.AccountClientImpl;
2020
import org.hiero.base.protocol.ProtocolLayerClient;
2121
import org.hiero.base.protocol.data.AccountBalanceRequest;

hiero-enterprise-base/src/test/java/org/hiero/base/test/ProtocolLayerDataCreationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.hedera.hashgraph.sdk.FileId;
99
import com.hedera.hashgraph.sdk.Hbar;
1010
import com.hedera.hashgraph.sdk.HookEntityId;
11+
import com.hedera.hashgraph.sdk.HookExtensionPoint;
1112
import com.hedera.hashgraph.sdk.HookId;
1213
import com.hedera.hashgraph.sdk.PrivateKey;
1314
import com.hedera.hashgraph.sdk.Status;
@@ -26,7 +27,6 @@
2627
import org.hiero.base.data.Account;
2728
import org.hiero.base.data.ContractParam;
2829
import org.hiero.base.data.HookDetails;
29-
import com.hedera.hashgraph.sdk.HookExtensionPoint;
3030
import org.hiero.base.protocol.data.AccountBalanceRequest;
3131
import org.hiero.base.protocol.data.AccountBalanceResponse;
3232
import org.hiero.base.protocol.data.AccountCreateRequest;

0 commit comments

Comments
 (0)