Closed makoto closed 7 years ago
Followed http://truffleframework.com/tutorials/upgrading-from-truffle-2-to-3 + changed any upgraded compiler syntax changes since last Sep.
pragma
;
_
payable
artifacts
networks
truffle.js
gas
from
truffle-contract
package.json
web3.version.getNetwork
contract.setNetwork(network_id)
contract.then
contract.functionCall.then
Conference.address
Conference.deployed().address
balanceDiff
Followed http://truffleframework.com/tutorials/upgrading-from-truffle-2-to-3 + changed any upgraded compiler syntax changes since last Sep.
Contract related
pragma
;;
after_
;payable
;Migrations
artifacts
to load contractConfigurations
networks
ontruffle.js
gas
andfrom
ontruffle.js
truffle-contract
onpackage.json
Frontend
web3.version.getNetwork
to get network_id and set the id viacontract.setNetwork(network_id)
.artifacts
to load contractcontract.then
overcontract.functionCall.then
).Conference.address
overConference.deployed().address
Test
Conference.address
overConference.deployed().address
balanceDiff
to round up by 1/10 rather than 1/1000 (did gas price go up?)