Skip to content

Instantly share code, notes, and snippets.

View feuGeneA's full-sized avatar

F. Eugene Aumson feuGeneA

View GitHub Profile
@feuGeneA
feuGeneA / gist:30204a623c6e3970984559e47c01c0c7
Created May 21, 2018 13:35
warnings and errors from `yarn test`
gene@precision5510:~/feuGeneA_assignment$ yarn test
yarn run v1.6.0
$ npm run compile; npm run generate-typings; npm run transpile; npm run migrate; truffle test transpiled/test/ts/cdo.js
> @dharmaprotocol/contracts@0.0.40 compile /home/gene/feuGeneA_assignment
> truffle compile --all
Compiling ./contracts/CDO.sol...
Compiling ./contracts/Collateralizer.sol...
Compiling ./contracts/ContractRegistry.sol...
CDO.sol | 0xfed96569b2ec7a02e2e3e263dd17a8596f4e8189:
237: withdrawn += entitlement;
238:
239: principalToken.transferFrom(this, _to, entitlement);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug(development:0x2dd543c5...)> i
DummyToken.sol | 0x7ac0bbed634552f068e02b8638957106479ffb40:
$ yarn tsc
yarn run v1.7.0
$ tsc --lib ES2015 build/contracts/types/migrations.ts
build/contracts/types/migrations.ts:39:91 - error TS2345: Argument of type 'import("/home/gene/ethopt/node_modules/ethereum-types/lib/index").BlockParam' is not assignable to parameter of type 'import("/home/gene/ethopt/node_modules/@0xproject/types/lib/index").BlockParam'.
Type 'BlockParamLiteral.Earliest' is not assignable to type 'BlockParam'.
39 const rawCallResult = await self._web3Wrapper.callAsync(callDataWithDefaults, defaultBlock);
~~~~~~~~~~~~
$ yarn tsc
yarn run v1.7.0
$ yarn abi-gen
$ truffle compile
$ abi-gen --abis 'build/contracts/*.json' --out build/types --template contracts/templates/contract.handlebars --partials 'contracts/templates/partials/*.handlebars'
Found 7 partial templates
Found 1 ABI files
Processing: Migrations...
Created: build/types/migrations.ts
$ tsc
gene@precision5510:~/0x-monorepo/packages/subproviders$ yarn test
yarn run v1.7.0
$ npm run test:unit
> @0xproject/subproviders@0.10.4 test:unit /home/gene/0x-monorepo/packages/subproviders
> run-s clean build run_mocha_unit
> @0xproject/subproviders@0.10.4 clean /home/gene/0x-monorepo/packages/subproviders
> shx rm -rf lib scripts
2018-07-26 23:56:28,571 - DEBUG - Event name: BufferVisit
2018-07-26 23:56:28,571 - ERROR - No semantic completer exists for filetypes: ['xml']
Traceback (most recent call last):
File "/home/gene/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/server_state.py", line 101, in FiletypeCompletionAvailable
self.GetFiletypeCompleter( filetypes )
File "/home/gene/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/server_state.py", line 90, in GetFiletypeCompleter
current_filetypes ) )
ValueError: No semantic completer exists for filetypes: ['xml']
2018-07-26 23:56:28,572 - INFO - Received event notification
2018-07-26 23:56:28,572 - DEBUG - Event name: FileReadyToParse
gene@precision5510:~/tmp$ git clone https://github.com/0xProject/0x-monorepo.git
Cloning into '0x-monorepo'...
remote: Counting objects: 85504, done.
remote: Total 85504 (delta 0), reused 0 (delta 0), pack-reused 85503
Receiving objects: 100% (85504/85504), 54.77 MiB | 277.00 KiB/s, done.
Resolving deltas: 100% (64501/64501), done.
gene@precision5510:~/tmp$ cd 0x-monorepo/
gene@precision5510:~/tmp/0x-monorepo$ yarn
yarn install v1.9.4
[1/5] Validating package.json...
gene@precision5510:~/0x-monorepo$ node ./packages/monorepo-scripts/lib/doc_generate_and_upload.js --package sol-compiler --shouldUpload false --isStaging true
GENERATE_UPLOAD_DOCS: Generating Typedoc JSON for sol-compiler...
GENERATE_UPLOAD_DOCS: Modifying Typedoc JSON to our custom format...
Error: Found the following external exports in sol-compiler's index.ts:
StandardOutput
They are missing from the EXTERNAL_EXPORT_TO_LINK mapping. Add them and try again.
at DocGenerateAndUploadUtils.<anonymous> (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:252:35)
at step (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:32:23)
at Object.next (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:13:53)
at fulfilled (/home/gene/0x-monorepo/packages/monorepo-scripts/lib/utils/doc_generate_and_upload_utils.js:4:58)
http <-- 200, user: test(172.17.42.1), req: 'GET /oboe/-/oboe-2.1.3.tgz', bytes: 0/1343182
http <-- 200, user: test(172.17.42.1), req: 'GET /web3-providers-http/-/web3-providers-http-1.0.0-beta.35.tgz', bytes: 0/1971
http <-- 200, user: test(172.17.42.1), req: 'GET /web3-providers-http/-/web3-providers-http-1.0.0-beta.35.tgz', bytes: 0/1971
http <-- 200, user: test(172.17.42.1), req: 'GET /xhr2-cookies', bytes: 0/2125
http <-- 200, user: test(172.17.42.1), req: 'GET /xhr2-cookies', bytes: 0/2125
http <-- 200, user: test(172.17.42.1), req: 'GET /cookiejar', bytes: 0/4501
http <-- 200, user: test(172.17.42.1), req: 'GET /cookiejar', bytes: 0/4501
http <-- 200, user: test(172.17.42.1), req: 'GET /oboe', bytes: 0/7683
http <-- 200, user: test(172.17.42.1), req: 'GET /oboe', bytes: 0/7683
http --> 200, req: 'GET https://registry.npmjs.org/http-https' (streaming)
{
"LibConstants": {
"constructors": [
{
"isConstructor": true,
"name": "",
"callPath": "",
"parameters": [
{
"name": "zrxAssetData",