Skip to content

Commit

Permalink
chore: remove CI test of the native execution (keep-starknet-strange#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro authored Nov 23, 2023
1 parent 647965a commit b1c990b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/starknet-js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
./target/release/madara setup --chain=dev --from-local=configs
- name: Run starknet-js test
run: |-
./target/release/madara --dev --execution native &
NATIVE_RUN_PID=$!
./target/release/madara --dev &
MADARA_RUN_PID=$!
while ! echo exit | nc localhost 9944; do sleep 1; done
git clone https://github.com/keep-starknet-strange/sequencer-js-compatibility-tests.git
cd sequencer-js-compatibility-tests
npm install
npm test
kill $NATIVE_RUN_PID
kill $MADARA_RUN_PID
16 changes: 4 additions & 12 deletions .github/workflows/starknet-rpc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,11 @@ jobs:
- name: Setup dev chain
run: |
./target/release/madara setup --chain=dev --from-local=configs
- name: Run rpc native test
- name: Run rpc test
run: |-
./target/release/madara --dev --sealing=manual --execution=Native &
NATIVE_RUN_PID=$!
./target/release/madara --dev --sealing=manual &
MADARA_RUN_PID=$!
while ! echo exit | nc localhost 9944; do sleep 1; done
cd starknet-rpc-test
cargo test
kill $NATIVE_RUN_PID
- name: Run rpc wasm test
run: |-
./target/release/madara --dev --sealing=manual --execution=Wasm &
WASM_RUN_PID=$!
while ! echo exit | nc localhost 9944; do sleep 1; done
cd starknet-rpc-test
cargo test
kill $WASM_RUN_PID
kill $MADARA_RUN_PID
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next release

- chore: remove tests that run in wasm and native, only wasm from now
- chore: split StarknetRpcApi trait in two, like in openRPC specs
- refacto: move starknet runtime api in it's own crate
- chore: update README.md and getting-started.md
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

cargo build --release
exec ../target/release/madara --dev --tmp --rpc-external --execution native --pool-limit=100000 --pool-kbytes=500000 --rpc-methods=unsafe --rpc-cors=all --in-peers=0 --out-peers=1 --no-telemetry
exec ../target/release/madara --dev --tmp --rpc-external --pool-limit=100000 --pool-kbytes=500000 --rpc-methods=unsafe --rpc-cors=all --in-peers=0 --out-peers=1 --no-telemetry

0 comments on commit b1c990b

Please sign in to comment.