Skip to content

Commit

Permalink
Fix bad initialization of bridge validators
Browse files Browse the repository at this point in the history
  • Loading branch information
patitonar committed May 23, 2019
1 parent dcef430 commit 6b971fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/src/erc_to_erc/foreign.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ async function deployForeign() {
nonce++

console.log('\ninitializing Foreign Bridge Validators with following parameters:\n')
bridgeValidatorsForeign.options.address = storageValidatorsForeign.options.address
await initializeValidators({
contract: bridgeValidatorsForeign,
isRewardableBridge: false,
Expand Down
1 change: 1 addition & 0 deletions deploy/src/erc_to_erc/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ async function deployHome() {
nonce++

console.log('\ninitializing Home Bridge Validators with following parameters:\n')
bridgeValidatorsHome.options.address = storageValidatorsHome.options.address
await initializeValidators({
contract: bridgeValidatorsHome,
isRewardableBridge: isRewardableBridge && BLOCK_REWARD_ADDRESS === ZERO_ADDRESS,
Expand Down
1 change: 1 addition & 0 deletions deploy/src/erc_to_native/foreign.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ async function deployForeign() {
nonce++

console.log('\ninitializing Foreign Bridge Validators with following parameters:\n')
bridgeValidatorsForeign.options.address = storageValidatorsForeign.options.address
await initializeValidators({
contract: bridgeValidatorsForeign,
isRewardableBridge: false,
Expand Down

0 comments on commit 6b971fb

Please sign in to comment.