File tree Expand file tree Collapse file tree 3 files changed +1131
-0
lines changed
Expand file tree Collapse file tree 3 files changed +1131
-0
lines changed Original file line number Diff line number Diff line change @@ -374,6 +374,32 @@ jobs:
374374 popd
375375 ${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }}/tests/nodeos_eos_evm_ws_test_basic.py -v --eos-evm-contract-root ${{ steps.evm-contract.outputs.EVM_CONTRACT }} --eos-evm-build-root ${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }}
376376
377+ - name : Test Web-Socket Fork Handling
378+ run : |
379+ echo "=== current directory is $(pwd)==="
380+ apt-get install psmisc
381+ killall -9 nodeos || true
382+ killall -9 eos-evm-node || true
383+ killall -9 eos-evm-rpc || true
384+ sleep 1.0
385+ mkdir -p ws_test_run_root
386+ cd ws_test_run_root
387+ pip install --upgrade web3
388+ pip install otree
389+ pip install websocket-client
390+ pushd ${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }}
391+ cd peripherals/eos-evm-ws-proxy
392+ npm install env
393+ npm install dotenv
394+ npm install winston
395+ npm install ws
396+ npm install uuid
397+ npm install axios
398+ npm install web3
399+ npm install collections
400+ popd
401+ ${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }}/tests/nodeos_eos_evm_ws_test_fork.py -v --eos-evm-contract-root ${{ steps.evm-contract.outputs.EVM_CONTRACT }} --eos-evm-build-root ${{ steps.evm-node-build.outputs.EVM_NODE_BUILD }}
402+
377403 - name : Prepare Logs
378404 if : failure()
379405 run : |
Original file line number Diff line number Diff line change @@ -2,5 +2,6 @@ add_subdirectory( nodeos_eos_evm_server )
22
33configure_file (antelope_name.py . COPYONLY )
44configure_file (nodeos_eos_evm_ws_test_basic.py . COPYONLY )
5+ configure_file (nodeos_eos_evm_ws_test_fork.py . COPYONLY )
56configure_file (nodeos_eos_evm_server.py . COPYONLY )
67configure_file (nodeos_eos_evm_test.py . COPYONLY )
You can’t perform that action at this time.
0 commit comments