Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

misc: Move types. Renaming/typos in comments. Fix linting errors. Add license headers. Add FIXMEs #44

Closed
wants to merge 1 commit into from

Conversation

ltfschoen
Copy link
Contributor

  • Remove no longer used packages/contracts types file

  • Rename Ethcore to Parity

  • Change license header from 2017 to 2018 validity

  • Create Input___ types in packages/api to fix linting errors

  • Fix typo 'receiving' and 'initialises'

  • Rename 'pubsub' to 'pub-sub', 'rpc' to 'RPC', and 'abi' to 'ABI', and 'ether' to 'Ether' (when referring to denomination), and 'electron' to 'Electron', and 'parity' to 'Parity' or 'Parity Ethereum' (as applicable) in comments. Refer to 'parity binary' as 'parity binary'

  • Move types Api, Contract, and ContractInstance to '@parity/api/src/types'

  • Reword to 'The message of the RPC call.'

  • FIXME added since cannot find file '../../test/e2e/ethapi' used in unit test

  • FIXME added for test description 'returns and the chain'

@coveralls
Copy link

Pull Request Test Coverage Report for Build 229

  • 0 of 28 (0.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 46.84%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/electron/src/getParityPath.ts 0 2 0.0%
packages/electron/src/runParity.ts 0 2 0.0%
packages/api/src/format/input.ts 0 24 0.0%
Totals Coverage Status
Change from base Build 222: 0.0%
Covered Lines: 852
Relevant Lines: 1819

💛 - Coveralls

Copy link
Collaborator

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! But i prefer to make this PR smaller, by removing everything related to @parity/api.

@@ -1,4 +1,4 @@
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rebase on top of master? I merged the other one.

@@ -5,7 +5,7 @@

import BigNumber from 'bignumber.js';

import { BlockNumber } from '../types';
import { BlockNumber, InputDeriveHashMap, InputOptions, InputOptionsConditions, InputTrace, InputTraceHashMap } from '../types';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer in this PR to not touch anything in packages/api. This package needs some bigger effort to make it clean, see #21.

@@ -3,7 +3,7 @@
//
// SPDX-License-Identifier: MIT

import { Api } from './types';
import { Api } from '@parity/api/src/types';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, please don't use anything from @parity/api for now

@amaury1093 amaury1093 closed this Nov 27, 2018
@amaury1093 amaury1093 deleted the luke-misc branch November 27, 2018 10:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants