Skip to content

Commit 5c69333

Browse files
committed
remove: mint nft
1 parent 163646f commit 5c69333

File tree

4 files changed

+2
-18
lines changed

4 files changed

+2
-18
lines changed

local-tests/tests/testEthAuthSigToEncryptDecryptString.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ export const testEthAuthSigToEncryptDecryptString = async (
1616
) => {
1717
const alice = await devEnv.createRandomPerson();
1818

19-
if (CENTRALISATION_BY_NETWORK[devEnv.network] === 'decentralised') {
20-
// The capacity credits NFT owner automatically uses the capacity credits
21-
// to pay for the encryption
22-
await alice.mintCapacityCreditsNFT();
23-
}
24-
2519
const accs = AccessControlConditions.getEmvBasicAccessControlConditions({
2620
userAddress: alice.authSig.address,
2721
});

local-tests/tests/testExecuteJsBroadcastAndCollect.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { TinnyEnvironment } from 'local-tests/setup/tinny-environment';
55

66
/**
77
* Test Commands:
8-
* ✅ NETWORK=datil-dev yarn test:local --filter=testUseValidLitActionCodeGeneratedSessionSigsToEncryptDecryptString
9-
* ✅ NETWORK=custom yarn test:local --filter=testUseValidLitActionCodeGeneratedSessionSigsToEncryptDecryptString
8+
* ✅ NETWORK=datil-dev yarn test:local --filter=testExecuteJsBroadcastAndCollect
9+
* ✅ NETWORK=custom yarn test:local --filter=testExecuteJsBroadcastAndCollect
1010
*
1111
*/
1212
export const testExecuteJsBroadcastAndCollect = async (

local-tests/tests/testKeccakEip1271AuthSigToEncryptDecryptString.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ export const testKeccakEip1271AuthSigToEncryptDecryptString = async (
2828
];
2929

3030
const alice = await devEnv.createRandomPerson();
31-
if (CENTRALISATION_BY_NETWORK[devEnv.network] === 'decentralised') {
32-
// The capacity credits NFT owner automatically uses the capacity credits
33-
// to pay for the encryption
34-
await alice.mintCapacityCreditsNFT();
35-
}
3631

3732
let accs = AccessControlConditions.getEmvBasicAccessControlConditions({
3833
userAddress: contractAddress,

local-tests/tests/testShaEip1271AuthSigToEncryptDecryptString.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ export const testShaEip1271AuthSigToEncryptDecryptString = async (
2828
];
2929

3030
const alice = await devEnv.createRandomPerson();
31-
if (CENTRALISATION_BY_NETWORK[devEnv.network] === 'decentralised') {
32-
// The capacity credits NFT owner automatically uses the capacity credits
33-
// to pay for the encryption
34-
await alice.mintCapacityCreditsNFT();
35-
}
3631

3732
let accs = AccessControlConditions.getEmvBasicAccessControlConditions({
3833
userAddress: contractAddress,

0 commit comments

Comments
 (0)