diff --git a/.github/workflows/starknet-js-tests.yml b/.github/workflows/starknet-js-tests.yml index b237187e82..4ca36c7f9f 100644 --- a/.github/workflows/starknet-js-tests.yml +++ b/.github/workflows/starknet-js-tests.yml @@ -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 diff --git a/.github/workflows/starknet-rpc-tests.yml b/.github/workflows/starknet-rpc-tests.yml index bd2c67161e..9f7ae72375 100644 --- a/.github/workflows/starknet-rpc-tests.yml +++ b/.github/workflows/starknet-rpc-tests.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index d58ea79af7..4e465724fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/scripts/run_node.sh b/scripts/run_node.sh index 9073d4f877..2faf3c8e0d 100755 --- a/scripts/run_node.sh +++ b/scripts/run_node.sh @@ -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