-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added commands to run tests on MockVM and casper backend
- Loading branch information
1 parent
eb12930
commit 818b289
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,18 +34,22 @@ cargo install cargo-odra --locked | |
|
||
- Clone repository | ||
|
||
``` | ||
```bash | ||
git clone [email protected]:invariant-labs/protocol-cspr.git | ||
``` | ||
|
||
- Build contract | ||
|
||
``` | ||
```bash | ||
cargo odra build -b casper | ||
``` | ||
|
||
- Run tests | ||
|
||
``` | ||
```bash | ||
# Run tests on MockVM | ||
cargo odra test | ||
|
||
# Run tests on Casper backend | ||
cargo odra test -b casper | ||
``` |