Skip to content

Commit

Permalink
src/ -> core/
Browse files Browse the repository at this point in the history
  • Loading branch information
dvush committed Jun 20, 2019
1 parent d489f0d commit a5c78de
Show file tree
Hide file tree
Showing 102 changed files with 18 additions and 18 deletions.
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[workspace]
members = [
"src/data_restore",
"src/key_generator",
"src/merkle_tree",
"src/eth_client",
"src/models",
"src/plasma",
"src/prover",
"src/sandbox",
"src/server",
"src/storage",
"src/circuit",
"core/data_restore",
"core/key_generator",
"core/merkle_tree",
"core/eth_client",
"core/models",
"core/plasma",
"core/prover",
"core/sandbox",
"core/server",
"core/storage",
"core/circuit",
]
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ db-reset: confirm_action db-drop db-setup db-insert-contract
@echo database is ready

db-migrate: confirm_action
@cd src/storage && diesel migration run
@cd core/storage && diesel migration run

db-drop: confirm_action
@# this is used to clear the produciton db; cannot do `diesel database reset` because we don't own the db
Expand Down Expand Up @@ -299,4 +299,4 @@ tesseracts-up:
@docker-compose up -d tesseracts

tesseracts-down:
@docker-compose stop tesseracts
@docker-compose stop tesseracts
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ Client UI will be available at http://localhost:8080

## Database migrations

- ```cd src/storage```
- ```cd core/storage```
- Add diesel migration
- Rename `src/storage/schema.rs.generated` to `schema.rs`
- Rename `core/storage/schema.rs.generated` to `schema.rs`
- Run tests: ```franklin db-tests```

## Generating keys
Expand Down Expand Up @@ -129,4 +129,4 @@ So you need to rebuild the code on every change (to be automated).

```
franklin flatten source
```
```
2 changes: 1 addition & 1 deletion bin/db-setup
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Force read env
FRANKLIN_ENV=
. .setup_env
cd src/storage
cd core/storage

echo DATABASE_URL=$DATABASE_URL
diesel database setup || exit 1
Expand Down
2 changes: 1 addition & 1 deletion bin/db-test
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

. .setup_env
cd src/storage
cd core/storage

export DATABASE_URL=postgres://postgres@localhost/plasma_test

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a5c78de

Please sign in to comment.