Skip to content

Commit

Permalink
fixes linting
Browse files Browse the repository at this point in the history
  • Loading branch information
netbonus committed Jul 9, 2024
1 parent a68793d commit af6b35e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/__test__/e2e/signing/determinism.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,42 +157,42 @@ describe('[Determinism]', () => {
});

describe('Test uniformity of Ethereum transaction sigs', () => {
it("Should validate uniformity sigs on m/44'/60'/0'/0/0", async () => {
it('Should validate uniformity sigs on m/44\'/60\'/0\'/0/0', async () => {
const tx = buildTx();
const txReq = buildTxReq(tx);
txReq.data.signerPath[2] = HARDENED_OFFSET;
await testUniformSigs(txReq, tx, client);
});

it("Should validate uniformity sigs on m/44'/60'/1'/0/0", async () => {
it('Should validate uniformity sigs on m/44\'/60\'/1\'/0/0', async () => {
const tx = buildTx();
const txReq = buildTxReq(tx);
txReq.data.signerPath[2] = HARDENED_OFFSET + 1;
await testUniformSigs(txReq, tx, client);
});

it("Should validate uniformity sigs on m/44'/60'/8'/0/0", async () => {
it('Should validate uniformity sigs on m/44\'/60\'/8\'/0/0', async () => {
const tx = buildTx();
const txReq = buildTxReq(tx);
txReq.data.signerPath[2] = HARDENED_OFFSET + 8;
await testUniformSigs(txReq, tx, client);
});

it("Should validate uniformity sigs on m/44'/60'/0'/0/0", async () => {
it('Should validate uniformity sigs on m/44\'/60\'/0\'/0/0', async () => {
const tx = buildTx(`0x${randomBytes(4000).toString('hex')}`);
const txReq = buildTxReq(tx);
txReq.data.signerPath[2] = HARDENED_OFFSET;
await testUniformSigs(txReq, tx, client);
});

it("Should validate uniformity sigs on m/44'/60'/1'/0/0", async () => {
it('Should validate uniformity sigs on m/44\'/60\'/1\'/0/0', async () => {
const tx = buildTx(`0x${randomBytes(4000).toString('hex')}`);
const txReq = buildTxReq(tx);
txReq.data.signerPath[2] = HARDENED_OFFSET + 1;
await testUniformSigs(txReq, tx, client);
});

it("Should validate uniformity sigs on m/44'/60'/8'/0/0", async () => {
it('Should validate uniformity sigs on m/44\'/60\'/8\'/0/0', async () => {
const tx = buildTx(`0x${randomBytes(4000).toString('hex')}`);
const txReq = buildTxReq(tx);
txReq.data.signerPath[2] = HARDENED_OFFSET + 8;
Expand Down
2 changes: 1 addition & 1 deletion src/__test__/e2e/wallet-jobs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { mnemonicToSeedSync } from 'bip39';
import { privateToAddress, privateToPublic } from 'ethereumjs-util';
import { question } from 'readline-sync';
import { ecdsaRecover } from 'secp256k1';
import { Constants, getClient, pair } from '../..';
import { Constants } from '../..';
import { HARDENED_OFFSET } from '../../constants';
import { parseDER, randomBytes } from '../../util';
import { DEFAULT_SIGNER } from '../utils/builders';
Expand Down

0 comments on commit af6b35e

Please sign in to comment.