default contracts fields
This commit is contained in:
parent
1c6df9db8d
commit
402ee19722
|
@ -126,7 +126,7 @@ class Test {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (!options.contracts) {
|
if (!options.contracts) {
|
||||||
throw new Error(__('No contracts specified in the options'));
|
options.contracts = {};
|
||||||
}
|
}
|
||||||
self.ready = false;
|
self.ready = false;
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,7 @@
|
||||||
const SimpleStorage = embark.require('Embark/contracts/SimpleStorage');
|
const SimpleStorage = embark.require('Embark/contracts/SimpleStorage');
|
||||||
let accounts;
|
let accounts;
|
||||||
|
|
||||||
config({
|
config({}, (err, theAccounts) => {
|
||||||
contracts: {
|
|
||||||
"SimpleStorage": {
|
|
||||||
args: [100]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, (err, theAccounts) => {
|
|
||||||
accounts = theAccounts;
|
accounts = theAccounts;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue