Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This PR adds Project creation functionality #2

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions contracts/truffle-config.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
const path = require("path");
/* eslint-disable */
const path = require('path')

module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
contracts_build_directory: path.join(__dirname, "../src/contracts"),
contracts_build_directory: path.join(__dirname, '../src/contracts'),
networks: {
development: {
host: '127.0.0.1',
port: 8545,
gas: 6721975, // <-- Use this high gas value
gasPrice: 1000000000,
network_id: '*' // Match any network id
}
network_id: '*', // Match any network id
},
},
// Configure your compilers
compilers: {
solc: {
version: "0.6.6", // Fetch exact version from solc-bin (default: truffle's version)
version: '0.6.6', // Fetch exact version from solc-bin (default: truffle's version)
docker: false, // Use "0.5.1" you've installed locally with docker (default: false)
settings: { // See the solidity docs for advice about optimization and evmVersion
settings: {
// See the solidity docs for advice about optimization and evmVersion
optimizer: {
enabled: true,
runs: 200
runs: 200,
},
evmVersion: 'constantinople'
}
}
}
};
evmVersion: 'constantinople',
},
},
},
}
8 changes: 8 additions & 0 deletions debug.log
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@
[0602/192715.870:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0603/212048.026:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0603/212048.028:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0604/185505.121:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0604/185505.138:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0605/101632.670:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0605/101632.672:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0605/105518.019:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0605/105518.043:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0605/114652.318:ERROR:crash_report_database_win.cc(469)] failed to stat report
[0605/114652.321:ERROR:crash_report_database_win.cc(469)] failed to stat report
28 changes: 14 additions & 14 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import theme from './theme-court'
import MainView from './components/MainView'
import ErrorPage from './ErrorPage'

import Dashboard from './components/Dashboard/Dashboard'
import Dashboard from './components/Profile/Dashboard'
abhinav-anshul marked this conversation as resolved.
Show resolved Hide resolved
/* eslint-disable prettier/prettier */

import Tasks from './components/Tasks/Tasks'
import Sample from './components/Sample/Sample'
import Disputes from './components/Disputes/Disputes'
import Disputes from './components/Dashboard/Disputes'
abhinav-anshul marked this conversation as resolved.
Show resolved Hide resolved
import { WalletProvider } from './providers/Wallet'
import { ActivityProvider } from './components/Activity/ActivityProvider'

Expand All @@ -23,18 +23,18 @@ function App() {
<WalletProvider>
<BrowserRouter>
<ActivityProvider>
<Main layout={false} theme={theme}>
<MainView>
{/* <Redirect from='/' to='/dashboard' /> */}
<Switch>
<Route exact path='/profile' component={Dashboard} />
<Route exact path='/leaderboard' component={Tasks} />
<Route exact path='/dashboard' component={Disputes} />
<Route exact path='/sample' component={Sample} />
<Route component={ErrorPage} />
</Switch>
</MainView>
</Main>
<Main layout={false} theme={theme}>
<MainView>
{/* <Redirect from='/' to='/dashboard' /> */}
<Switch>
<Route exact path='/profile' component={Dashboard} />
<Route exact path='/leaderboard' component={Tasks} />
<Route exact path='/dashboard' component={Disputes} />
<Route exact path='/sample' component={Sample} />
<Route component={ErrorPage} />
</Switch>
</MainView>
</Main>
</ActivityProvider>
</BrowserRouter>
</WalletProvider>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ function APIcall() {
className='testcss'
/>
)}

{/* <GitHubLogin
clientId='69bc88033c4b1bc2b4dc'
redirectUri='http://localhost:3000/'
onSuccess={onSuccess}
onFailure={onFailure}
buttonText={boolButtonText}
className='testcss'
/> */}
</Button>
</div>
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.