Skip to content

Commit

Permalink
Merge pull request #76 from gleb498/fix-ci-tests
Browse files Browse the repository at this point in the history
Fix ci 02-contraact test
  • Loading branch information
reveloper authored Nov 28, 2024
2 parents 9504cba + 4dbdb49 commit d4d01c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion 02-contract/test/deploy.step8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export async function run() {
}

// open wallet v4 (notice the correct wallet version here)
const mnemonic = process.env.MNEMONIC;
// const mnemonic = process.env.MNEMONIC; // could be used mnemonic from .env file instead
const mnemonic =
'table jungle security cargo adjust barrel dance net permit pig soap simple rabbit upgrade unique update firm between deer minor ship thought ride physical';
const key = await mnemonicToWalletKey(mnemonic!.split(" "));
const wallet = WalletContractV4.create({ publicKey: key.publicKey, workchain: 0 });
if (!await client.isContractDeployed(wallet.address)) {
Expand Down
4 changes: 3 additions & 1 deletion 02-contract/test/sendIncrement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ export async function run() {
const client = new TonClient({ endpoint: "https://testnet.toncenter.com/api/v2/jsonRPC", apiKey: "f20ff0043ded8c132d0b4b870e678b4bbab3940788cbb8c8762491935cf3a460" });

// open wallet v4 (notice the correct wallet version here)
const mnemonic = process.env.MNEMONIC;
// const mnemonic = process.env.MNEMONIC; // could be used mnemonic from .env file instead
const mnemonic =
'table jungle security cargo adjust barrel dance net permit pig soap simple rabbit upgrade unique update firm between deer minor ship thought ride physical';
const key = await mnemonicToWalletKey(mnemonic!.split(" "));
const wallet = WalletContractV4.create({ publicKey: key.publicKey, workchain: 0 });
if (!await client.isContractDeployed(wallet.address)) {
Expand Down

0 comments on commit d4d01c9

Please sign in to comment.