Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies 20240905 #3038

Merged
merged 5 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/taquito-test-dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lerna": "^8.1.7",
"prettier-plugin-svelte": "^3.2.6",
"sass": "^1.77.8",
"svelte": "^4.2.18",
"svelte": "^4.2.19",
"svelte-check": "^3.8.5",
"svelte-preprocess": "^6.0.2",
"tslib": "^2.6.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ import { OpKind, TezosToolkit } from "@taquito/taquito";
import { InMemorySigner } from "@taquito/signer";
import { verifySignature } from "@taquito/utils";

CONFIGS().forEach(({ lib, setup, rpc }) => {
describe(`Test failing_noop through contract api using: ${rpc}`, () => {
let Tezos = lib;
CONFIGS().forEach(({ setup, rpc }) => {
let signerAlice = new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq')

describe(`Test failing_noop through wallet api using: ${rpc}`, () => {
let Tezos: TezosToolkit;
beforeAll(async () => {
setup(true);
if (rpc.includes('parisnet')) {
Tezos.setRpcProvider('https://rpc.tzkt.io/parisnet'); // public archive node to fetch genesis block
} else if (rpc.includes('ghostnet')) {
Tezos.setRpcProvider('https://rpc.tzkt.io/ghostnet'); // public archive node to fetch genesis block
setup(true)
if (rpc.includes('paris')) {
Tezos = new TezosToolkit('https://rpc.tzkt.io/parisnet'); // public archive node to fetch genesis block
Tezos.setSignerProvider(signerAlice); // alice's secret key
} else if (rpc.includes('ghost')) {
Tezos = new TezosToolkit('https://rpc.tzkt.io/ghostnet'); // public archive node to fetch genesis block
Tezos.setSignerProvider(signerAlice); // alice's secret key
}
});

Expand Down Expand Up @@ -40,7 +43,7 @@ CONFIGS().forEach(({ lib, setup, rpc }) => {

beforeAll(async () => {
Mainnet = new TezosToolkit('https://rpc.tzkt.io/mainnet'); // public archive node to fetch genesis block
Mainnet.setSignerProvider(new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq')); // alice's secret key
Mainnet.setSignerProvider(signerAlice); // alice's secret key
});

it('Verify that the contract.failingNoop result is as expected when the block and secret key are kept constant', async () => {
Expand Down
19 changes: 11 additions & 8 deletions integration-tests/__tests__/wallet/failing-noop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ import { OpKind, TezosToolkit } from "@taquito/taquito";
import { InMemorySigner } from "@taquito/signer";
import { verifySignature } from "@taquito/utils";

CONFIGS().forEach(({ lib, setup, rpc }) => {
describe(`Test failing_noop through wallet api using: ${rpc}`, () => {
let Tezos = lib;
CONFIGS().forEach(({ setup, rpc }) => {
let signerAlice = new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq')

describe(`Test failing_noop through wallet api using: ${rpc}`, () => {
let Tezos: TezosToolkit;
beforeAll(async () => {
setup(true)
if (rpc.includes('parisnet')) {
Tezos.setRpcProvider('https://rpc.tzkt.io/parisnet'); // public archive node to fetch genesis block
} else if (rpc.includes('ghostnet')) {
Tezos.setRpcProvider('https://rpc.tzkt.io/ghostnet'); // public archive node to fetch genesis block
if (rpc.includes('paris')) {
Tezos = new TezosToolkit('https://rpc.tzkt.io/parisnet'); // public archive node to fetch genesis block
Tezos.setSignerProvider(signerAlice); // alice's secret key
} else if (rpc.includes('ghost')) {
Tezos = new TezosToolkit('https://rpc.tzkt.io/ghostnet'); // public archive node to fetch genesis block
Tezos.setSignerProvider(signerAlice); // alice's secret key
}
});

Expand Down Expand Up @@ -40,7 +43,7 @@ CONFIGS().forEach(({ lib, setup, rpc }) => {

beforeAll(async () => {
Mainnet = new TezosToolkit('https://rpc.tzkt.io/mainnet'); // public archive node to fetch genesis block
Mainnet.setSignerProvider(new InMemorySigner('edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq')); // alice's secret key
Mainnet.setSignerProvider(signerAlice); // alice's secret key
});

it('Verify that the wallet.failingNoop result is as expected when the block and secret key are kept constant', async () => {
Expand Down
Loading
Loading