mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +00:00
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…
x
Reference in New Issue
Block a user