Skip to content

Commit

Permalink
Fix test pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaplas committed Aug 5, 2024
1 parent 19e060f commit f5f3af8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
runs-on: buildjet-8vcpu-ubuntu-2204
services:
casper-nctl:
image: makesoftware/casper-nctl:v155
image: makesoftware/casper-nctl:v200-rc3
options: --name mynctl
env:
PREDEFINED_ACCOUNTS: 'true'
MINIMUM_ROUND_EXPONENT: '12'
MAXIMUM_ROUND_EXPONENT: '14'
DEPLOY_DELAY: '5sec'
DEPLOY_DELAY: '30sec'
ports:
- 11101:11101
steps:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by Cargo
# will have compiled files and executables
global_state
target
.*
*.env
Expand Down
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ serde-json-wasm = "1.0"

[patch.crates-io]
casper-types = { version = "5.0.0", git = "https://github.com/casper-network/casper-node", branch = "rustSDK-feat-2.0" }

[profile.release]
codegen-units = 1
lto = true

[profile.dev.package."*"]
opt-level = 3
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ test-examples-on-odravm:
cd examples/ourcoin && cargo odra test

test-examples-on-casper:
mkdir -p examples/wasm
cp modules/wasm/Erc20.wasm examples/wasm/
cd examples && cargo odra test -b casper
cd examples/ourcoin && cargo odra test -b casper
Expand Down

0 comments on commit f5f3af8

Please sign in to comment.