Skip to content

Commit 0c29b17

Browse files
committed
example on how to deploy a single contract with custom arguments
1 parent 0faa649 commit 0c29b17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

demo/test/simple_storage_spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ describe("SimpleStorage", function() {
88
EmbarkSpec.sim.createAccounts(10, function() {
99
EmbarkSpec.sim.setBalance(web3.eth.accounts[0], 1000000000000000000000, function() {
1010
EmbarkSpec.deployAll(done);
11+
// or
12+
// EmbarkSpec.deployContract('SimpleStorage', [100], done);
1113
});
1214
});
1315
});
@@ -28,4 +30,4 @@ describe("SimpleStorage", function() {
2830
});
2931
});
3032

31-
})
33+
});

0 commit comments

Comments
 (0)