diff --git a/spirekey/e2e/page-objects/pages/example-transfer.page.ts b/spirekey/e2e/page-objects/pages/example-transfer.page.ts index 3cf5f4fa9..b95d17169 100644 --- a/spirekey/e2e/page-objects/pages/example-transfer.page.ts +++ b/spirekey/e2e/page-objects/pages/example-transfer.page.ts @@ -15,7 +15,7 @@ export class ExampleTransferPage { } async setReceiver() { - await this.receiverInput.fill('senderx'); + await this.receiverInput.fill('sender00'); } async setAmount(amount: string) { await this.amountInput.fill(amount); diff --git a/spirekey/e2e/page-objects/pages/transfer.page.ts b/spirekey/e2e/page-objects/pages/transfer.page.ts index d22dbdc19..c64bb4e69 100644 --- a/spirekey/e2e/page-objects/pages/transfer.page.ts +++ b/spirekey/e2e/page-objects/pages/transfer.page.ts @@ -15,7 +15,7 @@ export class TransferPage { } async setReceiver() { - await this.receiverInput.fill('senderx'); + await this.receiverInput.fill('sender00'); } async setAmount(amount: string) { await this.amountInput.fill(amount); diff --git a/spirekey/pact/deploy/deploy.json b/spirekey/pact/deploy/deploy.json index 549c63ba4..12e4e8601 100644 --- a/spirekey/pact/deploy/deploy.json +++ b/spirekey/pact/deploy/deploy.json @@ -67,24 +67,9 @@ "c:kZqdOJ6B_584lKXJgB8srIVivESgjqLneAA6JYJwrf8", "100.0" ], - ["coin.GAS"] - ] - }, - { - "profile": "default", - "code": "(coin.transfer-create \"sender00\" \"senderx\" (read-keyset 'ks) 1000000.0)", - "data": { - "ks": { - "keys": [ - "368820f80c324bbc7c2b0610688a7da43e39f91d118732671cd9c7500ff43cca" - ], - "pred": "keys-all" - } - }, - "sender": "sender00", - "caps": [ - ["coin.TRANSFER", "sender00", "senderx", "1000000.0"], - ["coin.GAS"] + [ + "coin.GAS" + ] ] } ] diff --git a/spirekey/pact/deploy/hosted-init.json b/spirekey/pact/deploy/hosted-init.json index 236202fc6..bdfa91e10 100644 --- a/spirekey/pact/deploy/hosted-init.json +++ b/spirekey/pact/deploy/hosted-init.json @@ -55,10 +55,11 @@ "w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any", "100000000.0" ], - ["coin.GAS"] + [ + "coin.GAS" + ] ] }, - { "profile": "default", "codeFile": "./pact/deploy/webauthn-predeploy.pact", @@ -133,29 +134,9 @@ "u:n_eef68e581f767dd66c4d4c39ed922be944ede505.gas-station.enforce-guard-any:dorjIaX8IGJZtfgZzYRkXV0DE9mEPxPvyuwdmML5eTk", "100.0" ], - ["coin.GAS"] - ] - }, - { - "profile": "default", - "code": "(coin.transfer-create \"w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any\" \"senderx\" (read-keyset 'ks) 1000000.0)", - "data": { - "ks": { - "keys": [ - "368820f80c324bbc7c2b0610688a7da43e39f91d118732671cd9c7500ff43cca" - ], - "pred": "keys-all" - } - }, - "sender": "w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any", - "caps": [ [ - "coin.TRANSFER", - "w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any", - "senderx", - "1000000.0" - ], - ["coin.GAS"] + "coin.GAS" + ] ] } ] diff --git a/spirekey/pact/deploy/local-init.json b/spirekey/pact/deploy/local-init.json index 86ca6d515..7ebe994cd 100644 --- a/spirekey/pact/deploy/local-init.json +++ b/spirekey/pact/deploy/local-init.json @@ -55,10 +55,11 @@ "w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any", "100000000.0" ], - ["coin.GAS"] + [ + "coin.GAS" + ] ] }, - { "profile": "default", "codeFile": "./pact/deploy/webauthn-predeploy.pact", @@ -122,29 +123,9 @@ "u:n_eef68e581f767dd66c4d4c39ed922be944ede505.gas-station.enforce-guard-any:dorjIaX8IGJZtfgZzYRkXV0DE9mEPxPvyuwdmML5eTk", "100.0" ], - ["coin.GAS"] - ] - }, - { - "profile": "default", - "code": "(coin.transfer-create \"w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any\" \"senderx\" (read-keyset 'ks) 1000000.0)", - "data": { - "ks": { - "keys": [ - "368820f80c324bbc7c2b0610688a7da43e39f91d118732671cd9c7500ff43cca" - ], - "pred": "keys-all" - } - }, - "sender": "w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any", - "caps": [ [ - "coin.TRANSFER", - "w:2CwogBdPy-ebjrXkSIZ5ehdalJv8iQX0VwJMwRtys0s:keys-any", - "senderx", - "1000000.0" - ], - ["coin.GAS"] + "coin.GAS" + ] ] } ] diff --git a/spirekey/src/utils/fund.ts b/spirekey/src/utils/fund.ts index ca70223d9..a8ba873d1 100644 --- a/spirekey/src/utils/fund.ts +++ b/spirekey/src/utils/fund.ts @@ -43,7 +43,7 @@ const fundLocally = (accountName: string) => execution( ` (coin.transfer - "senderx" + "sender00" "${accountName}" 100.0 ) @@ -54,11 +54,11 @@ const fundLocally = (accountName: string) => gasLimit: 10000, gasPrice: 0.0000001, ttl: 60000, - senderAccount: 'senderx', + senderAccount: 'sender00', }), addSigner(genesisPubKey, (withCap) => [ withCap('coin.GAS'), - withCap('coin.TRANSFER', 'senderx', accountName, 100), + withCap('coin.TRANSFER', 'sender00', accountName, 100), ]), setNetworkId(getDevnetNetworkId()), );