mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-18 18:26:50 +00:00
add blockchain config to abi
This commit is contained in:
parent
8af4282ed7
commit
07ec906766
@ -33,6 +33,7 @@ BlockchainConfig.prototype.config = function(env) {
|
|||||||
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
env:env,
|
||||||
rpcHost: config.rpc_host,
|
rpcHost: config.rpc_host,
|
||||||
rpcPort: config.rpc_port,
|
rpcPort: config.rpc_port,
|
||||||
gasLimit: config.gas_limit || 500000,
|
gasLimit: config.gas_limit || 500000,
|
||||||
|
@ -198,6 +198,8 @@ Deploy.prototype.generate_provider_file = function() {
|
|||||||
Deploy.prototype.generate_abi_file = function() {
|
Deploy.prototype.generate_abi_file = function() {
|
||||||
var result = "";
|
var result = "";
|
||||||
|
|
||||||
|
result += 'blockchain = '+JSON.stringify(this.blockchainConfig)+';';
|
||||||
|
|
||||||
for(className in this.deployedContracts) {
|
for(className in this.deployedContracts) {
|
||||||
var deployedContract = this.deployedContracts[className];
|
var deployedContract = this.deployedContracts[className];
|
||||||
var contract = this.contractDB[className];
|
var contract = this.contractDB[className];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user