Send transaction data directly in rpc-eth-client instead of serialization (#457)

* Fix tx serialization using ethers v6

* Send tx data directly in rpc-eth-client instead of serializing it
This commit is contained in:
Nabarun Gogoi 2023-11-08 17:32:26 +05:30 committed by GitHub
parent f2c5f67777
commit 5aa98326cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 61 additions and 433 deletions

View File

@ -5,7 +5,7 @@
import assert from 'assert';
import { Cache } from '@cerc-io/cache';
import { EthClient as EthClientInterface } from '@cerc-io/util';
import { EthClient as EthClientInterface, FullTransaction } from '@cerc-io/util';
import ethQueries from './eth-queries';
import { padKey } from './utils';
@ -105,9 +105,9 @@ export class EthClient implements EthClientInterface {
return result;
}
async getFullTransaction (txHash: string, blockNumber?: number): Promise<any> {
async getFullTransaction (txHash: string, blockNumber?: number): Promise<FullTransaction> {
console.time(`time:eth-client#getFullTransaction-${JSON.stringify({ txHash, blockNumber })}`);
const result = this._graphqlClient.query(
const result = await this._graphqlClient.query(
ethQueries.getFullTransaction,
{
txHash,

View File

@ -6,7 +6,7 @@ import assert from 'assert';
import { errors, providers, utils } from 'ethers';
import { Cache } from '@cerc-io/cache';
import { encodeHeader, escapeHexString, getRawTransaction, EthClient as EthClientInterface } from '@cerc-io/util';
import { encodeHeader, escapeHexString, EthClient as EthClientInterface, FullTransaction } from '@cerc-io/util';
import { padKey } from '@cerc-io/ipld-eth-client';
export interface Config {
@ -194,7 +194,7 @@ export class EthClient implements EthClientInterface {
return { allEthHeaderCids };
}
async getFullTransaction (txHash: string): Promise<any> {
async getFullTransaction (txHash: string): Promise<FullTransaction> {
console.time(`time:eth-client#getFullTransaction-${JSON.stringify({ txHash })}`);
const tx = await this._provider.getTransaction(txHash);
console.timeEnd(`time:eth-client#getFullTransaction-${JSON.stringify({ txHash })}`);
@ -205,11 +205,9 @@ export class EthClient implements EthClientInterface {
txHash: tx.hash,
index: txReceipt.transactionIndex,
src: tx.from,
dst: tx.to,
blockByMhKey: {
data: escapeHexString(getRawTransaction(tx))
}
}
dst: tx.to
},
data: tx
};
}

View File

@ -1,8 +1,5 @@
import debug from 'debug';
import { UnsignedTransaction, utils } from 'ethers';
import { TransactionResponse } from '@ethersproject/providers';
import { SignatureLike } from '@ethersproject/bytes';
import { utils } from 'ethers';
const log = debug('vulcanize:eth');
@ -105,27 +102,3 @@ export function escapeHexString (hex: string): string {
const value = hex.slice(2);
return `\\x${value}`;
}
// https://docs.ethers.org/v5/cookbook/transactions/#cookbook--compute-raw-transaction
export function getRawTransaction (tx: TransactionResponse): string {
function addKey (
accum: {[key: string]: any},
key: string
) {
const txKey = key as keyof TransactionResponse;
if (txKey in tx) { accum[key] = tx[txKey]; }
return accum;
}
// Extract the relevant parts of the transaction and signature
const txFields = 'accessList chainId data gasLimit maxFeePerGas maxPriorityFeePerGas nonce to type value'.split(' ');
const sigFields = 'v r s'.split(' ');
// Seriailze the signed transaction
const raw = utils.serializeTransaction(txFields.reduce(addKey, {}) as UnsignedTransaction, sigFields.reduce(addKey, {}) as SignatureLike);
// Double check things went well
if (utils.keccak256(raw) !== tx.hash) { throw new Error('serializing failed!'); }
return raw;
}

View File

@ -175,6 +175,7 @@ export class JobRunner {
await this.jobQueue.deleteJobs(QUEUE_HISTORICAL_PROCESSING);
// Wait for events queue to be empty
log(`Waiting for events queue to be empty before restarting watcher to block ${startBlock - 1}`);
await this.jobQueue.waitForEmptyQueue(QUEUE_EVENT_PROCESSING);
// Remove all watcher blocks and events data if startBlock is less than this._historicalProcessingCompletedUpto

View File

@ -224,15 +224,19 @@ export const getFullBlock = async (ethClient: EthClient, ethProvider: providers.
};
export const getFullTransaction = async (ethClient: EthClient, txHash: string, blockNumber: number): Promise<any> => {
const {
ethTransactionCidByTxHash: fullTx
let {
ethTransactionCidByTxHash: fullTx,
data: txData
} = await ethClient.getFullTransaction(txHash, blockNumber);
assert(fullTx.blockByMhKey);
// Check if txData does not exist when using ipld-eth-client
if (!txData) {
assert(fullTx.blockByMhKey);
// Decode the transaction data.
const txData = utils.parseTransaction(EthDecoder.decodeData(fullTx.blockByMhKey.data));
assert(txData);
// Decode the transaction data.
// TODO: Get required tx data directly from ipld-eth-server
txData = utils.parseTransaction(EthDecoder.decodeData(fullTx.blockByMhKey.data));
}
return {
hash: txHash,

View File

@ -3,6 +3,7 @@
//
import { Connection, DeepPartial, EntityTarget, FindConditions, FindManyOptions, ObjectLiteral, QueryRunner } from 'typeorm';
import { Transaction } from 'ethers';
import { MappingKey, StorageLayout } from '@cerc-io/solidity-mapper';
@ -203,6 +204,19 @@ export interface GraphWatcherInterface {
setIndexer (indexer: IndexerInterface): void;
}
export interface FullTransaction {
ethTransactionCidByTxHash: {
txHash: string;
index: number;
src: string;
dst?: string;
blockByMhKey?: {
data: string;
}
},
data?: Transaction;
}
export interface EthClient {
getStorageAt({ blockHash, contract, slot }: {
blockHash: string;
@ -226,7 +240,7 @@ export interface EthClient {
blockNumber?: number;
blockHash?: string;
}): Promise<any>;
getFullTransaction(txHash: string, blockNumber?: number): Promise<any>;
getFullTransaction(txHash: string, blockNumber?: number): Promise<FullTransaction>;
getBlockByHash(blockHash?: string): Promise<any>;
getLogs(vars: {
blockHash: string,

414
yarn.lock
View File

@ -606,22 +606,7 @@
"@ethersproject/properties" ">=5.0.0-beta.131"
"@ethersproject/strings" ">=5.0.0-beta.130"
"@ethersproject/abi@5.6.4", "@ethersproject/abi@^5.5.0":
version "5.6.4"
resolved "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.6.4.tgz"
integrity sha512-TTeZUlCeIHG6527/2goZA6gW5F8Emoc7MrZDC7hhP84aRGvW3TEdTnZR08Ls88YXM1m2SuK42Osw/jSi3uO8gg==
dependencies:
"@ethersproject/address" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/constants" "^5.6.1"
"@ethersproject/hash" "^5.6.1"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.3.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0":
"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.3.0", "@ethersproject/abi@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz"
integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==
@ -636,20 +621,22 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"
"@ethersproject/abstract-provider@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.6.1.tgz"
integrity sha512-BxlIgogYJtp1FS8Muvj8YfdClk3unZH0vRMVX791Z9INBNT/kuACZ9GzaY1Y4yFq+YSy6/w4gzj3HCRKrK9hsQ==
"@ethersproject/abi@^5.5.0":
version "5.6.4"
resolved "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.6.4.tgz"
integrity sha512-TTeZUlCeIHG6527/2goZA6gW5F8Emoc7MrZDC7hhP84aRGvW3TEdTnZR08Ls88YXM1m2SuK42Osw/jSi3uO8gg==
dependencies:
"@ethersproject/address" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/constants" "^5.6.1"
"@ethersproject/hash" "^5.6.1"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/networks" "^5.6.3"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/transactions" "^5.6.2"
"@ethersproject/web" "^5.6.1"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.3.0", "@ethersproject/abstract-provider@^5.6.1", "@ethersproject/abstract-provider@^5.7.0":
"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.3.0", "@ethersproject/abstract-provider@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz"
integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw==
@ -662,18 +649,7 @@
"@ethersproject/transactions" "^5.7.0"
"@ethersproject/web" "^5.7.0"
"@ethersproject/abstract-signer@5.6.2":
version "5.6.2"
resolved "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.6.2.tgz"
integrity sha512-n1r6lttFBG0t2vNiI3HoWaS/KdOt8xyDjzlP2cuevlWLG6EX0OwcKLyG/Kp/cuwNxdy/ous+R/DEMdTUwWQIjQ==
dependencies:
"@ethersproject/abstract-provider" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.6.2", "@ethersproject/abstract-signer@^5.7.0":
"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz"
integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ==
@ -695,17 +671,6 @@
"@ethersproject/logger" "^5.3.0"
"@ethersproject/properties" "^5.3.0"
"@ethersproject/address@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.6.1.tgz"
integrity sha512-uOgF0kS5MJv9ZvCz7x6T2EXJSzotiybApn4XlOgoTX0xdtyVIJ7pF+6cGPxiEq/dpBiTfMiw7Yc81JcwhSYA0Q==
dependencies:
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/rlp" "^5.6.1"
"@ethersproject/address@5.7.0", "@ethersproject/address@^5.6.1", "@ethersproject/address@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/address/-/address-5.7.0.tgz"
@ -739,29 +704,14 @@
"@ethersproject/logger" "^5.3.0"
"@ethersproject/rlp" "^5.3.0"
"@ethersproject/base64@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.6.1.tgz"
integrity sha512-qB76rjop6a0RIYYMiB4Eh/8n+Hxu2NIZm8S/Q7kNo5pmZfXhHGHmS4MinUainiBC54SCyRnwzL+KZjj8zbsSsw==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.6.1", "@ethersproject/base64@^5.7.0":
"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.7.0.tgz"
integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ==
dependencies:
"@ethersproject/bytes" "^5.7.0"
"@ethersproject/basex@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.6.1.tgz"
integrity sha512-a52MkVz4vuBXR06nvflPMotld1FJWSj2QT0985v7P/emPZO00PucFAkbcmq2vpVU7Ts7umKiSI6SppiLykVWsA==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.6.1", "@ethersproject/basex@^5.7.0":
"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.7.0.tgz"
integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==
@ -769,15 +719,6 @@
"@ethersproject/bytes" "^5.7.0"
"@ethersproject/properties" "^5.7.0"
"@ethersproject/bignumber@5.6.2":
version "5.6.2"
resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.6.2.tgz"
integrity sha512-v7+EEUbhGqT3XJ9LMPsKvXYHFc8eHxTowFCG/HgJErmq4XHJ2WR7aeyICg3uTOAQ7Icn0GFHAohXEhxQHq4Ubw==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
bn.js "^5.2.1"
"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.3.0", "@ethersproject/bignumber@^5.6.2", "@ethersproject/bignumber@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.7.0.tgz"
@ -805,13 +746,6 @@
"@ethersproject/logger" "^5.3.0"
bn.js "^4.11.9"
"@ethersproject/bytes@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.6.1.tgz"
integrity sha512-NwQt7cKn5+ZE4uDn+X5RAXLp46E1chXoaMmrxAyA0rblpxz8t58lVkrHXoRIn0lz1joQElQ8410GqhTqMOwc6g==
dependencies:
"@ethersproject/logger" "^5.6.0"
"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.3.0", "@ethersproject/bytes@^5.6.1", "@ethersproject/bytes@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.7.0.tgz"
@ -833,13 +767,6 @@
dependencies:
"@ethersproject/logger" "^5.3.0"
"@ethersproject/constants@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.6.1.tgz"
integrity sha512-QSq9WVnZbxXYFftrjSjZDUshp6/eKp6qrtdBtUCm0QxCV5z1fG/w3kdlcsjMCQuQHUnAclKoK7XpXMezhRDOLg==
dependencies:
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.3.0", "@ethersproject/constants@^5.6.1", "@ethersproject/constants@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.7.0.tgz"
@ -861,22 +788,6 @@
dependencies:
"@ethersproject/bignumber" "^5.3.0"
"@ethersproject/contracts@5.6.2":
version "5.6.2"
resolved "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.6.2.tgz"
integrity sha512-hguUA57BIKi6WY0kHvZp6PwPlWF87MCeB4B7Z7AbUpTxfFXFdn/3b0GmjZPagIHS+3yhcBJDnuEfU4Xz+Ks/8g==
dependencies:
"@ethersproject/abi" "^5.6.3"
"@ethersproject/abstract-provider" "^5.6.1"
"@ethersproject/abstract-signer" "^5.6.2"
"@ethersproject/address" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/constants" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/transactions" "^5.6.2"
"@ethersproject/contracts@5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e"
@ -893,20 +804,6 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/transactions" "^5.7.0"
"@ethersproject/hash@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.6.1.tgz"
integrity sha512-L1xAHurbaxG8VVul4ankNX5HgQ8PNCTrnVXEiFnE9xoRnaUcgfD12tZINtDinSllxPLCtGwguQxJ5E6keE84pA==
dependencies:
"@ethersproject/abstract-signer" "^5.6.2"
"@ethersproject/address" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.6.1", "@ethersproject/hash@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz"
@ -936,25 +833,7 @@
"@ethersproject/properties" "^5.2.0"
"@ethersproject/strings" "^5.2.0"
"@ethersproject/hdnode@5.6.2":
version "5.6.2"
resolved "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.6.2.tgz"
integrity sha512-tERxW8Ccf9CxW2db3WsN01Qao3wFeRsfYY9TCuhmG0xNpl2IO8wgXU3HtWIZ49gUWPggRy4Yg5axU0ACaEKf1Q==
dependencies:
"@ethersproject/abstract-signer" "^5.6.2"
"@ethersproject/basex" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/pbkdf2" "^5.6.1"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/sha2" "^5.6.1"
"@ethersproject/signing-key" "^5.6.2"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/transactions" "^5.6.2"
"@ethersproject/wordlists" "^5.6.1"
"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.6.2", "@ethersproject/hdnode@^5.7.0":
"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz"
integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==
@ -972,26 +851,7 @@
"@ethersproject/transactions" "^5.7.0"
"@ethersproject/wordlists" "^5.7.0"
"@ethersproject/json-wallets@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.6.1.tgz"
integrity sha512-KfyJ6Zwz3kGeX25nLihPwZYlDqamO6pfGKNnVMWWfEVVp42lTfCZVXXy5Ie8IZTN0HKwAngpIPi7gk4IJzgmqQ==
dependencies:
"@ethersproject/abstract-signer" "^5.6.2"
"@ethersproject/address" "^5.6.1"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/hdnode" "^5.6.2"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/pbkdf2" "^5.6.1"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/random" "^5.6.1"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/transactions" "^5.6.2"
aes-js "3.0.0"
scrypt-js "3.0.1"
"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.6.1", "@ethersproject/json-wallets@^5.7.0":
"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz"
integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==
@ -1010,14 +870,6 @@
aes-js "3.0.0"
scrypt-js "3.0.1"
"@ethersproject/keccak256@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.6.1.tgz"
integrity sha512-bB7DQHCTRDooZZdL3lk9wpL0+XuG3XLGHLh3cePnybsO3V0rdCAOQGpn/0R3aODmnTOOkCATJiD2hnL+5bwthA==
dependencies:
"@ethersproject/bytes" "^5.6.1"
js-sha3 "0.8.0"
"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.3.0", "@ethersproject/keccak256@^5.6.1", "@ethersproject/keccak256@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz"
@ -1042,11 +894,6 @@
"@ethersproject/bytes" "^5.3.0"
js-sha3 "0.5.7"
"@ethersproject/logger@5.6.0":
version "5.6.0"
resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.6.0.tgz"
integrity sha512-BiBWllUROH9w+P21RzoxJKzqoqpkyM1pRnEKG69bulE9TSQD8SAIvTQqIMZmmCO8pUNkgLP1wndX1gKghSpBmg==
"@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.3.0", "@ethersproject/logger@^5.6.0", "@ethersproject/logger@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.7.0.tgz"
@ -1062,29 +909,14 @@
resolved "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.3.0.tgz"
integrity sha512-8bwJ2gxJGkZZnpQSq5uSiZSJjyVTWmlGft4oH8vxHdvO1Asy4TwVepAhPgxIQIMxXZFUNMych1YjIV4oQ4I7dA==
"@ethersproject/networks@5.6.4":
version "5.6.4"
resolved "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.6.4.tgz"
integrity sha512-KShHeHPahHI2UlWdtDMn2lJETcbtaJge4k7XSjDR9h79QTd6yQJmv6Cp2ZA4JdqWnhszAOLSuJEd9C0PRw7hSQ==
dependencies:
"@ethersproject/logger" "^5.6.0"
"@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.6.3", "@ethersproject/networks@^5.7.0":
"@ethersproject/networks@5.7.1", "@ethersproject/networks@^5.7.0":
version "5.7.1"
resolved "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.7.1.tgz"
integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ==
dependencies:
"@ethersproject/logger" "^5.7.0"
"@ethersproject/pbkdf2@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.6.1.tgz"
integrity sha512-k4gRQ+D93zDRPNUfmduNKq065uadC2YjMP/CqwwX5qG6R05f47boq6pLZtV/RnC4NZAYOPH1Cyo54q0c9sshRQ==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/sha2" "^5.6.1"
"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.6.1", "@ethersproject/pbkdf2@^5.7.0":
"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz"
integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==
@ -1092,13 +924,6 @@
"@ethersproject/bytes" "^5.7.0"
"@ethersproject/sha2" "^5.7.0"
"@ethersproject/properties@5.6.0":
version "5.6.0"
resolved "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.6.0.tgz"
integrity sha512-szoOkHskajKePTJSZ46uHUWWkbv7TzP2ypdEK6jGMqJaEt2sb0jCgfBo0gH0m2HBpRixMuJ6TBRaQCF7a9DoCg==
dependencies:
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.3.0", "@ethersproject/properties@^5.6.0", "@ethersproject/properties@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz"
@ -1120,32 +945,6 @@
dependencies:
"@ethersproject/logger" "^5.3.0"
"@ethersproject/providers@5.6.8":
version "5.6.8"
resolved "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.6.8.tgz"
integrity sha512-Wf+CseT/iOJjrGtAOf3ck9zS7AgPmr2fZ3N97r4+YXN3mBePTG2/bJ8DApl9mVwYL+RpYbNxMEkEp4mPGdwG/w==
dependencies:
"@ethersproject/abstract-provider" "^5.6.1"
"@ethersproject/abstract-signer" "^5.6.2"
"@ethersproject/address" "^5.6.1"
"@ethersproject/base64" "^5.6.1"
"@ethersproject/basex" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/constants" "^5.6.1"
"@ethersproject/hash" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/networks" "^5.6.3"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/random" "^5.6.1"
"@ethersproject/rlp" "^5.6.1"
"@ethersproject/sha2" "^5.6.1"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/transactions" "^5.6.2"
"@ethersproject/web" "^5.6.1"
bech32 "1.1.4"
ws "7.4.6"
"@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.4.4":
version "5.7.2"
resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb"
@ -1172,15 +971,7 @@
bech32 "1.1.4"
ws "7.4.6"
"@ethersproject/random@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/random/-/random-5.6.1.tgz"
integrity sha512-/wtPNHwbmng+5yi3fkipA8YBT59DdkGRoC2vWk09Dci/q5DlgnMkhIycjHlavrvrjJBkFjO/ueLyT+aUDfc4lA==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/random@5.7.0", "@ethersproject/random@^5.6.1", "@ethersproject/random@^5.7.0":
"@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz"
integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==
@ -1188,15 +979,7 @@
"@ethersproject/bytes" "^5.7.0"
"@ethersproject/logger" "^5.7.0"
"@ethersproject/rlp@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.6.1.tgz"
integrity sha512-uYjmcZx+DKlFUk7a5/W9aQVaoEC7+1MOBgNtvNg13+RnuUwT4F0zTovC0tmay5SmRslb29V1B7Y5KCri46WhuQ==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.3.0", "@ethersproject/rlp@^5.6.1", "@ethersproject/rlp@^5.7.0":
"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.3.0", "@ethersproject/rlp@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.7.0.tgz"
integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==
@ -1212,16 +995,7 @@
"@ethersproject/bytes" "^5.3.0"
"@ethersproject/logger" "^5.3.0"
"@ethersproject/sha2@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.6.1.tgz"
integrity sha512-5K2GyqcW7G4Yo3uenHegbXRPDgARpWUiXc6RiF7b6i/HXUoWlb7uCARh7BAHg7/qT/Q5ydofNwiZcim9qpjB6g==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
hash.js "1.1.7"
"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.6.1", "@ethersproject/sha2@^5.7.0":
"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.7.0.tgz"
integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==
@ -1230,19 +1004,7 @@
"@ethersproject/logger" "^5.7.0"
hash.js "1.1.7"
"@ethersproject/signing-key@5.6.2":
version "5.6.2"
resolved "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.6.2.tgz"
integrity sha512-jVbu0RuP7EFpw82vHcL+GP35+KaNruVAZM90GxgQnGqB6crhBqW/ozBfFvdeImtmb4qPko0uxXjn8l9jpn0cwQ==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
bn.js "^5.2.1"
elliptic "6.5.4"
hash.js "1.1.7"
"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.6.2", "@ethersproject/signing-key@^5.7.0":
"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.7.0.tgz"
integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==
@ -1266,18 +1028,6 @@
elliptic "6.5.4"
hash.js "1.1.7"
"@ethersproject/solidity@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.6.1.tgz"
integrity sha512-KWqVLkUUoLBfL1iwdzUVlkNqAUIFMpbbeH0rgCfKmJp0vFtY4AsaN91gHKo9ZZLkC4UOm3cI3BmMV4N53BOq4g==
dependencies:
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/sha2" "^5.6.1"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/solidity@5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8"
@ -1290,15 +1040,6 @@
"@ethersproject/sha2" "^5.7.0"
"@ethersproject/strings" "^5.7.0"
"@ethersproject/strings@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.6.1.tgz"
integrity sha512-2X1Lgk6Jyfg26MUnsHiT456U9ijxKUybz8IM1Vih+NJxYtXhmvKBcHOmvGqpFSVJ0nQ4ZCoIViR8XlRw1v/+Cw==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/constants" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.6.1", "@ethersproject/strings@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.7.0.tgz"
@ -1326,22 +1067,7 @@
"@ethersproject/constants" "^5.3.0"
"@ethersproject/logger" "^5.3.0"
"@ethersproject/transactions@5.6.2":
version "5.6.2"
resolved "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.6.2.tgz"
integrity sha512-BuV63IRPHmJvthNkkt9G70Ullx6AcM+SDc+a8Aw/8Yew6YwT51TcBKEp1P4oOQ/bP25I18JJr7rcFRgFtU9B2Q==
dependencies:
"@ethersproject/address" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/constants" "^5.6.1"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/rlp" "^5.6.1"
"@ethersproject/signing-key" "^5.6.2"
"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.6.2", "@ethersproject/transactions@^5.7.0":
"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.7.0.tgz"
integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ==
@ -1371,15 +1097,6 @@
"@ethersproject/rlp" "^5.2.0"
"@ethersproject/signing-key" "^5.2.0"
"@ethersproject/units@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/units/-/units-5.6.1.tgz"
integrity sha512-rEfSEvMQ7obcx3KWD5EWWx77gqv54K6BKiZzKxkQJqtpriVsICrktIQmKl8ReNToPeIYPnFHpXvKpi068YFZXw==
dependencies:
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/constants" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/units@5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1"
@ -1389,27 +1106,6 @@
"@ethersproject/constants" "^5.7.0"
"@ethersproject/logger" "^5.7.0"
"@ethersproject/wallet@5.6.2":
version "5.6.2"
resolved "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.6.2.tgz"
integrity sha512-lrgh0FDQPuOnHcF80Q3gHYsSUODp6aJLAdDmDV0xKCN/T7D99ta1jGVhulg3PY8wiXEngD0DfM0I2XKXlrqJfg==
dependencies:
"@ethersproject/abstract-provider" "^5.6.1"
"@ethersproject/abstract-signer" "^5.6.2"
"@ethersproject/address" "^5.6.1"
"@ethersproject/bignumber" "^5.6.2"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/hash" "^5.6.1"
"@ethersproject/hdnode" "^5.6.2"
"@ethersproject/json-wallets" "^5.6.1"
"@ethersproject/keccak256" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/random" "^5.6.1"
"@ethersproject/signing-key" "^5.6.2"
"@ethersproject/transactions" "^5.6.2"
"@ethersproject/wordlists" "^5.6.1"
"@ethersproject/wallet@5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d"
@ -1431,18 +1127,7 @@
"@ethersproject/transactions" "^5.7.0"
"@ethersproject/wordlists" "^5.7.0"
"@ethersproject/web@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/web/-/web-5.6.1.tgz"
integrity sha512-/vSyzaQlNXkO1WV+RneYKqCJwualcUdx/Z3gseVovZP0wIlOFcCE1hkRhKBH8ImKbGQbMl9EAAyJFrJu7V0aqA==
dependencies:
"@ethersproject/base64" "^5.6.1"
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/web@5.7.1", "@ethersproject/web@^5.6.1", "@ethersproject/web@^5.7.0", "@ethersproject/web@^5.7.1":
"@ethersproject/web@5.7.1", "@ethersproject/web@^5.7.0", "@ethersproject/web@^5.7.1":
version "5.7.1"
resolved "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz"
integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==
@ -1453,18 +1138,7 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"
"@ethersproject/wordlists@5.6.1":
version "5.6.1"
resolved "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.6.1.tgz"
integrity sha512-wiPRgBpNbNwCQFoCr8bcWO8o5I810cqO6mkdtKfLKFlLxeCWcnzDi4Alu8iyNzlhYuS9npCwivMbRWF19dyblw==
dependencies:
"@ethersproject/bytes" "^5.6.1"
"@ethersproject/hash" "^5.6.1"
"@ethersproject/logger" "^5.6.0"
"@ethersproject/properties" "^5.6.0"
"@ethersproject/strings" "^5.6.1"
"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.6.1", "@ethersproject/wordlists@^5.7.0":
"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0":
version "5.7.0"
resolved "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz"
integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==
@ -8171,43 +7845,7 @@ ethereumjs-wallet@0.6.5:
utf8 "^3.0.0"
uuid "^3.3.2"
ethers@^5.0.1, ethers@^5.0.2, ethers@^5.5.2:
version "5.6.9"
resolved "https://registry.npmjs.org/ethers/-/ethers-5.6.9.tgz"
integrity sha512-lMGC2zv9HC5EC+8r429WaWu3uWJUCgUCt8xxKCFqkrFuBDZXDYIdzDUECxzjf2BMF8IVBByY1EBoGSL3RTm8RA==
dependencies:
"@ethersproject/abi" "5.6.4"
"@ethersproject/abstract-provider" "5.6.1"
"@ethersproject/abstract-signer" "5.6.2"
"@ethersproject/address" "5.6.1"
"@ethersproject/base64" "5.6.1"
"@ethersproject/basex" "5.6.1"
"@ethersproject/bignumber" "5.6.2"
"@ethersproject/bytes" "5.6.1"
"@ethersproject/constants" "5.6.1"
"@ethersproject/contracts" "5.6.2"
"@ethersproject/hash" "5.6.1"
"@ethersproject/hdnode" "5.6.2"
"@ethersproject/json-wallets" "5.6.1"
"@ethersproject/keccak256" "5.6.1"
"@ethersproject/logger" "5.6.0"
"@ethersproject/networks" "5.6.4"
"@ethersproject/pbkdf2" "5.6.1"
"@ethersproject/properties" "5.6.0"
"@ethersproject/providers" "5.6.8"
"@ethersproject/random" "5.6.1"
"@ethersproject/rlp" "5.6.1"
"@ethersproject/sha2" "5.6.1"
"@ethersproject/signing-key" "5.6.2"
"@ethersproject/solidity" "5.6.1"
"@ethersproject/strings" "5.6.1"
"@ethersproject/transactions" "5.6.2"
"@ethersproject/units" "5.6.1"
"@ethersproject/wallet" "5.6.2"
"@ethersproject/web" "5.6.1"
"@ethersproject/wordlists" "5.6.1"
ethers@^5.1.4, ethers@^5.4.4, ethers@^5.7.2:
ethers@^5.0.1, ethers@^5.0.2, ethers@^5.1.4, ethers@^5.4.4, ethers@^5.5.2, ethers@^5.7.2:
version "5.7.2"
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e"
integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==