Skip to content

Commit

Permalink
Improves variable check
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
  • Loading branch information
konstantinabl committed Jun 4, 2024
1 parent 79c1d99 commit a01d828
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/relay/tests/lib/precheck.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ describe('Precheck', async function () {
const defaultGasPrice = 720_000_000_000;
const defaultGasLimit = 1_000_000;
const defaultChainId = Number('0x12a');
const defaultGasLimit = 3_000_000;
const defaultTx = {
gasLimit: defaultGasLimit,
gasPrice: defaultGasPrice,
Expand Down Expand Up @@ -447,9 +446,11 @@ describe('Precheck', async function () {
});

describe('account', async function () {
let parsedTx: Transaction, mirrorAccount: any, defaultNonce: number;
let parsedTx: Transaction;
let mirrorAccount: any;
const defaultNonce: number = 3;

before(async () => {
defaultNonce = 3;
const wallet = ethers.Wallet.createRandom();
const signed = await wallet.signTransaction({ ...defaultTx, from: wallet.address, nonce: defaultNonce });
parsedTx = ethers.Transaction.from(signed);
Expand Down

0 comments on commit a01d828

Please sign in to comment.