Skip to content

Commit

Permalink
monorepo: reset ethereum-tests to develop
Browse files Browse the repository at this point in the history
tx: move api test to legacy test

tx: lint
  • Loading branch information
jochem-brouwer committed Mar 2, 2021
1 parent be27b71 commit 9c6f2f6
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "ethereum-tests"]
path = packages/ethereum-tests
url = https://github.com/qbzzt/tests.git
branch = eip2930
branch = develop
3 changes: 0 additions & 3 deletions packages/tx/src/legacyTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ import {
bnToHex,
bnToRlp,
ecrecover,
ecsign,
rlp,
rlphash,
toBuffer,
unpadBuffer,
publicToAddress,
MAX_INTEGER,
} from 'ethereumjs-util'
import { TxOptions, TxData, JsonTx } from './types'
import { BaseTransaction } from './baseTransaction'
Expand Down
1 change: 0 additions & 1 deletion packages/tx/src/transactionFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export default class TransactionFactory {
default:
throw new Error(`TypedTransaction with ID ${transactionID} unknown`)
}
throw new Error(`TypedTransaction with ID ${transactionID} unknown`)
}

/**
Expand Down
File renamed without changes.
6 changes: 1 addition & 5 deletions packages/tx/test/transactionFactory.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import Common from '@ethereumjs/common'
import { BN } from 'ethereumjs-util'
import tape from 'tape'
import {
EIP2930Transaction,
TransactionFactory,
LegacyTransaction
} from '../src'
import { EIP2930Transaction, TransactionFactory, LegacyTransaction } from '../src'

const EIP2930Common = new Common({
eips: [2718, 2929, 2930],
Expand Down

0 comments on commit 9c6f2f6

Please sign in to comment.