From 8fa5776a2d43bf41cb54985328918153b003cb30 Mon Sep 17 00:00:00 2001 From: emizzle Date: Fri, 18 Jan 2019 13:13:55 +1100 Subject: [PATCH] Add contract dependency on another package Update gitignore --- .gitignore | 1 + package.json | 3 +++ recursive_test_3.sol | 2 ++ yarn.lock | 8 ++++++++ 4 files changed, 14 insertions(+) create mode 100644 .gitignore create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/package.json b/package.json index ad4e0c6..be5ce0a 100644 --- a/package.json +++ b/package.json @@ -18,5 +18,8 @@ "repository": { "type": "git", "url": "https://github.com/embark-framework/embark-test-contract" + }, + "dependencies": { + "embark-test-contract-1": "^0.0.1" } } diff --git a/recursive_test_3.sol b/recursive_test_3.sol index 4ad526f..0436088 100644 --- a/recursive_test_3.sol +++ b/recursive_test_3.sol @@ -1,5 +1,7 @@ pragma solidity ^0.5.0; +import "embark-test-contract-1/recursive_test_4.sol"; + contract SimpleStorageRecursive3 { uint public storedData; diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..df201cb --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +embark-test-contract-1@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/embark-test-contract-1/-/embark-test-contract-1-0.0.1.tgz#802b84150e8038fef6681a3f23b6f4c0dc5b3e80" + integrity sha512-yFaXMOXOMfYRNFOKEspdXrZzyovceWedtegHtbfs8RZWRzRYY+v6ZDtGm13TRJt3Qt4VZhKky0l7G/SHZMGHCA==