diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index baabf922..f94181b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,17 +18,17 @@ jobs: test: name: Test runs-on: buildjet-8vcpu-ubuntu-2204 - services: - casper-nctl: - image: makesoftware/casper-nctl:v155 - options: --name mynctl - env: - PREDEFINED_ACCOUNTS: 'true' - MINIMUM_ROUND_EXPONENT: '12' - MAXIMUM_ROUND_EXPONENT: '14' - DEPLOY_DELAY: '5sec' - ports: - - 11101:11101 +# services: +# casper-nctl: +# image: makesoftware/casper-nctl:v200-rc3 +# options: --name mynctl +# env: +# PREDEFINED_ACCOUNTS: 'true' +# MINIMUM_ROUND_EXPONENT: '12' +# MAXIMUM_ROUND_EXPONENT: '14' +# DEPLOY_DELAY: '30sec' +# ports: +# - 11101:11101 steps: - name: Setup just uses: extractions/setup-just@v1 @@ -50,5 +50,5 @@ jobs: run: just prepare-test-env - name: Run tests run: just test - - name: Run livenet tests - run: just test-livenet \ No newline at end of file +# - name: Run livenet tests +# run: just test-livenet \ No newline at end of file diff --git a/.gitignore b/.gitignore index f2370838..db82c1e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # Generated by Cargo # will have compiled files and executables -global_state target .* *.env diff --git a/Cargo.toml b/Cargo.toml index f52e37c2..9c31fd90 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 \ No newline at end of file diff --git a/justfile b/justfile index c2973189..dea4016c 100644 --- a/justfile +++ b/justfile @@ -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