Skip to content

Commit

Permalink
CI: Fix test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Sep 23, 2020
1 parent f8072a8 commit ffa4a2d
Show file tree
Hide file tree
Showing 47 changed files with 40 additions and 65 deletions.
1 change: 1 addition & 0 deletions misc/ReactNativeTestApp/libs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.js
6 changes: 3 additions & 3 deletions misc/admin/lib/cmds/update-hashes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const git_1 = require("../git");
//import { getGitTag } from "../git";
const local_1 = require("../local");
const log_1 = require("../log");
const path_1 = require("../path");
Expand All @@ -20,9 +20,9 @@ const path_1 = require("../path");
for (let i = 0; i < path_1.dirnames.length; i++) {
progress(i / path_1.dirnames.length);
const dirname = path_1.dirnames[i];
const gitHead = yield git_1.getGitTag(path_1.resolve("packages", dirname));
//const gitHead = await getGitTag(resolve("packages", dirname));
const tarballHash = local_1.computeTarballHash(dirname);
local_1.updateJson(path_1.getPackageJsonPath(dirname), { gitHead, tarballHash }, true);
local_1.updateJson(path_1.getPackageJsonPath(dirname), { tarballHash }, true);
}
progress(1);
});
Expand Down
8 changes: 4 additions & 4 deletions misc/admin/src.ts/cmds/update-hashes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getGitTag } from "../git";
//import { getGitTag } from "../git";
import { computeTarballHash, updateJson } from "../local";
import { colorify, getProgressBar } from "../log";
import { dirnames, getPackageJsonPath, resolve } from "../path";
import { dirnames, getPackageJsonPath } from "../path";

(async function() {
const progress = getProgressBar(colorify.bold("Updating package.json hashes"));
Expand All @@ -12,10 +12,10 @@ import { dirnames, getPackageJsonPath, resolve } from "../path";

const dirname = dirnames[i];

const gitHead = await getGitTag(resolve("packages", dirname));
//const gitHead = await getGitTag(resolve("packages", dirname));
const tarballHash = computeTarballHash(dirname);

updateJson(getPackageJsonPath(dirname), { gitHead, tarballHash }, true);
updateJson(getPackageJsonPath(dirname), { tarballHash }, true);
}

progress(1);
Expand Down
1 change: 0 additions & 1 deletion packages/abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
},
"description": "Utilities and Classes for parsing, formatting and managing Ethereum ABIs.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/abstract-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"description": "An Abstract Class for describing an Ethereum Provider for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/abstract-signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"description": "An Abstract Class for desribing an Ethereum Signer for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"description": "Utilities for handling Ethereum Addresses for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/asm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"description": "ASM libraries and tools for the Ethereum EVM.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"asm",
Expand Down
1 change: 0 additions & 1 deletion packages/base64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
},
"description": "Base64 coder.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/basex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
},
"description": "Base-X without Buffer.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/bignumber/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
},
"description": "BigNumber library used in ethers.js.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"bignumber",
Expand Down
1 change: 0 additions & 1 deletion packages/bytes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"description": "Bytes utility functions for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/lib.esm/solc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/cli/lib/solc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
},
"description": "Command-Line Interface scripts and releated utilities.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers",
Expand All @@ -39,7 +38,7 @@
"scripts": {
"test": "exit 1"
},
"tarballHash": "0xad49d7dce8e8e73a60406dcdfcc2ec6038de876663cf508f929feed975c29f3b",
"tarballHash": "0xe7e54bdcfdf154ef9e94945a34f84b41c2aca0cf642479c4da9457f5b20e73f5",
"types": "./lib/index.d.ts",
"version": "5.0.5"
}
1 change: 0 additions & 1 deletion packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"description": "Common Ethereum constants used for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
},
"description": "Contract abstraction meta-class for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
},
"description": "Umbrella package for most common Ethers libraries.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
},
"description": "Experimental libraries for ethers. These should not be considered stable.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/hardware-wallets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
},
"description": "Hardware Wallet support for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers",
Expand Down
1 change: 0 additions & 1 deletion packages/hash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
},
"description": "Hash utility functions for Ethereum.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/hdnode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"description": "BIP32 Hierarchal Deterministic Node operations.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/json-wallets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"description": "Wallet management utilities for KeyStore and Crowdsale JSON wallets.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/keccak256/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
},
"description": "The keccak256 hash function for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"author": "Richard Moore <[email protected]>",
"description": "Logger utility functions for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/networks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"description": "Network definitions for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/pbkdf2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"description": "The PBKDF2 password-pbased key derivation function for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers",
Expand Down
1 change: 0 additions & 1 deletion packages/properties/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"description": "Properties utility functions for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
},
"description": "Ethereum Providers for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/random/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"description": "Random utility functions for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers",
Expand Down
1 change: 0 additions & 1 deletion packages/rlp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
},
"description": "Recursive-Length Prefix (RLP) coder.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers",
Expand Down
1 change: 0 additions & 1 deletion packages/sha2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"description": "The SHA2 family hash functions and HMAC functions for ethers.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/shims/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"browser": "./dist/index.min.js",
"description": "Shims required for ethers in constrained environments.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/signing-key/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
},
"description": "Elliptic curve library functions for the secp256k1 curve.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"description": "Solidity coder for non-standard (tight) packing.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
1 change: 0 additions & 1 deletion packages/strings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
},
"description": "String utility functions.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers",
Expand Down
1 change: 0 additions & 1 deletion packages/testcases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
},
"description": "Testcases for Ethereum and scripts to generate testcases.",
"ethereum": "donations.ethers.eth",
"gitHead": "261eb04e97cdc1ff11e4716e9c7f421d681aceb1",
"keywords": [
"Ethereum",
"ethers"
Expand Down
18 changes: 12 additions & 6 deletions packages/tests/lib.esm/test-solc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/tests/lib.esm/test-solc.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions packages/tests/lib/test-solc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/tests/lib/test-solc.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ffa4a2d

Please sign in to comment.