Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oXtxNt9U committed Jan 21, 2025
1 parent de91c3a commit de0ad70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/test-framework/source/factories/factories/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import secrets from "../../internal/passphrases.json";
import { Signer } from "../../internal/signer.js";
import { FactoryBuilder } from "../factory-builder.js";
import { generateApp } from "./generate-app.js";
import { GAS_PRICE } from "./transaction.js";

export const registerBlockFactory = async (
factory: FactoryBuilder,
Expand Down Expand Up @@ -40,7 +41,7 @@ export const registerBlockFactory = async (
transactions.push(
await signer.makeTransfer({
amount: ((options.amount || 2) + index).toString(),
gasPrice: options.fee || 1,
gasPrice: options.fee || GAS_PRICE,
passphrase: secrets[0],
recipientId: genesisAddresses[Math.floor(Math.random() * genesisAddresses.length)],
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { EvmCallOptions, TransactionOptions, TransferOptions } from "../types.js
import { generateApp } from "./generate-app.js";

const AMOUNT = 1;
const GAS_PRICE = 1;
export const GAS_PRICE = 5;

interface EntityOptions<T extends TransactionBuilder<T>> {
entity: TransactionBuilder<T>;
Expand Down

0 comments on commit de0ad70

Please sign in to comment.