1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

rollback init methods on contracts

This commit is contained in:
Sebastian Gerske 2018-10-02 08:27:10 +02:00
parent 629fcadfc9
commit ff386703d7

View File

@ -45,18 +45,6 @@ export default class ContractHandler {
const auth = await ContractHandler.deployContract(web3, "OceanAuth", deployerAddress, { const auth = await ContractHandler.deployContract(web3, "OceanAuth", deployerAddress, {
args: [market.options.address, dispute.options.address], args: [market.options.address, dispute.options.address],
}); });
// now wire up
await dispute.methods.init().send({
from: deployerAddress,
});
await auth.methods.init().send({
from: deployerAddress,
});
await market.methods.init().send({
from: deployerAddress, gas: 3000000,
gasPrice: 10000000000,
});
} }
private static async load(what: string, web3Helper: Web3Helper): Promise<object> { private static async load(what: string, web3Helper: Web3Helper): Promise<object> {