add blockchain config to abi
This commit is contained in:
parent
8af4282ed7
commit
07ec906766
|
@ -33,6 +33,7 @@ BlockchainConfig.prototype.config = function(env) {
|
|||
|
||||
|
||||
config = {
|
||||
env:env,
|
||||
rpcHost: config.rpc_host,
|
||||
rpcPort: config.rpc_port,
|
||||
gasLimit: config.gas_limit || 500000,
|
||||
|
|
|
@ -198,6 +198,8 @@ Deploy.prototype.generate_provider_file = function() {
|
|||
Deploy.prototype.generate_abi_file = function() {
|
||||
var result = "";
|
||||
|
||||
result += 'blockchain = '+JSON.stringify(this.blockchainConfig)+';';
|
||||
|
||||
for(className in this.deployedContracts) {
|
||||
var deployedContract = this.deployedContracts[className];
|
||||
var contract = this.contractDB[className];
|
||||
|
|
Loading…
Reference in New Issue