Skip to content

Commit

Permalink
Merge pull request ethereumjs#188 from ryanio/fixTests
Browse files Browse the repository at this point in the history
fix test runner
  • Loading branch information
holgerd77 authored Dec 16, 2019
2 parents 2df0cf3 + 0b0606e commit ba4ef9a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/transactionRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ tape('TransactionTests', t => {
'TransactionTests',
(_filename: string, testName: string, testData: OfficialTransactionTestData) => {
t.test(testName, st => {
const rawTx = toBuffer(testData.rlp)

let tx
forkNames.forEach(forkName => {
const forkTestData = testData[forkName]
const shouldBeInvalid = Object.keys(forkTestData).length === 0
try {
tx = new Tx(rawTx, {
const rawTx = toBuffer(testData.rlp)
const tx = new Tx(rawTx, {
hardfork: forkNameMap[forkName],
chain: 1,
})
Expand Down

0 comments on commit ba4ef9a

Please sign in to comment.