consensys-truffle

How to deploy truffle contract to dev network when using inheritance?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-05 07:36:09
问题 I have been attempting to deploy a contract using the Truffle framework, I have recently been testing these contracts on the development network. My contract was very large and when I attempted to deploy it to a test net, I was instructed to split it up so that the contract wouldn't exceed the gas limit. Although, bearing in mind this contract did deploy onto the development network with the default gas limit. So I took out parts of the contract and derived another contract from the base and

How to deploy truffle contract to dev network when using inheritance?

自闭症网瘾萝莉.ら 提交于 2020-01-05 07:35:35
问题 I have been attempting to deploy a contract using the Truffle framework, I have recently been testing these contracts on the development network. My contract was very large and when I attempted to deploy it to a test net, I was instructed to split it up so that the contract wouldn't exceed the gas limit. Although, bearing in mind this contract did deploy onto the development network with the default gas limit. So I took out parts of the contract and derived another contract from the base and

Testrpc error: 'no loggers could be found for logger 'jsonrpc.manager'

痞子三分冷 提交于 2019-12-12 01:56:56
问题 I'm trying to run truffle init and get the sample contract running. I run 'truffle init', 'truffle compile', & 'truffle migrate'. In a separate terminal window (same directory as the project), I run testrpc with no errors--I get the 10 hashes I'm supposed to get. So, In testrpc, this is the output when I run 'truffle migrate': Listening on localhost:8545 127.0.0.1 - - [2016-12-07 20:44:14] "POST / HTTP/1.1" 200 718 0.001816 No handlers could be found for logger "jsonrpc.manager". Could there