update web3 to latest version

This commit is contained in:
Iuri Matias 2016-05-23 09:20:11 -04:00
parent ae4591ea01
commit fe02278179
2 changed files with 8832 additions and 1778 deletions

10361
js/web3.js

File diff suppressed because it is too large Load Diff

View File

@ -189,7 +189,8 @@ Deploy.prototype.execute_cmds = function(cmds) {
Deploy.prototype.generate_provider_file = function() { Deploy.prototype.generate_provider_file = function() {
var result = ""; var result = "";
result = "web3.setProvider(new web3.providers.HttpProvider('http://" + this.blockchainConfig.rpcHost + ":" + this.blockchainConfig.rpcPort + "'));"; result += "var web3 = new Web3();";
result += "web3.setProvider(new web3.providers.HttpProvider('http://" + this.blockchainConfig.rpcHost + ":" + this.blockchainConfig.rpcPort + "'));";
result += "web3.eth.defaultAccount = web3.eth.accounts[0];"; result += "web3.eth.defaultAccount = web3.eth.accounts[0];";
return result; return result;