Skip to content

Commit 9c6f2f6

Browse files
monorepo: reset ethereum-tests to develop
tx: move api test to legacy test tx: lint
1 parent be27b71 commit 9c6f2f6

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "ethereum-tests"]
22
path = packages/ethereum-tests
33
url = https://github.com/qbzzt/tests.git
4-
branch = eip2930
4+
branch = develop

packages/tx/src/legacyTransaction.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@ import {
77
bnToHex,
88
bnToRlp,
99
ecrecover,
10-
ecsign,
1110
rlp,
1211
rlphash,
1312
toBuffer,
1413
unpadBuffer,
15-
publicToAddress,
16-
MAX_INTEGER,
1714
} from 'ethereumjs-util'
1815
import { TxOptions, TxData, JsonTx } from './types'
1916
import { BaseTransaction } from './baseTransaction'

packages/tx/src/transactionFactory.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ export default class TransactionFactory {
106106
default:
107107
throw new Error(`TypedTransaction with ID ${transactionID} unknown`)
108108
}
109-
throw new Error(`TypedTransaction with ID ${transactionID} unknown`)
110109
}
111110

112111
/**
File renamed without changes.

packages/tx/test/transactionFactory.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import Common from '@ethereumjs/common'
22
import { BN } from 'ethereumjs-util'
33
import tape from 'tape'
4-
import {
5-
EIP2930Transaction,
6-
TransactionFactory,
7-
LegacyTransaction
8-
} from '../src'
4+
import { EIP2930Transaction, TransactionFactory, LegacyTransaction } from '../src'
95

106
const EIP2930Common = new Common({
117
eips: [2718, 2929, 2930],

0 commit comments

Comments
 (0)