Socket
Socket
Sign inDemoInstall

@ethereumjs/tx

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethereumjs/tx - npm Package Compare versions

Comparing version 4.0.0-beta.2 to 4.0.0-beta.3

2

dist/baseTransaction.d.ts
/// <reference types="node" />
import { Chain, Common, Hardfork } from '@ethereumjs/common';
import { Address, BigIntLike } from '@ethereumjs/util';
import { TxData, JsonTx, AccessListEIP2930ValuesArray, AccessListEIP2930TxData, FeeMarketEIP1559ValuesArray, FeeMarketEIP1559TxData, TxValuesArray, Capability, TxOptions } from './types';
import { AccessListEIP2930TxData, AccessListEIP2930ValuesArray, Capability, FeeMarketEIP1559TxData, FeeMarketEIP1559ValuesArray, JsonTx, TxData, TxOptions, TxValuesArray } from './types';
interface TransactionCache {

@@ -6,0 +6,0 @@ hash: Buffer | undefined;

@@ -6,3 +6,2 @@ "use strict";

const util_1 = require("@ethereumjs/util");
const util_2 = require("@ethereumjs/util");
const types_1 = require("./types");

@@ -43,18 +42,18 @@ /**

*/
this.DEFAULT_HARDFORK = common_1.Hardfork.London;
this.DEFAULT_HARDFORK = common_1.Hardfork.Merge;
const { nonce, gasLimit, to, value, data, v, r, s, type } = txData;
this._type = Number((0, util_2.bufferToBigInt)((0, util_2.toBuffer)(type)));
this._type = Number((0, util_1.bufferToBigInt)((0, util_1.toBuffer)(type)));
this.txOptions = opts;
const toB = (0, util_2.toBuffer)(to === '' ? '0x' : to);
const vB = (0, util_2.toBuffer)(v === '' ? '0x' : v);
const rB = (0, util_2.toBuffer)(r === '' ? '0x' : r);
const sB = (0, util_2.toBuffer)(s === '' ? '0x' : s);
this.nonce = (0, util_2.bufferToBigInt)((0, util_2.toBuffer)(nonce === '' ? '0x' : nonce));
this.gasLimit = (0, util_2.bufferToBigInt)((0, util_2.toBuffer)(gasLimit === '' ? '0x' : gasLimit));
this.to = toB.length > 0 ? new util_2.Address(toB) : undefined;
this.value = (0, util_2.bufferToBigInt)((0, util_2.toBuffer)(value === '' ? '0x' : value));
this.data = (0, util_2.toBuffer)(data === '' ? '0x' : data);
this.v = vB.length > 0 ? (0, util_2.bufferToBigInt)(vB) : undefined;
this.r = rB.length > 0 ? (0, util_2.bufferToBigInt)(rB) : undefined;
this.s = sB.length > 0 ? (0, util_2.bufferToBigInt)(sB) : undefined;
const toB = (0, util_1.toBuffer)(to === '' ? '0x' : to);
const vB = (0, util_1.toBuffer)(v === '' ? '0x' : v);
const rB = (0, util_1.toBuffer)(r === '' ? '0x' : r);
const sB = (0, util_1.toBuffer)(s === '' ? '0x' : s);
this.nonce = (0, util_1.bufferToBigInt)((0, util_1.toBuffer)(nonce === '' ? '0x' : nonce));
this.gasLimit = (0, util_1.bufferToBigInt)((0, util_1.toBuffer)(gasLimit === '' ? '0x' : gasLimit));
this.to = toB.length > 0 ? new util_1.Address(toB) : undefined;
this.value = (0, util_1.bufferToBigInt)((0, util_1.toBuffer)(value === '' ? '0x' : value));
this.data = (0, util_1.toBuffer)(data === '' ? '0x' : data);
this.v = vB.length > 0 ? (0, util_1.bufferToBigInt)(vB) : undefined;
this.r = rB.length > 0 ? (0, util_1.bufferToBigInt)(rB) : undefined;
this.s = sB.length > 0 ? (0, util_1.bufferToBigInt)(sB) : undefined;
this._validateCannotExceedMaxInteger({ value: this.value, r: this.r, s: this.s });

@@ -116,3 +115,3 @@ // geth limits gasLimit to 2^64-1

const { s } = this;
if (this.common.gteHardfork('homestead') && s !== undefined && s > util_2.SECP256K1_ORDER_DIV_2) {
if (this.common.gteHardfork('homestead') && s !== undefined && s > util_1.SECP256K1_ORDER_DIV_2) {
const msg = this._errorMsg('Invalid Signature: s-values greater than secp256k1n/2 are considered invalid');

@@ -176,3 +175,3 @@ throw new Error(msg);

const publicKey = this.getSenderPublicKey();
return (0, util_2.unpadBuffer)(publicKey).length !== 0;
return (0, util_1.unpadBuffer)(publicKey).length !== 0;
}

@@ -187,3 +186,3 @@ catch (e) {

getSenderAddress() {
return new util_2.Address((0, util_2.publicToAddress)(this.getSenderPublicKey()));
return new util_1.Address((0, util_1.publicToAddress)(this.getSenderPublicKey()));
}

@@ -216,3 +215,3 @@ /**

const msgHash = this.getMessageToSign(true);
const { v, r, s } = (0, util_2.ecsign)(msgHash, privateKey);
const { v, r, s } = (0, util_1.ecsign)(msgHash, privateKey);
const tx = this._processSignature(v, r, s);

@@ -239,3 +238,3 @@ // Hack part 2

if ((0, util_1.isTruthy)(chainId)) {
const chainIdBigInt = (0, util_2.bufferToBigInt)((0, util_2.toBuffer)(chainId));
const chainIdBigInt = (0, util_1.bufferToBigInt)((0, util_1.toBuffer)(chainId));
if (common) {

@@ -284,3 +283,3 @@ if (common.chainId() !== chainIdBigInt) {

if (cannotEqual) {
if (value !== undefined && value >= util_2.MAX_UINT64) {
if (value !== undefined && value >= util_1.MAX_UINT64) {
const msg = this._errorMsg(`${key} cannot equal or exceed MAX_UINT64 (2^64-1), given ${value}`);

@@ -291,3 +290,3 @@ throw new Error(msg);

else {
if (value !== undefined && value > util_2.MAX_UINT64) {
if (value !== undefined && value > util_1.MAX_UINT64) {
const msg = this._errorMsg(`${key} cannot exceed MAX_UINT64 (2^64-1), given ${value}`);

@@ -300,3 +299,3 @@ throw new Error(msg);

if (cannotEqual) {
if (value !== undefined && value >= util_2.MAX_INTEGER) {
if (value !== undefined && value >= util_1.MAX_INTEGER) {
const msg = this._errorMsg(`${key} cannot equal or exceed MAX_INTEGER (2^256-1), given ${value}`);

@@ -307,3 +306,3 @@ throw new Error(msg);

else {
if (value !== undefined && value > util_2.MAX_INTEGER) {
if (value !== undefined && value > util_1.MAX_INTEGER) {
const msg = this._errorMsg(`${key} cannot exceed MAX_INTEGER (2^256-1), given ${value}`);

@@ -328,3 +327,3 @@ throw new Error(msg);

try {
hash = this.isSigned() ? (0, util_2.bufferToHex)(this.hash()) : 'not available (unsigned)';
hash = this.isSigned() ? (0, util_1.bufferToHex)(this.hash()) : 'not available (unsigned)';
}

@@ -331,0 +330,0 @@ catch (e) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FeeMarketEIP1559Transaction = void 0;
const rlp_1 = require("@ethereumjs/rlp");
const util_1 = require("@ethereumjs/util");
const keccak_1 = require("ethereum-cryptography/keccak");
const util_1 = require("@ethereumjs/util");
const rlp_1 = require("rlp");
const baseTransaction_1 = require("./baseTransaction");

@@ -8,0 +8,0 @@ const util_2 = require("./util");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessListEIP2930Transaction = void 0;
const rlp_1 = require("@ethereumjs/rlp");
const util_1 = require("@ethereumjs/util");
const keccak_1 = require("ethereum-cryptography/keccak");
const util_1 = require("@ethereumjs/util");
const rlp_1 = require("rlp");
const baseTransaction_1 = require("./baseTransaction");

@@ -8,0 +8,0 @@ const util_2 = require("./util");

@@ -0,6 +1,6 @@

export { FeeMarketEIP1559Transaction } from './eip1559Transaction';
export { AccessListEIP2930Transaction } from './eip2930Transaction';
export { Transaction } from './legacyTransaction';
export { AccessListEIP2930Transaction } from './eip2930Transaction';
export { TransactionFactory } from './transactionFactory';
export { FeeMarketEIP1559Transaction } from './eip1559Transaction';
export * from './types';
//# sourceMappingURL=index.d.ts.map

@@ -17,12 +17,12 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.FeeMarketEIP1559Transaction = exports.TransactionFactory = exports.AccessListEIP2930Transaction = exports.Transaction = void 0;
exports.TransactionFactory = exports.Transaction = exports.AccessListEIP2930Transaction = exports.FeeMarketEIP1559Transaction = void 0;
var eip1559Transaction_1 = require("./eip1559Transaction");
Object.defineProperty(exports, "FeeMarketEIP1559Transaction", { enumerable: true, get: function () { return eip1559Transaction_1.FeeMarketEIP1559Transaction; } });
var eip2930Transaction_1 = require("./eip2930Transaction");
Object.defineProperty(exports, "AccessListEIP2930Transaction", { enumerable: true, get: function () { return eip2930Transaction_1.AccessListEIP2930Transaction; } });
var legacyTransaction_1 = require("./legacyTransaction");
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return legacyTransaction_1.Transaction; } });
var eip2930Transaction_1 = require("./eip2930Transaction");
Object.defineProperty(exports, "AccessListEIP2930Transaction", { enumerable: true, get: function () { return eip2930Transaction_1.AccessListEIP2930Transaction; } });
var transactionFactory_1 = require("./transactionFactory");
Object.defineProperty(exports, "TransactionFactory", { enumerable: true, get: function () { return transactionFactory_1.TransactionFactory; } });
var eip1559Transaction_1 = require("./eip1559Transaction");
Object.defineProperty(exports, "FeeMarketEIP1559Transaction", { enumerable: true, get: function () { return eip1559Transaction_1.FeeMarketEIP1559Transaction; } });
__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map
/// <reference types="node" />
import { TxOptions, TxData, JsonTx, TxValuesArray } from './types';
import { Common } from '@ethereumjs/common';
import { BaseTransaction } from './baseTransaction';
import { Common } from '@ethereumjs/common';
import { JsonTx, TxData, TxOptions, TxValuesArray } from './types';
/**

@@ -74,3 +74,3 @@ * An Ethereum non-typed (legacy) transaction

* import { bufArrToArr } from '@ethereumjs/util'
* import { RLP } from 'rlp'
* import { RLP } from '@ethereumjs/rlp'
* const message = tx.getMessageToSign(false)

@@ -77,0 +77,0 @@ * const serializedMessage = Buffer.from(RLP.encode(bufArrToArr(message))) // use this for the HW wallet input

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Transaction = void 0;
const rlp_1 = require("@ethereumjs/rlp");
const util_1 = require("@ethereumjs/util");
const keccak_1 = require("ethereum-cryptography/keccak");
const util_1 = require("@ethereumjs/util");
const rlp_1 = require("rlp");
const baseTransaction_1 = require("./baseTransaction");
const types_1 = require("./types");
const baseTransaction_1 = require("./baseTransaction");
const util_2 = require("./util");

@@ -10,0 +10,0 @@ const TRANSACTION_TYPE = 0;

/// <reference types="node" />
import { TxOptions, TypedTransaction, TxData, AccessListEIP2930TxData, FeeMarketEIP1559TxData } from './types';
import { AccessListEIP2930TxData, FeeMarketEIP1559TxData, TxData, TxOptions, TypedTransaction } from './types';
export declare class TransactionFactory {

@@ -4,0 +4,0 @@ private constructor();

@@ -5,3 +5,5 @@ "use strict";

const util_1 = require("@ethereumjs/util");
const _1 = require(".");
const eip1559Transaction_1 = require("./eip1559Transaction");
const eip2930Transaction_1 = require("./eip2930Transaction");
const legacyTransaction_1 = require("./legacyTransaction");
class TransactionFactory {

@@ -19,3 +21,3 @@ // It is not possible to instantiate a TransactionFactory object.

// Assume legacy transaction
return _1.Transaction.fromTxData(txData, txOptions);
return legacyTransaction_1.Transaction.fromTxData(txData, txOptions);
}

@@ -25,9 +27,9 @@ else {

if (txType === 0) {
return _1.Transaction.fromTxData(txData, txOptions);
return legacyTransaction_1.Transaction.fromTxData(txData, txOptions);
}
else if (txType === 1) {
return _1.AccessListEIP2930Transaction.fromTxData(txData, txOptions);
return eip2930Transaction_1.AccessListEIP2930Transaction.fromTxData(txData, txOptions);
}
else if (txType === 2) {
return _1.FeeMarketEIP1559Transaction.fromTxData(txData, txOptions);
return eip1559Transaction_1.FeeMarketEIP1559Transaction.fromTxData(txData, txOptions);
}

@@ -60,11 +62,11 @@ else {

if (EIP === 1559) {
return _1.FeeMarketEIP1559Transaction.fromSerializedTx(data, txOptions);
return eip1559Transaction_1.FeeMarketEIP1559Transaction.fromSerializedTx(data, txOptions);
}
else {
// EIP === 2930
return _1.AccessListEIP2930Transaction.fromSerializedTx(data, txOptions);
return eip2930Transaction_1.AccessListEIP2930Transaction.fromSerializedTx(data, txOptions);
}
}
else {
return _1.Transaction.fromSerializedTx(data, txOptions);
return legacyTransaction_1.Transaction.fromSerializedTx(data, txOptions);
}

@@ -87,3 +89,3 @@ }

// It is a legacy transaction
return _1.Transaction.fromValuesArray(data, txOptions);
return legacyTransaction_1.Transaction.fromValuesArray(data, txOptions);
}

@@ -90,0 +92,0 @@ else {

/// <reference types="node" />
import { Common } from '@ethereumjs/common';
import { AddressLike, BigIntLike, BufferLike, PrefixedHexString } from '@ethereumjs/util';
import { Common } from '@ethereumjs/common';
import { FeeMarketEIP1559Transaction } from './eip1559Transaction';
import { AccessListEIP2930Transaction } from './eip2930Transaction';
import { Transaction } from './legacyTransaction';
import { AccessListEIP2930Transaction } from './eip2930Transaction';
import { FeeMarketEIP1559Transaction } from './eip1559Transaction';
/**

@@ -8,0 +8,0 @@ * Can be used in conjunction with {@link Transaction.supports}

{
"name": "@ethereumjs/tx",
"version": "4.0.0-beta.2",
"version": "4.0.0-beta.3",
"description": "A simple module for creating, manipulating and signing Ethereum transactions",
"license": "MPL-2.0",
"author": "mjbecze <mb@ethdev.com>",
"keywords": [

@@ -11,2 +9,25 @@ "ethereum",

],
"homepage": "https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/tx#readme",
"bugs": {
"url": "https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+tx%22"
},
"repository": {
"type": "git",
"url": "https://github.com/ethereumjs/ethereumjs-monorepo.git"
},
"license": "MPL-2.0",
"author": "mjbecze <mb@ethdev.com>",
"contributors": [
{
"name": "Alex Beregszaszi",
"email": "alex@rtfs.hu",
"url": "https://github.com/axic",
"additions": 27562,
"contributions": 22,
"deletions": 42613,
"hireable": true
}
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [

@@ -16,24 +37,23 @@ "dist",

],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "../../config/cli/ts-build.sh",
"prepublishOnly": "../../config/cli/prepublish.sh",
"clean": "../../config/cli/clean-package.sh",
"coverage": "../../config/cli/coverage.sh",
"docs:build": "typedoc --options typedoc.js",
"tsc": "../../config/cli/ts-compile.sh",
"examples": "ts-node ../../scripts/examples-runner.ts -- tx",
"lint": "../../config/cli/lint.sh",
"lint:diff": "../../config/cli/lint-diff.sh",
"lint:fix": "../../config/cli/lint-fix.sh",
"prepublishOnly": "../../config/cli/prepublish.sh",
"tape": "tape -r ts-node/register",
"test": "npm run test:node && npm run test:browser",
"test:browser": "karma start karma.conf.js",
"test:node": "tape -r ts-node/register ./test/index.ts",
"test:browser": "karma start karma.conf.js",
"examples": "ts-node ../../scripts/examples-runner.ts -- tx"
"tsc": "../../config/cli/ts-compile.sh"
},
"dependencies": {
"@ethereumjs/common": "3.0.0-beta.2",
"@ethereumjs/util": "8.0.0-beta.2",
"ethereum-cryptography": "^1.1.2",
"rlp": "4.0.0-beta.2"
"@ethereumjs/common": "3.0.0-beta.3",
"@ethereumjs/rlp": "4.0.0-beta.3",
"@ethereumjs/util": "8.0.0-beta.3",
"ethereum-cryptography": "^1.1.2"
},

@@ -44,3 +64,3 @@ "devDependencies": {

"@types/tape": "^4.13.2",
"eslint": "^6.8.0",
"eslint": "^8.0.0",
"karma": "^6.3.2",

@@ -54,27 +74,6 @@ "karma-chrome-launcher": "^3.1.0",

"nyc": "^15.1.0",
"prettier": "^2.0.5",
"tape": "^5.3.1",
"typedoc": "^0.22.4",
"ts-node": "^10.2.1",
"typescript": "^4.4.2"
},
"contributors": [
{
"name": "Alex Beregszaszi",
"email": "alex@rtfs.hu",
"url": "https://github.com/axic",
"contributions": 22,
"additions": 27562,
"deletions": 42613,
"hireable": true
}
],
"repository": {
"type": "git",
"url": "https://github.com/ethereumjs/ethereumjs-monorepo.git"
},
"homepage": "https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/tx#readme",
"bugs": {
"url": "https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+tx%22"
}
}

@@ -38,3 +38,3 @@ # @ethereumjs/tx

Base default HF (determined by `Common`): `london`
Base default HF (determined by `Common`): `merge`

@@ -271,3 +271,3 @@ Starting with `v3.2.1` the tx library now deviates from the default HF for typed tx using the following rule: "The default HF is the default HF from `Common` if the tx type is active on that HF. Otherwise it is set to the first greater HF where the tx is active."

import { bufArrToArr } from '@ethereumjs/util'
import { RLP } from 'rlp'
import { RLP } from '@ethereumjs/rlp'
import Eth from '@ledgerhq/hw-app-eth'

@@ -274,0 +274,0 @@

import { Chain, Common, Hardfork } from '@ethereumjs/common'
import { isTruthy } from '@ethereumjs/util'
import {
Address,
BigIntLike,
toBuffer,
bufferToBigInt,
bufferToHex,
ecsign,
isTruthy,
MAX_INTEGER,
MAX_UINT64,
unpadBuffer,
ecsign,
publicToAddress,
bufferToHex,
bufferToBigInt,
SECP256K1_ORDER_DIV_2,
toBuffer,
unpadBuffer,
} from '@ethereumjs/util'
import {
TxData,
JsonTx,
AccessListEIP2930TxData,
AccessListEIP2930ValuesArray,
AccessListEIP2930TxData,
Capability,
FeeMarketEIP1559TxData,
FeeMarketEIP1559ValuesArray,
FeeMarketEIP1559TxData,
JsonTx,
TxData,
TxOptions,
TxValuesArray,
Capability,
TxOptions,
} from './types'

@@ -88,3 +89,3 @@

*/
protected DEFAULT_HARDFORK: string | Hardfork = Hardfork.London
protected DEFAULT_HARDFORK: string | Hardfork = Hardfork.Merge

@@ -91,0 +92,0 @@ constructor(txData: TxData | AccessListEIP2930TxData | FeeMarketEIP1559TxData, opts: TxOptions) {

@@ -1,2 +0,3 @@

import { keccak256 } from 'ethereum-cryptography/keccak'
import { Common } from '@ethereumjs/common'
import { RLP } from '@ethereumjs/rlp'
import {

@@ -13,4 +14,4 @@ arrToBufArr,

} from '@ethereumjs/util'
import { RLP } from 'rlp'
import { Common } from '@ethereumjs/common'
import { keccak256 } from 'ethereum-cryptography/keccak'
import { BaseTransaction } from './baseTransaction'

@@ -17,0 +18,0 @@ import {

@@ -1,2 +0,3 @@

import { keccak256 } from 'ethereum-cryptography/keccak'
import { Common } from '@ethereumjs/common'
import { RLP } from '@ethereumjs/rlp'
import {

@@ -13,4 +14,4 @@ arrToBufArr,

} from '@ethereumjs/util'
import { RLP } from 'rlp'
import { Common } from '@ethereumjs/common'
import { keccak256 } from 'ethereum-cryptography/keccak'
import { BaseTransaction } from './baseTransaction'

@@ -25,3 +26,2 @@ import {

} from './types'
import { AccessLists, checkMaxInitCodeSize } from './util'

@@ -28,0 +28,0 @@

@@ -0,5 +1,5 @@

export { FeeMarketEIP1559Transaction } from './eip1559Transaction'
export { AccessListEIP2930Transaction } from './eip2930Transaction'
export { Transaction } from './legacyTransaction'
export { AccessListEIP2930Transaction } from './eip2930Transaction'
export { TransactionFactory } from './transactionFactory'
export { FeeMarketEIP1559Transaction } from './eip1559Transaction'
export * from './types'

@@ -1,8 +0,9 @@

import { keccak256 } from 'ethereum-cryptography/keccak'
import { Common } from '@ethereumjs/common'
import { RLP } from '@ethereumjs/rlp'
import {
arrToBufArr,
bigIntToHex,
bigIntToUnpaddedBuffer,
bufArrToArr,
bufferToBigInt,
arrToBufArr,
bufArrToArr,
ecrecover,

@@ -14,6 +15,6 @@ MAX_INTEGER,

} from '@ethereumjs/util'
import { RLP } from 'rlp'
import { TxOptions, TxData, JsonTx, TxValuesArray, Capability } from './types'
import { keccak256 } from 'ethereum-cryptography/keccak'
import { BaseTransaction } from './baseTransaction'
import { Common } from '@ethereumjs/common'
import { Capability, JsonTx, TxData, TxOptions, TxValuesArray } from './types'
import { checkMaxInitCodeSize } from './util'

@@ -212,3 +213,3 @@

* import { bufArrToArr } from '@ethereumjs/util'
* import { RLP } from 'rlp'
* import { RLP } from '@ethereumjs/rlp'
* const message = tx.getMessageToSign(false)

@@ -215,0 +216,0 @@ * const serializedMessage = Buffer.from(RLP.encode(bufArrToArr(message))) // use this for the HW wallet input

import { bufferToBigInt, toBuffer } from '@ethereumjs/util'
import { FeeMarketEIP1559Transaction } from './eip1559Transaction'
import { AccessListEIP2930Transaction } from './eip2930Transaction'
import { Transaction } from './legacyTransaction'
import {
AccessListEIP2930TxData,
FeeMarketEIP1559TxData,
TxData,
TxOptions,
TypedTransaction,
TxData,
AccessListEIP2930TxData,
FeeMarketEIP1559TxData,
} from './types'
import { Transaction, AccessListEIP2930Transaction, FeeMarketEIP1559Transaction } from '.'

@@ -11,0 +14,0 @@ export class TransactionFactory {

@@ -0,6 +1,7 @@

import { Common } from '@ethereumjs/common'
import { AddressLike, BigIntLike, BufferLike, PrefixedHexString } from '@ethereumjs/util'
import { Common } from '@ethereumjs/common'
import { FeeMarketEIP1559Transaction } from './eip1559Transaction'
import { AccessListEIP2930Transaction } from './eip2930Transaction'
import { Transaction } from './legacyTransaction'
import { AccessListEIP2930Transaction } from './eip2930Transaction'
import { FeeMarketEIP1559Transaction } from './eip1559Transaction'

@@ -7,0 +8,0 @@ /**

import { Common } from '@ethereumjs/common'
import { bufferToHex, setLengthLeft, toBuffer } from '@ethereumjs/util'
import { AccessList, AccessListBuffer, AccessListItem, isAccessList } from './types'

@@ -4,0 +5,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc