deploy.rs: hardcode estimatedGasCostOfWithdraw for now

This commit is contained in:
Maximilian Krüger 2018-01-08 14:10:33 +01:00
parent 4b408fa023
commit b8246bfe4b
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ impl<T: Transport + Clone> Future for Deploy<T> {
let main_data = self.app.home_bridge.constructor(
self.app.config.home.contract.bin.clone().0,
ethabi::util::pad_u32(self.app.config.authorities.required_signatures),
self.app.config.authorities.accounts.iter().map(|a| a.0.clone()).collect::<Vec<_>>()
self.app.config.authorities.accounts.iter().map(|a| a.0.clone()).collect::<Vec<_>>(),
ethabi::util::pad_u32(100_000)
);
let test_data = self.app.foreign_bridge.constructor(
self.app.config.foreign.contract.bin.clone().0,