Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Get all contracts #20

Merged
merged 5 commits into from
Nov 14, 2017
Merged

Get all contracts #20

merged 5 commits into from
Nov 14, 2017

Conversation

satello
Copy link
Contributor

@satello satello commented Nov 9, 2017

No description provided.

Copy link
Contributor

@n1c01a5 n1c01a5 left a comment

Choose a reason for hiding this comment

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

fix conflicts

@@ -78,6 +77,7 @@ class ContractWrapper {
)
return contractDeployed
} catch (e) {
console.log(e)
Copy link
Contributor

@n1c01a5 n1c01a5 Nov 13, 2017

Choose a reason for hiding this comment

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

I think it is better to avoid console.log() in the code, only for debug or for the commands.


// FIXME allow for other contract types
const ArbitrableTransaction = new ArbitrableTransactionWrapper(this._Web3Wrapper, this._StoreProvider)

newDisputes = []
const newDisputes = []
for (let i=0; i<myDisputes.length; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

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

use map

@@ -15,11 +15,11 @@ let deployKlerosPOC = async () => {

const PNK = await KlerosInstance.pinakion.deploy()
Copy link
Contributor

Choose a reason for hiding this comment

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

the name of this variable can be more explicit like pnkContractDeployed

@satello satello changed the title [WIP] Get all contracts Get all contracts Nov 13, 2017
@n1c01a5 n1c01a5 merged commit a0738ff into master Nov 14, 2017
@satello satello deleted the getAllContracts branch May 18, 2018 19:14
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.

2 participants