Code coverage for Solidity smart-contracts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
module.exports = function truffleConfig(port, gasLimit, gasPrice) {
|
|
return `
|
|
module.exports = {
|
|
networks: {
|
|
development: {
|
|
host: "localhost",
|
|
network_id: "*",
|
|
port: ${port},
|
|
gas: ${gasLimit},
|
|
gasPrice: ${gasPrice}
|
|
}
|
|
},
|
|
compilers: {
|
|
solc: {
|
|
version: "0.5.3",
|
|
}
|
|
}
|
|
};`;
|
|
}; |