Search in sources :

Example 36 with ResponseCodeEnum

use of com.hederahashgraph.api.proto.java.ResponseCodeEnum in project hedera-services by hashgraph.

the class FeeChargingPolicyTest method chargesFullFeesAsExpected.

@Test
void chargesFullFeesAsExpected() {
    givenPayerWillingAndAbleForAllFees();
    // when:
    ResponseCodeEnum outcome = subject.apply(fees);
    // then:
    verify(narratedCharging).setFees(fees);
    verify(narratedCharging).chargePayerAllFees();
    // and:
    assertEquals(OK, outcome);
}
Also used : ResponseCodeEnum(com.hederahashgraph.api.proto.java.ResponseCodeEnum) Test(org.junit.jupiter.api.Test)

Example 37 with ResponseCodeEnum

use of com.hederahashgraph.api.proto.java.ResponseCodeEnum in project hedera-services by hashgraph.

the class FeeChargingPolicyTest method requiresWillingToPayServiceWhenTriggeredTxn.

@Test
void requiresWillingToPayServiceWhenTriggeredTxn() {
    given(narratedCharging.isPayerWillingToCoverServiceFee()).willReturn(false);
    // when:
    ResponseCodeEnum outcome = subject.applyForTriggered(fees);
    // then:
    verify(narratedCharging).setFees(fees);
    verify(narratedCharging, never()).chargePayerServiceFee();
    // and:
    assertEquals(INSUFFICIENT_TX_FEE, outcome);
}
Also used : ResponseCodeEnum(com.hederahashgraph.api.proto.java.ResponseCodeEnum) Test(org.junit.jupiter.api.Test)

Example 38 with ResponseCodeEnum

use of com.hederahashgraph.api.proto.java.ResponseCodeEnum in project hedera-services by hashgraph.

the class FeeChargingPolicyTest method chargesNodePenaltyForPayerUnableToPayNetwork.

@Test
void chargesNodePenaltyForPayerUnableToPayNetwork() {
    given(narratedCharging.isPayerWillingToCoverNetworkFee()).willReturn(true);
    given(narratedCharging.canPayerAffordNetworkFee()).willReturn(false);
    // when:
    ResponseCodeEnum outcome = subject.apply(fees);
    // then:
    verify(narratedCharging).setFees(fees);
    verify(narratedCharging).chargeSubmittingNodeUpToNetworkFee();
    // and:
    assertEquals(INSUFFICIENT_PAYER_BALANCE, outcome);
}
Also used : ResponseCodeEnum(com.hederahashgraph.api.proto.java.ResponseCodeEnum) Test(org.junit.jupiter.api.Test)

Example 39 with ResponseCodeEnum

use of com.hederahashgraph.api.proto.java.ResponseCodeEnum in project hedera-services by hashgraph.

the class PureTransferSemanticChecks method validateTokenTransferSemantics.

ResponseCodeEnum validateTokenTransferSemantics(List<TokenTransferList> tokenTransfersList) {
    if (tokenTransfersList.isEmpty()) {
        return OK;
    }
    ResponseCodeEnum validity;
    final Set<TokenID> uniqueTokens = new HashSet<>();
    for (var tokenTransfers : tokenTransfersList) {
        validity = validateScopedTransferSemantics(uniqueTokens, tokenTransfers);
        if (validity != OK) {
            return validity;
        }
    }
    if (uniqueTokens.size() < tokenTransfersList.size()) {
        return TOKEN_ID_REPEATED_IN_TOKEN_LIST;
    }
    return OK;
}
Also used : ResponseCodeEnum(com.hederahashgraph.api.proto.java.ResponseCodeEnum) TokenID(com.hederahashgraph.api.proto.java.TokenID) HashSet(java.util.HashSet)

Example 40 with ResponseCodeEnum

use of com.hederahashgraph.api.proto.java.ResponseCodeEnum in project hedera-services by hashgraph.

the class SigRequirementsTest method reportsGeneralErrorInCryptoTransfer.

@Test
void reportsGeneralErrorInCryptoTransfer() throws Throwable {
    // given:
    setupForNonStdLookup(CRYPTO_TRANSFER_NO_RECEIVER_SIG_SCENARIO, new DelegatingSigMetadataLookup(FileAdapter.throwingUoe(), AccountAdapter.withSafe(id -> SafeLookupResult.failure(KeyOrderingFailure.MISSING_FILE)), ContractAdapter.withSafe(id -> SafeLookupResult.failure(KeyOrderingFailure.INVALID_CONTRACT)), TopicAdapter.throwingUoe(), id -> null, id -> null));
    mockSummaryFactory();
    // and:
    SigningOrderResult<ResponseCodeEnum> result = mock(SigningOrderResult.class);
    given(mockSummaryFactory.forGeneralError()).willReturn(result);
    // when:
    subject.keysForOtherParties(txn, mockSummaryFactory);
    // then:
    verify(mockSummaryFactory).forGeneralError();
}
Also used : CONTRACT_CREATE_NO_ADMIN_KEY(com.hedera.test.factories.scenarios.ContractCreateScenarios.CONTRACT_CREATE_NO_ADMIN_KEY) TREASURY_SYS_FILE_UPDATE_SCENARIO(com.hedera.test.factories.scenarios.FileUpdateScenarios.TREASURY_SYS_FILE_UPDATE_SCENARIO) UPDATE_REPLACING_TREASURY_AS_PAYER(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_REPLACING_TREASURY_AS_PAYER) CRYPTO_ADJUST_ALLOWANCE_NO_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_ADJUST_ALLOWANCE_NO_OWNER_SCENARIO) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_MISSING_RECEIVER(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_MISSING_RECEIVER) UPDATE_WITH_NO_KEYS_AFFECTED(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_WITH_NO_KEYS_AFFECTED) TOKEN_CREATE_WITH_MISSING_AUTO_RENEW(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_MISSING_AUTO_RENEW) TOKEN_UPDATE_WITH_NEW_AUTO_RENEW_ACCOUNT_AS_PAYER(com.hedera.test.factories.scenarios.TokenUpdateScenarios.TOKEN_UPDATE_WITH_NEW_AUTO_RENEW_ACCOUNT_AS_PAYER) CODE_ORDER_RESULT_FACTORY(com.hedera.services.sigs.order.CodeOrderResultFactory.CODE_ORDER_RESULT_FACTORY) SCHEDULED_TRANSACTION_NOT_IN_WHITELIST(com.hederahashgraph.api.proto.java.ResponseCodeEnum.SCHEDULED_TRANSACTION_NOT_IN_WHITELIST) CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_MEMO(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_MEMO) UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_WITH_MISSING_FEE_COLLECTOR(com.hedera.test.factories.scenarios.TokenFeeScheduleUpdateScenarios.UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_WITH_MISSING_FEE_COLLECTOR) DELETE_WITH_KNOWN_TOKEN(com.hedera.test.factories.scenarios.TokenDeleteScenarios.DELETE_WITH_KNOWN_TOKEN) MINT_WITH_SUPPLY_KEYED_TOKEN(com.hedera.test.factories.scenarios.TokenMintScenarios.MINT_WITH_SUPPLY_KEYED_TOKEN) UPDATE_WITH_MISSING_TOKEN(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_WITH_MISSING_TOKEN) UPDATE_WITH_WIPE_KEYED_TOKEN(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_WITH_WIPE_KEYED_TOKEN) CONSENSUS_CREATE_TOPIC_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_AS_PAYER_SCENARIO(com.hedera.test.factories.scenarios.ConsensusCreateTopicScenarios.CONSENSUS_CREATE_TOPIC_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_AS_PAYER_SCENARIO) TOKEN_TRANSACT_WITH_EXTANT_SENDERS(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_EXTANT_SENDERS) CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_FILE_SCENARIO(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_FILE_SCENARIO) UPDATE_TOPIC_ADMIN_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.UPDATE_TOPIC_ADMIN_KT) CONSENSUS_UPDATE_TOPIC_NEW_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_SCENARIO(com.hedera.test.factories.scenarios.ConsensusUpdateTopicScenarios.CONSENSUS_UPDATE_TOPIC_NEW_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_SCENARIO) TOKEN_CREATE_WITH_FIXED_FEE_NO_COLLECTOR_SIG_REQ(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_FIXED_FEE_NO_COLLECTOR_SIG_REQ) CRYPTO_TRANSFER_RECEIVER_SIG_USING_ALIAS_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_RECEIVER_SIG_USING_ALIAS_SCENARIO) SafeLookupResult(com.hedera.services.sigs.metadata.SafeLookupResult) PRETEND_SIGNING_TIME(com.hedera.services.sigs.metadata.DelegatingSigMetadataLookup.PRETEND_SIGNING_TIME) FIRST_TOKEN_SENDER(com.hedera.test.factories.scenarios.TxnHandlingScenario.FIRST_TOKEN_SENDER) DelegatingSigMetadataLookup.defaultLookupsFor(com.hedera.services.sigs.metadata.DelegatingSigMetadataLookup.defaultLookupsFor) CRYPTO_UPDATE_WITH_NEW_KEY_SELF_PAID_SCENARIO(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_WITH_NEW_KEY_SELF_PAID_SCENARIO) INVALID_FILE_ID(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_FILE_ID) TOKEN_SUPPLY_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_SUPPLY_KT) NO_RECEIVER_SIG(com.hedera.test.factories.scenarios.TxnHandlingScenario.NO_RECEIVER_SIG) VALID_UNFREEZE_WITH_EXTANT_TOKEN(com.hedera.test.factories.scenarios.TokenUnfreezeScenarios.VALID_UNFREEZE_WITH_EXTANT_TOKEN) SCHEDULE_SIGN_KNOWN_SCHEDULE_WITH_NOW_INVALID_PAYER(com.hedera.test.factories.scenarios.ScheduleSignScenarios.SCHEDULE_SIGN_KNOWN_SCHEDULE_WITH_NOW_INVALID_PAYER) TOKEN_ASSOCIATE_WITH_SELF_PAID_KNOWN_TARGET(com.hedera.test.factories.scenarios.TokenAssociateScenarios.TOKEN_ASSOCIATE_WITH_SELF_PAID_KNOWN_TARGET) Mockito.mock(org.mockito.Mockito.mock) CONSENSUS_UPDATE_TOPIC_SCENARIO(com.hedera.test.factories.scenarios.ConsensusUpdateTopicScenarios.CONSENSUS_UPDATE_TOPIC_SCENARIO) DEFAULT_ACCOUNT_KT(com.hedera.test.factories.txns.CryptoCreateFactory.DEFAULT_ACCOUNT_KT) Mockito.doCallRealMethod(org.mockito.Mockito.doCallRealMethod) SystemOpPolicies(com.hedera.services.txns.auth.SystemOpPolicies) CRYPTO_TRANSFER_RECEIVER_IS_MISSING_ALIAS_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_RECEIVER_IS_MISSING_ALIAS_SCENARIO) CRYPTO_UPDATE_SYS_ACCOUNT_WITH_NO_NEW_KEY_SCENARIO(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_SYS_ACCOUNT_WITH_NO_NEW_KEY_SCENARIO) CONSENSUS_CREATE_TOPIC_ADMIN_KEY_SCENARIO(com.hedera.test.factories.scenarios.ConsensusCreateTopicScenarios.CONSENSUS_CREATE_TOPIC_ADMIN_KEY_SCENARIO) MerkleTopic(com.hedera.services.state.merkle.MerkleTopic) TOKEN_CREATE_WITH_FIXED_FEE_COLLECTOR_SIG_REQ_AND_AS_PAYER(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_FIXED_FEE_COLLECTOR_SIG_REQ_AND_AS_PAYER) CRYPTO_ADJUST_NFT_ALLOWANCE_MISSING_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_ADJUST_NFT_ALLOWANCE_MISSING_OWNER_SCENARIO) UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_WITH_FEE_COLLECTOR_SIG_REQ_AND_AS_PAYER(com.hedera.test.factories.scenarios.TokenFeeScheduleUpdateScenarios.UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_WITH_FEE_COLLECTOR_SIG_REQ_AND_AS_PAYER) MatcherAssert.assertThat(org.hamcrest.MatcherAssert.assertThat) TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_FALLBACK_NO_WILDCARD_BUT_SIG_REQ(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_FALLBACK_NO_WILDCARD_BUT_SIG_REQ) TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_SIG_REQ_NO_FALLBACK(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_SIG_REQ_NO_FALLBACK) TOKEN_DISSOCIATE_WITH_MISSING_TARGET(com.hedera.test.factories.scenarios.TokenDissociateScenarios.TOKEN_DISSOCIATE_WITH_MISSING_TARGET) SCHEDULE_DELETE_WITH_MISSING_SCHEDULE_ADMIN_KEY(com.hedera.test.factories.scenarios.ScheduleDeleteScenarios.SCHEDULE_DELETE_WITH_MISSING_SCHEDULE_ADMIN_KEY) MockEntityNumbers(com.hedera.services.config.MockEntityNumbers) CRYPTO_APPROVE_ALLOWANCE_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_APPROVE_ALLOWANCE_SCENARIO) CRYPTO_UPDATE_NO_NEW_KEY_SELF_PAID_SCENARIO(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_NO_NEW_KEY_SELF_PAID_SCENARIO) FILE_APPEND_MISSING_TARGET_SCENARIO(com.hedera.test.factories.scenarios.FileAppendScenarios.FILE_APPEND_MISSING_TARGET_SCENARIO) CRYPTO_UPDATE_TREASURY_ACCOUNT_WITH_TREASURY_AND_NEW_KEY(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_TREASURY_ACCOUNT_WITH_TREASURY_AND_NEW_KEY) NEW_ACCOUNT_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.NEW_ACCOUNT_KT) CONSENSUS_SUBMIT_MESSAGE_SCENARIO(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.CONSENSUS_SUBMIT_MESSAGE_SCENARIO) NO_RECEIVER_SIG_KT(com.hedera.test.factories.scenarios.TxnHandlingScenario.NO_RECEIVER_SIG_KT) CRYPTO_TRANSFER_RECEIVER_SIG_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_RECEIVER_SIG_SCENARIO) INVALID_CUSTOM_FEE_COLLECTOR(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_CUSTOM_FEE_COLLECTOR) CONTRACT_DELETE_MISSING_CONTRACT_BENEFICIARY_SCENARIO(com.hedera.test.factories.scenarios.ContractDeleteScenarios.CONTRACT_DELETE_MISSING_CONTRACT_BENEFICIARY_SCENARIO) DelegatingSigMetadataLookup(com.hedera.services.sigs.metadata.DelegatingSigMetadataLookup) TOKEN_DISSOCIATE_WITH_KNOWN_TARGET(com.hedera.test.factories.scenarios.TokenDissociateScenarios.TOKEN_DISSOCIATE_WITH_KNOWN_TARGET) UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_NO_FEE_COLLECTOR_SIG_REQ(com.hedera.test.factories.scenarios.TokenFeeScheduleUpdateScenarios.UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_NO_FEE_COLLECTOR_SIG_REQ) TOKEN_CREATE_WITH_AUTO_RENEW(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_AUTO_RENEW) CRYPTO_UPDATE_WITH_NEW_KEY_SCENARIO(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_WITH_NEW_KEY_SCENARIO) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ) VANILLA_FILE_UPDATE_SCENARIO(com.hedera.test.factories.scenarios.FileUpdateScenarios.VANILLA_FILE_UPDATE_SCENARIO) TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_NO_SIG_REQ_NO_FALLBACK(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_NO_SIG_REQ_NO_FALLBACK) HfsSigMetaLookup(com.hedera.services.sigs.metadata.lookups.HfsSigMetaLookup) IdUtils.asTopic(com.hedera.test.utils.IdUtils.asTopic) TOKEN_CREATE_WITH_TREASURY_AS_PAYER(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_TREASURY_AS_PAYER) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_AND_MISSING_TOKEN(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_AND_MISSING_TOKEN) MISSING_FILE_DELETE_SCENARIO(com.hedera.test.factories.scenarios.FileDeleteScenarios.MISSING_FILE_DELETE_SCENARIO) TOKEN_TRANSACT_MOVING_HBARS_WITH_EXTANT_SENDER(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_MOVING_HBARS_WITH_EXTANT_SENDER) SCHEDULE_CREATE_XFER_WITH_ADMIN_AND_PAYER_AS_SELF(com.hedera.test.factories.scenarios.ScheduleCreateScenarios.SCHEDULE_CREATE_XFER_WITH_ADMIN_AND_PAYER_AS_SELF) TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_FALLBACK_WILDCARD_AND_NO_SIG_REQ(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_ROYALTY_FEE_COLLECTOR_FALLBACK_WILDCARD_AND_NO_SIG_REQ) CONSENSUS_CREATE_TOPIC_NO_ADDITIONAL_KEYS_SCENARIO(com.hedera.test.factories.scenarios.ConsensusCreateTopicScenarios.CONSENSUS_CREATE_TOPIC_NO_ADDITIONAL_KEYS_SCENARIO) CRYPTO_TRANSFER_NO_RECEIVER_SIG_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_NO_RECEIVER_SIG_SCENARIO) SCHEDULE_SIGN_KNOWN_SCHEDULE_WITH_PAYER(com.hedera.test.factories.scenarios.ScheduleSignScenarios.SCHEDULE_SIGN_KNOWN_SCHEDULE_WITH_PAYER) SCHEDULE_CREATE_XFER_NO_ADMIN(com.hedera.test.factories.scenarios.ScheduleCreateScenarios.SCHEDULE_CREATE_XFER_NO_ADMIN) CRYPTO_CREATE_RECEIVER_SIG_SCENARIO(com.hedera.test.factories.scenarios.CryptoCreateScenarios.CRYPTO_CREATE_RECEIVER_SIG_SCENARIO) CRYPTO_DELETE_TARGET_RECEIVER_SIG_SELF_PAID_SCENARIO(com.hedera.test.factories.scenarios.CryptoDeleteScenarios.CRYPTO_DELETE_TARGET_RECEIVER_SIG_SELF_PAID_SCENARIO) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_AND_FALLBACK_NOT_TRIGGERED_DUE_TO_FT(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_AND_FALLBACK_NOT_TRIGGERED_DUE_TO_FT) ByteString(com.google.protobuf.ByteString) Test(org.junit.jupiter.api.Test) FIRST_TOKEN_SENDER_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.FIRST_TOKEN_SENDER_KT) CRYPTO_ADJUST_ALLOWANCE_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_ADJUST_ALLOWANCE_SCENARIO) INVALID_ACCOUNT_ID(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_ACCOUNT_ID) CONTRACT_DELETE_XFER_ACCOUNT_SCENARIO(com.hedera.test.factories.scenarios.ContractDeleteScenarios.CONTRACT_DELETE_XFER_ACCOUNT_SCENARIO) TREASURY_SYS_FILE_APPEND_SCENARIO(com.hedera.test.factories.scenarios.FileAppendScenarios.TREASURY_SYS_FILE_APPEND_SCENARIO) JKey(com.hedera.services.legacy.core.jproto.JKey) CONSENSUS_DELETE_TOPIC_MISSING_TOPIC_SCENARIO(com.hedera.test.factories.scenarios.ConsensusDeleteTopicScenarios.CONSENSUS_DELETE_TOPIC_MISSING_TOPIC_SCENARIO) DEFAULT_WACL_KT(com.hedera.test.factories.txns.FileCreateFactory.DEFAULT_WACL_KT) SCHEDULE_CREATE_NONSENSE(com.hedera.test.factories.scenarios.ScheduleCreateScenarios.SCHEDULE_CREATE_NONSENSE) ContractSigMetaLookup(com.hedera.services.sigs.metadata.lookups.ContractSigMetaLookup) RECEIVER_SIG(com.hedera.test.factories.scenarios.TxnHandlingScenario.RECEIVER_SIG) TOKEN_PAUSE_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_PAUSE_KT) FileNumbers(com.hedera.services.config.FileNumbers) VALID_GRANT_WITH_EXTANT_TOKEN(com.hedera.test.factories.scenarios.TokenKycGrantScenarios.VALID_GRANT_WITH_EXTANT_TOKEN) UPDATE_REPLACING_TREASURY(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_REPLACING_TREASURY) CRYPTO_DELETE_TARGET_RECEIVER_SIG_SCENARIO(com.hedera.test.factories.scenarios.CryptoDeleteScenarios.CRYPTO_DELETE_TARGET_RECEIVER_SIG_SCENARIO) CONTRACT_DELETE_XFER_CONTRACT_SCENARIO(com.hedera.test.factories.scenarios.ContractDeleteScenarios.CONTRACT_DELETE_XFER_CONTRACT_SCENARIO) INVALID_ALLOWANCE_OWNER_ID(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_ALLOWANCE_OWNER_ID) Function(java.util.function.Function) CRYPTO_TRANSFER_SENDER_IS_MISSING_ALIAS_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_SENDER_IS_MISSING_ALIAS_SCENARIO) REVOKE_FOR_TOKEN_WITHOUT_KYC(com.hedera.test.factories.scenarios.TokenKycRevokeScenarios.REVOKE_FOR_TOKEN_WITHOUT_KYC) ContractSigningMetadata(com.hedera.services.sigs.metadata.ContractSigningMetadata) CRYPTO_APPROVE_ALLOWANCE_NO_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_APPROVE_ALLOWANCE_NO_OWNER_SCENARIO) TransactionBody(com.hederahashgraph.api.proto.java.TransactionBody) CONSENSUS_UPDATE_TOPIC_MISSING_TOPIC_SCENARIO(com.hedera.test.factories.scenarios.ConsensusUpdateTopicScenarios.CONSENSUS_UPDATE_TOPIC_MISSING_TOPIC_SCENARIO) CONTRACT_DELETE_MISSING_ACCOUNT_BENEFICIARY_SCENARIO(com.hedera.test.factories.scenarios.ContractDeleteScenarios.CONTRACT_DELETE_MISSING_ACCOUNT_BENEFICIARY_SCENARIO) UPDATE_WITH_FREEZE_KEYED_TOKEN(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_WITH_FREEZE_KEYED_TOKEN) TOKEN_CREATE_WITH_FIXED_FEE_NO_COLLECTOR_SIG_REQ_BUT_USING_WILDCARD_DENOM(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_FIXED_FEE_NO_COLLECTOR_SIG_REQ_BUT_USING_WILDCARD_DENOM) TxnHandlingScenario(com.hedera.test.factories.scenarios.TxnHandlingScenario) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_USING_ALIAS(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_USING_ALIAS) CRYPTO_DELETE_TARGET_RECEIVER_SIG_RECEIVER_PAID_SCENARIO(com.hedera.test.factories.scenarios.CryptoDeleteScenarios.CRYPTO_DELETE_TARGET_RECEIVER_SIG_RECEIVER_PAID_SCENARIO) TOKEN_ADMIN_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_ADMIN_KT) NO_RECEIVER_SIG_ALIAS(com.hedera.test.factories.scenarios.TxnHandlingScenario.NO_RECEIVER_SIG_ALIAS) RECEIVER_SIG_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.RECEIVER_SIG_KT) UPDATE_REPLACING_ADMIN_KEY(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_REPLACING_ADMIN_KEY) FileSigMetaLookup(com.hedera.services.sigs.metadata.lookups.FileSigMetaLookup) Key(com.hederahashgraph.api.proto.java.Key) CONSENSUS_UPDATE_TOPIC_NEW_ADMIN_KEY_SCENARIO(com.hedera.test.factories.scenarios.ConsensusUpdateTopicScenarios.CONSENSUS_UPDATE_TOPIC_NEW_ADMIN_KEY_SCENARIO) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_MISSING_SENDER(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_MISSING_SENDER) Collectors.toList(java.util.stream.Collectors.toList) CRYPTO_TRANSFER_NO_RECEIVER_SIG_USING_ALIAS_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_NO_RECEIVER_SIG_USING_ALIAS_SCENARIO) TOKEN_KYC_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_KYC_KT) UPDATE_REPLACING_WITH_MISSING_TREASURY(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_REPLACING_WITH_MISSING_TREASURY) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_BUT_ROYALTY_FEE_WITH_FALLBACK_TRIGGERED(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_BUT_ROYALTY_FEE_WITH_FALLBACK_TRIGGERED) VALID_WIPE_WITH_EXTANT_TOKEN(com.hedera.test.factories.scenarios.TokenWipeScenarios.VALID_WIPE_WITH_EXTANT_TOKEN) INVALID_PAYER_ID_SCENARIO(com.hedera.test.factories.scenarios.BadPayerScenarios.INVALID_PAYER_ID_SCENARIO) CONTRACT_CREATE_WITH_ADMIN_KEY(com.hedera.test.factories.scenarios.ContractCreateScenarios.CONTRACT_CREATE_WITH_ADMIN_KEY) SCHEDULE_SIGN_MISSING_SCHEDULE(com.hedera.test.factories.scenarios.ScheduleSignScenarios.SCHEDULE_SIGN_MISSING_SCHEDULE) TOKEN_FEE_SCHEDULE_KT(com.hedera.test.factories.scenarios.TxnHandlingScenario.TOKEN_FEE_SCHEDULE_KT) SIMPLE_TOPIC_ADMIN_KEY(com.hedera.test.factories.txns.ConsensusCreateTopicFactory.SIMPLE_TOPIC_ADMIN_KEY) CRYPTO_ADJUST_CRYPTO_ALLOWANCE_MISSING_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_ADJUST_CRYPTO_ALLOWANCE_MISSING_OWNER_SCENARIO) IMMUTABLE_FILE_DELETE_SCENARIO(com.hedera.test.factories.scenarios.FileDeleteScenarios.IMMUTABLE_FILE_DELETE_SCENARIO) CONSENSUS_UPDATE_TOPIC_EXPIRY_ONLY_SCENARIO(com.hedera.test.factories.scenarios.ConsensusUpdateTopicScenarios.CONSENSUS_UPDATE_TOPIC_EXPIRY_ONLY_SCENARIO) CRYPTO_CREATE_NO_RECEIVER_SIG_SCENARIO(com.hedera.test.factories.scenarios.CryptoCreateScenarios.CRYPTO_CREATE_NO_RECEIVER_SIG_SCENARIO) AccountSigningMetadata(com.hedera.services.sigs.metadata.AccountSigningMetadata) TOKEN_CREATE_MISSING_ADMIN(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_MISSING_ADMIN) CONSENSUS_UPDATE_TOPIC_MISSING_AUTORENEW_ACCOUNT_SCENARIO(com.hedera.test.factories.scenarios.ConsensusUpdateTopicScenarios.CONSENSUS_UPDATE_TOPIC_MISSING_AUTORENEW_ACCOUNT_SCENARIO) MerkleAccount(com.hedera.services.state.merkle.MerkleAccount) DELETE_WITH_MISSING_TOKEN(com.hedera.test.factories.scenarios.TokenDeleteScenarios.DELETE_WITH_MISSING_TOKEN) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_RECEIVER_SIG_REQ(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_RECEIVER_SIG_REQ) BDDMockito.given(org.mockito.BDDMockito.given) CONTRACT_UPDATE_WITH_NEW_ADMIN_KEY(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_WITH_NEW_ADMIN_KEY) MISC_ADMIN_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.MISC_ADMIN_KT) ACCOUNT_ID_DOES_NOT_EXIST(com.hederahashgraph.api.proto.java.ResponseCodeEnum.ACCOUNT_ID_DOES_NOT_EXIST) SYSTEM_DELETE_FILE_SCENARIO(com.hedera.test.factories.scenarios.SystemDeleteScenarios.SYSTEM_DELETE_FILE_SCENARIO) TOKEN_CREATE_WITH_MISSING_COLLECTOR(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_MISSING_COLLECTOR) INVALID_AUTORENEW_ACCOUNT(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_AUTORENEW_ACCOUNT) TOKEN_CREATE_WITH_ADMIN_AND_FREEZE(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_ADMIN_AND_FREEZE) CURRENTLY_UNUSED_ALIAS(com.hedera.test.factories.scenarios.TxnHandlingScenario.CURRENTLY_UNUSED_ALIAS) REVOKE_WITH_MISSING_TOKEN(com.hedera.test.factories.scenarios.TokenKycRevokeScenarios.REVOKE_WITH_MISSING_TOKEN) SCHEDULE_DELETE_WITH_MISSING_SCHEDULE(com.hedera.test.factories.scenarios.ScheduleDeleteScenarios.SCHEDULE_DELETE_WITH_MISSING_SCHEDULE) TOKEN_CREATE_WITH_AUTO_RENEW_AS_PAYER(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_AUTO_RENEW_AS_PAYER) TopicSigningMetadata(com.hedera.services.sigs.metadata.TopicSigningMetadata) TOKEN_WIPE_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_WIPE_KT) SYS_ACCOUNT_KT(com.hedera.test.factories.scenarios.TxnHandlingScenario.SYS_ACCOUNT_KT) SIMPLE_NEW_ADMIN_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.SIMPLE_NEW_ADMIN_KT) CRYPTO_UPDATE_SYS_ACCOUNT_WITH_PRIVILEGED_PAYER(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_SYS_ACCOUNT_WITH_PRIVILEGED_PAYER) TOKEN_CREATE_WITH_FIXED_FEE_COLLECTOR_SIG_REQ(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_FIXED_FEE_COLLECTOR_SIG_REQ) TOKEN_TRANSACT_MOVING_HBARS_WITH_RECEIVER_SIG_REQ_AND_EXTANT_SENDER(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_MOVING_HBARS_WITH_RECEIVER_SIG_REQ_AND_EXTANT_SENDER) Assertions.assertTrue(org.junit.jupiter.api.Assertions.assertTrue) VALID_PAUSE_WITH_EXTANT_TOKEN(com.hedera.test.factories.scenarios.TokenPauseScenarios.VALID_PAUSE_WITH_EXTANT_TOKEN) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_AND_FALLBACK_NOT_TRIGGERED_DUE_TO_HBAR(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_RECEIVER_SIG_REQ_AND_FALLBACK_NOT_TRIGGERED_DUE_TO_HBAR) EntityNumbers(com.hedera.services.config.EntityNumbers) EXISTING_TOPIC_ID(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.EXISTING_TOPIC_ID) TopicID(com.hederahashgraph.api.proto.java.TopicID) CONSENSUS_UPDATE_TOPIC_NEW_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_AS_PAYER_SCENARIO(com.hedera.test.factories.scenarios.ConsensusUpdateTopicScenarios.CONSENSUS_UPDATE_TOPIC_NEW_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_AS_PAYER_SCENARIO) SCHEDULE_DELETE_WITH_KNOWN_SCHEDULE(com.hedera.test.factories.scenarios.ScheduleDeleteScenarios.SCHEDULE_DELETE_WITH_KNOWN_SCHEDULE) UPDATE_WITH_SUPPLY_KEYED_TOKEN(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_WITH_SUPPLY_KEYED_TOKEN) CRYPTO_APPROVE_NFT_ALLOWANCE_MISSING_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_APPROVE_NFT_ALLOWANCE_MISSING_OWNER_SCENARIO) CRYPTO_DELETE_MISSING_RECEIVER_SIG_SCENARIO(com.hedera.test.factories.scenarios.CryptoDeleteScenarios.CRYPTO_DELETE_MISSING_RECEIVER_SIG_SCENARIO) UPDATE_TOKEN_WITH_NO_FEE_SCHEDULE_KEY(com.hedera.test.factories.scenarios.TokenFeeScheduleUpdateScenarios.UPDATE_TOKEN_WITH_NO_FEE_SCHEDULE_KEY) VALID_REVOKE_WITH_EXTANT_TOKEN(com.hedera.test.factories.scenarios.TokenKycRevokeScenarios.VALID_REVOKE_WITH_EXTANT_TOKEN) MISC_FILE_WACL_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.MISC_FILE_WACL_KT) VANILLA_FILE_DELETE_SCENARIO(com.hedera.test.factories.scenarios.FileDeleteScenarios.VANILLA_FILE_DELETE_SCENARIO) UPDATE_WITH_MISSING_TOKEN_ADMIN_KEY(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_WITH_MISSING_TOKEN_ADMIN_KEY) TokenStore(com.hedera.services.store.tokens.TokenStore) AccountSigMetaLookup(com.hedera.services.sigs.metadata.lookups.AccountSigMetaLookup) SCHEDULE_SIGN_KNOWN_SCHEDULE(com.hedera.test.factories.scenarios.ScheduleSignScenarios.SCHEDULE_SIGN_KNOWN_SCHEDULE) CRYPTO_DELETE_MISSING_TARGET(com.hedera.test.factories.scenarios.CryptoDeleteScenarios.CRYPTO_DELETE_MISSING_TARGET) SCHEDULE_CREATE_XFER_WITH_MISSING_PAYER(com.hedera.test.factories.scenarios.ScheduleCreateScenarios.SCHEDULE_CREATE_XFER_WITH_MISSING_PAYER) Assertions.assertEquals(org.junit.jupiter.api.Assertions.assertEquals) CRYPTO_TRANSFER_ALLOWANCE_SPENDER_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_ALLOWANCE_SPENDER_SCENARIO) TOKEN_ASSOCIATE_WITH_KNOWN_TARGET(com.hedera.test.factories.scenarios.TokenAssociateScenarios.TOKEN_ASSOCIATE_WITH_KNOWN_TARGET) AccountID(com.hederahashgraph.api.proto.java.AccountID) CONSENSUS_SUBMIT_MESSAGE_MISSING_TOPIC_SCENARIO(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.CONSENSUS_SUBMIT_MESSAGE_MISSING_TOPIC_SCENARIO) CONTRACT_DELETE_IMMUTABLE_SCENARIO(com.hedera.test.factories.scenarios.ContractDeleteScenarios.CONTRACT_DELETE_IMMUTABLE_SCENARIO) SCHEDULE_CREATE_INVALID_XFER(com.hedera.test.factories.scenarios.ScheduleCreateScenarios.SCHEDULE_CREATE_INVALID_XFER) ResponseCodeEnum(com.hederahashgraph.api.proto.java.ResponseCodeEnum) CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_DEPRECATED_CID_ADMIN_KEY_SCENARIO(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_DEPRECATED_CID_ADMIN_KEY_SCENARIO) CRYPTO_APPROVE_CRYPTO_ALLOWANCE_MISSING_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_APPROVE_CRYPTO_ALLOWANCE_MISSING_OWNER_SCENARIO) IMMUTABLE_FILE_UPDATE_SCENARIO(com.hedera.test.factories.scenarios.FileUpdateScenarios.IMMUTABLE_FILE_UPDATE_SCENARIO) TOKEN_CREATE_WITH_FRACTIONAL_FEE_COLLECTOR_NO_SIG_REQ(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_FRACTIONAL_FEE_COLLECTOR_NO_SIG_REQ) CONSENSUS_DELETE_TOPIC_SCENARIO(com.hedera.test.factories.scenarios.ConsensusDeleteTopicScenarios.CONSENSUS_DELETE_TOPIC_SCENARIO) SYSTEM_UNDELETE_FILE_SCENARIO(com.hedera.test.factories.scenarios.SystemUndeleteScenarios.SYSTEM_UNDELETE_FILE_SCENARIO) INVALID_SCHEDULE_ID(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_SCHEDULE_ID) TOKEN_TRANSACT_WITH_RECEIVER_SIG_REQ_AND_EXTANT_SENDERS(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_RECEIVER_SIG_REQ_AND_EXTANT_SENDERS) CRYPTO_TRANSFER_MISSING_ACCOUNT_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.CRYPTO_TRANSFER_MISSING_ACCOUNT_SCENARIO) IMMUTABLE_FILE_APPEND_SCENARIO(com.hedera.test.factories.scenarios.FileAppendScenarios.IMMUTABLE_FILE_APPEND_SCENARIO) SYSTEM_FILE_APPEND_WITH_PRIVILEGD_PAYER(com.hedera.test.factories.scenarios.FileAppendScenarios.SYSTEM_FILE_APPEND_WITH_PRIVILEGD_PAYER) UPDATE_WITH_KYC_KEYED_TOKEN(com.hedera.test.factories.scenarios.TokenUpdateScenarios.UPDATE_WITH_KYC_KEYED_TOKEN) UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_WITH_FEE_COLLECTOR_SIG_REQ(com.hedera.test.factories.scenarios.TokenFeeScheduleUpdateScenarios.UPDATE_TOKEN_WITH_FEE_SCHEDULE_KEY_WITH_FEE_COLLECTOR_SIG_REQ) CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_AUTORENEW_SCENARIO(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_AUTORENEW_SCENARIO) TOKEN_CREATE_WITH_MISSING_TREASURY(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_MISSING_TREASURY) TOKEN_FREEZE_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_FREEZE_KT) CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_ADMIN_KEY_SCENARIO(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_ADMIN_KEY_SCENARIO) SigMetadataLookup(com.hedera.services.sigs.metadata.SigMetadataLookup) AliasManager(com.hedera.services.ledger.accounts.AliasManager) TOKEN_UPDATE_WITH_NEW_AUTO_RENEW_ACCOUNT(com.hedera.test.factories.scenarios.TokenUpdateScenarios.TOKEN_UPDATE_WITH_NEW_AUTO_RENEW_ACCOUNT) VANILLA_FILE_CREATE_SCENARIO(com.hedera.test.factories.scenarios.FileCreateScenarios.VANILLA_FILE_CREATE_SCENARIO) IsIterableContainingInOrder.contains(org.hamcrest.collection.IsIterableContainingInOrder.contains) TopicSigMetaLookup(com.hedera.services.sigs.metadata.lookups.TopicSigMetaLookup) TOKEN_ASSOCIATE_WITH_MISSING_TARGET(com.hedera.test.factories.scenarios.TokenAssociateScenarios.TOKEN_ASSOCIATE_WITH_MISSING_TARGET) MerkleMap(com.swirlds.merkle.map.MerkleMap) ContractID(com.hederahashgraph.api.proto.java.ContractID) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE) EntityNum(com.hedera.services.utils.EntityNum) MISC_ACCOUNT_ID(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.MISC_ACCOUNT_ID) BURN_WITH_SUPPLY_KEYED_TOKEN(com.hedera.test.factories.scenarios.TokenBurnScenarios.BURN_WITH_SUPPLY_KEYED_TOKEN) Assertions.assertFalse(org.junit.jupiter.api.Assertions.assertFalse) SECOND_TOKEN_SENDER_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.SECOND_TOKEN_SENDER_KT) CONSENSUS_CREATE_TOPIC_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_SCENARIO(com.hedera.test.factories.scenarios.ConsensusCreateTopicScenarios.CONSENSUS_CREATE_TOPIC_ADMIN_KEY_AND_AUTORENEW_ACCOUNT_SCENARIO) CRYPTO_ADJUST_TOKEN_ALLOWANCE_MISSING_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_ADJUST_TOKEN_ALLOWANCE_MISSING_OWNER_SCENARIO) FILE_UPDATE_MISSING_SCENARIO(com.hedera.test.factories.scenarios.FileUpdateScenarios.FILE_UPDATE_MISSING_SCENARIO) RECEIVER_SIG_ALIAS(com.hedera.test.factories.scenarios.TxnHandlingScenario.RECEIVER_SIG_ALIAS) IdUtils.asAccount(com.hedera.test.utils.IdUtils.asAccount) MASTER_SYS_FILE_APPEND_SCENARIO(com.hedera.test.factories.scenarios.FileAppendScenarios.MASTER_SYS_FILE_APPEND_SCENARIO) TOKEN_TREASURY_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_TREASURY_KT) CRYPTO_UPDATE_NO_NEW_KEY_SCENARIO(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_NO_NEW_KEY_SCENARIO) DILIGENT_SIGNING_PAYER_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.DILIGENT_SIGNING_PAYER_KT) CRYPTO_DELETE_NO_TARGET_RECEIVER_SIG_SELF_PAID_SCENARIO(com.hedera.test.factories.scenarios.CryptoDeleteScenarios.CRYPTO_DELETE_NO_TARGET_RECEIVER_SIG_SELF_PAID_SCENARIO) TOKEN_TRANSACT_WITH_MISSING_SENDERS(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_MISSING_SENDERS) TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_SIG_REQ_WITH_FALLBACK_TRIGGERED_BUT_SENDER_IS_TREASURY(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRANSACT_WITH_OWNERSHIP_CHANGE_NO_SIG_REQ_WITH_FALLBACK_TRIGGERED_BUT_SENDER_IS_TREASURY) DEFAULT_ADMIN_KT(com.hedera.test.factories.txns.ContractCreateFactory.DEFAULT_ADMIN_KT) List(java.util.List) SCHEDULE_CREATE_XFER_WITH_ADMIN_AND_PAYER(com.hedera.test.factories.scenarios.ScheduleCreateScenarios.SCHEDULE_CREATE_XFER_WITH_ADMIN_AND_PAYER) CONTRACT_CREATE_DEPRECATED_CID_ADMIN_KEY(com.hedera.test.factories.scenarios.ContractCreateScenarios.CONTRACT_CREATE_DEPRECATED_CID_ADMIN_KEY) Optional(java.util.Optional) CONTRACT_UPDATE_EXPIRATION_ONLY_SCENARIO(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_EXPIRATION_ONLY_SCENARIO) NFT_TRNASFER_ALLOWANCE_SPENDER_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.NFT_TRNASFER_ALLOWANCE_SPENDER_SCENARIO) TOKEN_CREATE_WITH_ADMIN_ONLY(com.hedera.test.factories.scenarios.TokenCreateScenarios.TOKEN_CREATE_WITH_ADMIN_ONLY) VALID_UNPAUSE_WITH_EXTANT_TOKEN(com.hedera.test.factories.scenarios.TokenUnpauseScenarios.VALID_UNPAUSE_WITH_EXTANT_TOKEN) CRYPTO_UPDATE_TREASURY_ACCOUNT_WITH_TREASURY_AND_NO_NEW_KEY(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_TREASURY_ACCOUNT_WITH_TREASURY_AND_NO_NEW_KEY) VANILLA_FILE_APPEND_SCENARIO(com.hedera.test.factories.scenarios.FileAppendScenarios.VANILLA_FILE_APPEND_SCENARIO) TREASURY_SYS_FILE_UPDATE_SCENARIO_NO_NEW_KEY(com.hedera.test.factories.scenarios.FileUpdateScenarios.TREASURY_SYS_FILE_UPDATE_SCENARIO_NO_NEW_KEY) MISC_TOPIC_ADMIN_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.MISC_TOPIC_ADMIN_KT) SCHEDULE_CREATE_XFER_WITH_ADMIN(com.hedera.test.factories.scenarios.ScheduleCreateScenarios.SCHEDULE_CREATE_XFER_WITH_ADMIN) TOKEN_TRNASFER_ALLOWANCE_SPENDER_SCENARIO(com.hedera.test.factories.scenarios.CryptoTransferScenarios.TOKEN_TRNASFER_ALLOWANCE_SPENDER_SCENARIO) SCHEDULE_ADMIN_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.SCHEDULE_ADMIN_KT) CONSENSUS_CREATE_TOPIC_MISSING_AUTORENEW_ACCOUNT_SCENARIO(com.hedera.test.factories.scenarios.ConsensusCreateTopicScenarios.CONSENSUS_CREATE_TOPIC_MISSING_AUTORENEW_ACCOUNT_SCENARIO) MISC_ACCOUNT_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.MISC_ACCOUNT_KT) INVALID_SIGNATURE(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_SIGNATURE) MASTER_SYS_FILE_UPDATE_SCENARIO(com.hedera.test.factories.scenarios.FileUpdateScenarios.MASTER_SYS_FILE_UPDATE_SCENARIO) DEFAULT_PAYER_KT(com.hedera.test.factories.txns.SignedTxnFactory.DEFAULT_PAYER_KT) TOKEN_DISSOCIATE_WITH_SELF_PAID_KNOWN_TARGET(com.hedera.test.factories.scenarios.TokenDissociateScenarios.TOKEN_DISSOCIATE_WITH_SELF_PAID_KNOWN_TARGET) ScheduleStore(com.hedera.services.store.schedule.ScheduleStore) TOKEN_REPLACE_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.TOKEN_REPLACE_KT) CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_PROXY_SCENARIO(com.hedera.test.factories.scenarios.ContractUpdateScenarios.CONTRACT_UPDATE_EXPIRATION_PLUS_NEW_PROXY_SCENARIO) UPDATE_TOKEN_FEE_SCHEDULE_BUT_TOKEN_DOESNT_EXIST(com.hedera.test.factories.scenarios.TokenFeeScheduleUpdateScenarios.UPDATE_TOKEN_FEE_SCHEDULE_BUT_TOKEN_DOESNT_EXIST) MISC_TOPIC_SUBMIT_KT(com.hedera.test.factories.scenarios.ConsensusSubmitMessageScenarios.MISC_TOPIC_SUBMIT_KT) MODIFYING_IMMUTABLE_CONTRACT(com.hederahashgraph.api.proto.java.ResponseCodeEnum.MODIFYING_IMMUTABLE_CONTRACT) CRYPTO_UPDATE_SYS_ACCOUNT_WITH_NEW_KEY_SCENARIO(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_SYS_ACCOUNT_WITH_NEW_KEY_SCENARIO) OWNER_ACCOUNT_KT(com.hedera.test.factories.scenarios.TxnHandlingScenario.OWNER_ACCOUNT_KT) DELETE_WITH_MISSING_TOKEN_ADMIN_KEY(com.hedera.test.factories.scenarios.TokenDeleteScenarios.DELETE_WITH_MISSING_TOKEN_ADMIN_KEY) HederaFs(com.hedera.services.files.HederaFs) TOKEN_UPDATE_WITH_MISSING_AUTO_RENEW_ACCOUNT(com.hedera.test.factories.scenarios.TokenUpdateScenarios.TOKEN_UPDATE_WITH_MISSING_AUTO_RENEW_ACCOUNT) Mockito.verify(org.mockito.Mockito.verify) VALID_FREEZE_WITH_EXTANT_TOKEN(com.hedera.test.factories.scenarios.TokenFreezeScenarios.VALID_FREEZE_WITH_EXTANT_TOKEN) INVALID_CONTRACT_ID(com.hederahashgraph.api.proto.java.ResponseCodeEnum.INVALID_CONTRACT_ID) CRYPTO_DELETE_NO_TARGET_RECEIVER_SIG_SCENARIO(com.hedera.test.factories.scenarios.CryptoDeleteScenarios.CRYPTO_DELETE_NO_TARGET_RECEIVER_SIG_SCENARIO) CRYPTO_APPROVE_TOKEN_ALLOWANCE_MISSING_OWNER_SCENARIO(com.hedera.test.factories.scenarios.CryptoAllowanceScenarios.CRYPTO_APPROVE_TOKEN_ALLOWANCE_MISSING_OWNER_SCENARIO) MockFileNumbers(com.hedera.services.config.MockFileNumbers) CRYPTO_UPDATE_MISSING_ACCOUNT_SCENARIO(com.hedera.test.factories.scenarios.CryptoUpdateScenarios.CRYPTO_UPDATE_MISSING_ACCOUNT_SCENARIO) ResponseCodeEnum(com.hederahashgraph.api.proto.java.ResponseCodeEnum) DelegatingSigMetadataLookup(com.hedera.services.sigs.metadata.DelegatingSigMetadataLookup) Test(org.junit.jupiter.api.Test)

Aggregations

ResponseCodeEnum (com.hederahashgraph.api.proto.java.ResponseCodeEnum)52 Test (org.junit.jupiter.api.Test)38 Query (com.hederahashgraph.api.proto.java.Query)24 CryptoGetAccountBalanceQuery (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceQuery)8 AccountID (com.hederahashgraph.api.proto.java.AccountID)6 Response (com.hederahashgraph.api.proto.java.Response)6 CryptoGetAccountBalanceResponse (com.hederahashgraph.api.proto.java.CryptoGetAccountBalanceResponse)4 TransactionBody (com.hederahashgraph.api.proto.java.TransactionBody)4 SignedTxnAccessor (com.hedera.services.utils.SignedTxnAccessor)3 ConsensusGetTopicInfoQuery (com.hederahashgraph.api.proto.java.ConsensusGetTopicInfoQuery)3 ContractID (com.hederahashgraph.api.proto.java.ContractID)3 TokenGetNftInfoQuery (com.hederahashgraph.api.proto.java.TokenGetNftInfoQuery)3 AliasManager (com.hedera.services.ledger.accounts.AliasManager)2 HfsSigMetaLookup (com.hedera.services.sigs.metadata.lookups.HfsSigMetaLookup)2 EntityNum (com.hedera.services.utils.EntityNum)2 TopicID (com.hederahashgraph.api.proto.java.TopicID)2 TransactionID (com.hederahashgraph.api.proto.java.TransactionID)2 Instant (java.time.Instant)2 ByteString (com.google.protobuf.ByteString)1 EntityNumbers (com.hedera.services.config.EntityNumbers)1