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