Search in sources :

Example 1 with JDelegatableContractIDKey

use of com.hedera.services.legacy.core.jproto.JDelegatableContractIDKey in project hedera-services by hashgraph.

the class PlatformSigOpsTest method setup.

@BeforeEach
void setup() throws Throwable {
    pubKeys.clear();
    sigBytes = mock(PubKeyToSigBytes.class);
    sigFactory = mock(TxnScopedPlatformSigFactory.class);
    for (final var kt : kts) {
        pubKeys.add(kt.asJKey());
    }
    pubKeys.add(new JContractIDKey(0, 0, 1234));
    pubKeys.add(new JDelegatableContractIDKey(0, 0, 12345));
}
Also used : TxnScopedPlatformSigFactory(com.hedera.services.sigs.factories.TxnScopedPlatformSigFactory) JDelegatableContractIDKey(com.hedera.services.legacy.core.jproto.JDelegatableContractIDKey) JContractIDKey(com.hedera.services.legacy.core.jproto.JContractIDKey) PubKeyToSigBytes(com.hedera.services.sigs.sourcing.PubKeyToSigBytes) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

JContractIDKey (com.hedera.services.legacy.core.jproto.JContractIDKey)1 JDelegatableContractIDKey (com.hedera.services.legacy.core.jproto.JDelegatableContractIDKey)1 TxnScopedPlatformSigFactory (com.hedera.services.sigs.factories.TxnScopedPlatformSigFactory)1 PubKeyToSigBytes (com.hedera.services.sigs.sourcing.PubKeyToSigBytes)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1