mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-27 21:00:46 +00:00
fix event name
This commit is contained in:
parent
7643f0fec4
commit
9ec632c205
@ -21,6 +21,11 @@ class ContractDeployer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
|
(next) => {
|
||||||
|
this.plugins.emitAndRunActionsForEvent('deployment:contract:beforeDeploy', {contract: contract}, (_params) => {
|
||||||
|
next();
|
||||||
|
});
|
||||||
|
},
|
||||||
(next) => {
|
(next) => {
|
||||||
// self.plugins.emitAndRunActionsForEvent('deployment:contract:arguments', {contract: contract}, (_params) => {
|
// self.plugins.emitAndRunActionsForEvent('deployment:contract:arguments', {contract: contract}, (_params) => {
|
||||||
this.plugins.emitAndRunActionsForEvent('deployment:contract:shouldDeploy', {contract: contract, shouldDeploy: true}, (_params) => {
|
this.plugins.emitAndRunActionsForEvent('deployment:contract:shouldDeploy', {contract: contract, shouldDeploy: true}, (_params) => {
|
||||||
|
@ -18,8 +18,8 @@ class SpecialConfigs {
|
|||||||
this.embark.registerActionForEvent('deployment:deployContracts:beforeAll', this.beforeAllDeployAction.bind(this));
|
this.embark.registerActionForEvent('deployment:deployContracts:beforeAll', this.beforeAllDeployAction.bind(this));
|
||||||
this.embark.registerActionForEvent('deployment:deployContracts:afterAll', this.afterAllDeployAction.bind(this));
|
this.embark.registerActionForEvent('deployment:deployContracts:afterAll', this.afterAllDeployAction.bind(this));
|
||||||
this.embark.registerActionForEvent("deployment:contract:deployed", this.doOnDeployAction.bind(this));
|
this.embark.registerActionForEvent("deployment:contract:deployed", this.doOnDeployAction.bind(this));
|
||||||
this.embark.registerActionForEvent("deploy:contract:shouldDeploy", this.deployIfAction.bind(this));
|
this.embark.registerActionForEvent("deployment:contract:shouldDeploy", this.deployIfAction.bind(this));
|
||||||
this.embark.registerActionForEvent('deploy:contract:beforeDeploy', this.beforeDeployAction.bind(this));
|
this.embark.registerActionForEvent('deployment:contract:beforeDeploy', this.beforeDeployAction.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
async beforeAllDeployAction(cb) {
|
async beforeAllDeployAction(cb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user