Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
fix rebase bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
xmzheng committed Jun 13, 2023
1 parent 6df1195 commit 0a13029
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
9 changes: 4 additions & 5 deletions packages/hardhat-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"engines": {
"node": ">=14.0.0"
},
"bin": {
"hardhat": "internal/cli/bootstrap.js"
},
"scripts": {
"lint": "yarn prettier --check && yarn eslint",
"lint:fix": "yarn prettier --write && yarn eslint --fix",
Expand Down Expand Up @@ -85,11 +88,7 @@
"eslint-plugin-import": "2.24.1",
"eslint-plugin-no-only-tests": "3.0.0",
"eslint-plugin-prettier": "3.4.0",
<<<<<<< HEAD
"ethers": "^6.1.0",
"ethers-v5": "npm:ethers@5",
=======
>>>>>>> 1bda760f2 (add signedCall verification and return zero for getStorage)
"mocha": "^10.0.0",
"prettier": "2.4.1",
"rimraf": "^3.0.2",
Expand Down Expand Up @@ -131,7 +130,7 @@
"env-paths": "^2.2.0",
"ethereum-cryptography": "^1.0.3",
"ethereumjs-abi": "^0.6.8",
"ethers": "^5.0.0",
"ethers-v5": "npm:ethers@5",
"find-up": "^2.1.0",
"fp-ts": "1.19.3",
"fs-extra": "^7.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
import * as t from "io-ts";
import cloneDeep from "lodash/cloneDeep";
import * as cbor from "cborg";
import * as ethers from "ethers";
import * as ethers from "ethers-v5";
import { _TypedDataEncoder } from "@ethersproject/hash";
import { cipher, signedCalls } from "@oasisprotocol/sapphire-paratime";
import { hexlify } from "@ethersproject/bytes";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export class Web3Module {
}

private async _clientVersionAction(): Promise<string> {
const hardhatPackage = await getPackageJson();
const ethereumjsVMPackage = require("@oasislabs/ethereumjs-vm/package.json");
return `HardhatNetwork/${hardhatPackage.version}/@oasislabs/ethereumjs-vm/${ethereumjsVMPackage.version}`;
return this._node.getClientVersion();
}

// web3_sha3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class HardhatNetworkProvider
constructor(
private readonly _config: HardhatNetworkProviderConfig,
private readonly _logger: ModulesLogger,
private readonly _artifacts?: Artifacts
private readonly _artifacts?: Artifacts,
private readonly _genesisAccounts: GenesisAccount[] = [],
private readonly _allowUnlimitedContractSize = false,
private readonly _initialDate?: Date,
Expand Down

0 comments on commit 0a13029

Please sign in to comment.