Skip to content

Commit

Permalink
Revert "update scripts to use port 8545"
Browse files Browse the repository at this point in the history
This reverts commit 079a3a6.
  • Loading branch information
ewingrj committed Jan 23, 2018
1 parent 079a3a6 commit 2762bc8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"uploads": "../uploads",
"uploadsBaseUrl": "http://localhost:3030/uploads/",
"blockchain": {
"nodeUrl": "ws://localhost:8545",
"nodeUrl": "ws://localhost:8546",
"startingBlock": 0
},
"authentication": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/confirm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Web3 = require('web3');
const { LPVault } = require('giveth-liquidpledging-token');

const web3 = new Web3("ws://localhost:8545");
const web3 = new Web3("ws://localhost:8546");

async function confirmPayments() {
const from = '0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1';
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { LPPCampaignFactory, LPPCampaignRuntimeByteCode } = require('lpp-campaign
const { LPPCappedMilestones, LPPCappedMilestonesRuntimeByteCode} = require('lpp-capped-milestone-token');
const { MiniMeToken, MiniMeTokenFactory } = require('minimetoken');

const web3 = new Web3('ws://localhost:8545');
const web3 = new Web3('ws://localhost:8546');

async function deploy() {
const accounts = await web3.eth.getAccounts();
Expand Down
2 changes: 1 addition & 1 deletion scripts/getState.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Web3 = require('web3');
const { LiquidPledging, LiquidPledgingState, LPVault } = require('giveth-liquidpledging-token');

const web3 = new Web3('ws://localhost:8545');
const web3 = new Web3('ws://localhost:8546');

async function printState() {
const liquidPledging = new LiquidPledging(web3, '0x5b1869D9A4C187F2EAa108f3062412ecf0526b24');
Expand Down

0 comments on commit 2762bc8

Please sign in to comment.