Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
test: enable evm validation to catch errors early
Browse files Browse the repository at this point in the history
  • Loading branch information
lalexgap committed Feb 19, 2021
1 parent 6cd44cf commit cf8057d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/e2e-testing/__tests__/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const gatewayServer = createPaymentServer(serverArgs);
const indexerServer = createReceiptServer(serverArgs);

const baseConfig = defaultTestConfig({
// EVM Validation helps catch some errors early
skipEvmValidation: false,
networkConfiguration: {
chainNetworkID: process.env.CHAIN_ID
? parseInt(process.env.CHAIN_ID)
Expand Down
2 changes: 2 additions & 0 deletions packages/e2e-testing/src/payment-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ const createTasks = (logger: Logger) => ({
ensureAllocationsConcurrency: 10,

walletConfig: defaultTestConfig({
// EVM Validation helps catch some errors early
skipEvmValidation: false,
workerThreadAmount: Number(amountOfWorkerThreads),
databaseConfiguration: {connection: {database: pgDatabase}},
chainServiceConfiguration: {
Expand Down
4 changes: 3 additions & 1 deletion packages/e2e-testing/src/receipt-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const commands = {
loggingConfiguration: {
logDestination: args.logFile,
logLevel: 'debug'
}
},
// EVM Validation helps catch some errors early
skipEvmValidation: false
} as const;

const receiptManager = await ReceiptManager.create(
Expand Down

0 comments on commit cf8057d

Please sign in to comment.