Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/truffle setup #7

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Feature/truffle setup #7

wants to merge 23 commits into from

Conversation

bizmindx
Copy link
Collaborator

@bizmindx bizmindx commented Oct 6, 2020

truffle setup for Dexcrows contracts

@@ -1,7 +1,7 @@
pragma solidity 0.6.9;

// SPDX-License-Identifier: MIT
import "https://raw.githubusercontent.com/smartcontractkit/chainlink/develop/evm-contracts/src/v0.6/ChainlinkClient.sol";
import "./Chainlink/ChainlinkClient.sol";
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice changes.

I will suggest that we gitignore all the chainlink files because they are dependencies which we will not be changing. Let's put them in a folder and git ignore the folder. We can add a script to fetch it in our package.json.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

chainlink contracts are already in a folder named chainlink i would say adding a .gitignore to it them is not a bad call

Copy link
Collaborator

@eltNEG eltNEG Oct 6, 2020

Choose a reason for hiding this comment

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

You might want to check this: https://stackoverflow.com/questions/24290358/remove-a-folder-from-git-tracking

We need to remove chainlink folder from git cache

Copy link
Collaborator

Choose a reason for hiding this comment

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

^^ File changes should not include the chainlink contracts if everything works fine. But you might want to include instructions on how to get those files or include a script in package.json to auto get them for other users.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmmmm true .... you have any reference for a script that will auto get these from package.json

Copy link
Collaborator

Choose a reason for hiding this comment

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

I wrote a mocha test for EscrowSalt, should I create a new PR for it or just commit it into feature/truffle-setup?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Jaylukmann , I new PR will be better

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please, let's not push changes to another person's PR except if the person is not around and we can't wait for them to come back.

contracts/EscrowFactory.sol Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants