From b28380f84f5c6355160de2ae1bf231dafe949743 Mon Sep 17 00:00:00 2001 From: Makoto Inoue Date: Sun, 8 Oct 2017 21:28:31 +0100 Subject: [PATCH 1/4] Update Ethereum London data --- src/components/Data.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/Data.js b/src/components/Data.js index 9168be3..8c8dd20 100644 --- a/src/components/Data.js +++ b/src/components/Data.js @@ -4,8 +4,16 @@ import React from 'react'; let Data = [ { - name: 'Ethereum London September 2017', + name: 'Ethereum London October 2017', address: null, + date:'Wednesday, October 11, 2017 6:25 PM to 9:00 PM(UTC+1)', + map_url: 'https://www.google.com/maps/place/Imperial+College+London/@51.4987997,-0.1770659,17z/data=!3m1!4b1!4m5!3m4!1s0x48760567da220a01:0x31911b371c692e86!8m2!3d51.4987997!4d-0.1748772?hl=en', + location_text: 'Sir Alexander Fleming Building (SAF) LT1 G16', + description_text: '' + }, + { + name: 'Ethereum London September 2017', + address: '0x56812b5b1c3594af9e0b8a22d07025f5ee3debcd', date:'Wednesday, September 13, 2017 6:45 PM to 9:00 PM(UTC+1)', map_url: 'https://maps.google.com/maps?f=q&hl=en&q=Huxley+Building%2C+Imperial+College+%2C+London+SW7+2AZ%2C+gb', location_text: 'Clore Lecture Theatre, Huxley Building, Imperial College, London (SW7 2AZ)', From 118248900d74f8583ca66ddf9acf5771b4d21193 Mon Sep 17 00:00:00 2001 From: Makoto Inoue Date: Sun, 8 Oct 2017 23:04:56 +0100 Subject: [PATCH 2/4] Add contract detail --- app_config.js | 4 ++-- src/components/Data.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app_config.js b/app_config.js index 532cfce..4b08a26 100644 --- a/app_config.js +++ b/app_config.js @@ -12,8 +12,8 @@ module.exports = { }, ropsten: { contract_addresses:{ - 'Conference': null, - 'ConfirmationRepository': null + 'Conference': '0x9320e062d621938bf0e1761f5a005b5caa441e39', + 'ConfirmationRepository': '0xe444b7bec7a2dbd571523a1e2e4580a1b4c1c9b1' }, name: 'ROPSTEN NET', etherscan_url: 'https://ropsten.etherscan.io' diff --git a/src/components/Data.js b/src/components/Data.js index 8c8dd20..a7d5798 100644 --- a/src/components/Data.js +++ b/src/components/Data.js @@ -5,7 +5,7 @@ import React from 'react'; let Data = [ { name: 'Ethereum London October 2017', - address: null, + address: '0x9320e062d621938bf0e1761f5a005b5caa441e39', date:'Wednesday, October 11, 2017 6:25 PM to 9:00 PM(UTC+1)', map_url: 'https://www.google.com/maps/place/Imperial+College+London/@51.4987997,-0.1770659,17z/data=!3m1!4b1!4m5!3m4!1s0x48760567da220a01:0x31911b371c692e86!8m2!3d51.4987997!4d-0.1748772?hl=en', location_text: 'Sir Alexander Fleming Building (SAF) LT1 G16', From 3cd4092c6869dd37878c8f9dde5e30d4264343c2 Mon Sep 17 00:00:00 2001 From: Makoto Inoue Date: Sun, 8 Oct 2017 23:06:27 +0100 Subject: [PATCH 3/4] Increase default gas on Ropsten 20gwei to 50gwei --- scripts/util/set_gas.js | 2 +- truffle.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/util/set_gas.js b/scripts/util/set_gas.js index 9e8cc43..8a9753f 100644 --- a/scripts/util/set_gas.js +++ b/scripts/util/set_gas.js @@ -6,7 +6,7 @@ module.exports = function(web3){ if (network_id == 1) { // mainnet gas = 2000000000 // 2 gwei }else if (network_id == 3) { - gas = 20000000000 // 20 gwei + gas = 50000000000 // 50 gwei }else{ gas = 1; } diff --git a/truffle.js b/truffle.js index 0ee6bf0..68c5060 100644 --- a/truffle.js +++ b/truffle.js @@ -26,7 +26,7 @@ module.exports = { gasPrice: 0x01 }, ropsten: { - gasPrice: 20000000000, // 20 gwei, + gasPrice: 50000000000, // 50 gwei, provider: provider, network_id: 3, from: address From f98abb3ad93f986af86120468415c6060760f746 Mon Sep 17 00:00:00 2001 From: Makoto Inoue Date: Sun, 8 Oct 2017 23:09:27 +0100 Subject: [PATCH 4/4] Fix error when compiling assets --- src/components/ConferenceDetail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ConferenceDetail.js b/src/components/ConferenceDetail.js index d9f38eb..653d303 100644 --- a/src/components/ConferenceDetail.js +++ b/src/components/ConferenceDetail.js @@ -70,7 +70,8 @@ class ConferenceDetail extends React.Component { toEther(value){ if(value){ - return math.round(this.props.web3.fromWei(value, "ether").toNumber(), 3).toString(); + // return math.round(this.props.web3.fromWei(value, "ether").toNumber(), 3).toString(); + return this.props.web3.fromWei(value, "ether").toString(); } }