Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic websocket integration test #87

Merged
merged 19 commits into from
Nov 10, 2023
Merged

basic websocket integration test #87

merged 19 commits into from
Nov 10, 2023

Conversation

taokayan
Copy link
Contributor

@taokayan taokayan commented Oct 24, 2023

Resolve #66

basic websocket integration test - eth_subscribe for newHeads:

the following components are tested:

leap
cleos
keosd
eos-evm-node
eos-evm-rpc
peripherals/eos-evm-ws-proxy

- name: Test Web-Socket Integration
run: |
echo "=== current directory is $(pwd)==="
apt-get install psmisc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apt-get command would ideally be moved to the ubuntu22.Dockerfile.

cd ws_test_run_root
pip install --upgrade web3
pip install otree
pip install websocket-client
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, these pip install commands would be moved to the ubuntu22.Dockerfile.

npm install uuid
npm install axios
npm install web3
npm install collections
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, installing these packages globally with npm in the ubuntu22.Dockerfile would be preferred.

@taokayan taokayan merged commit 969f754 into main Nov 10, 2023
6 checks passed
@taokayan taokayan deleted the kayan_ws_test branch November 10, 2023 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebSocket proxy unit tests - block monitor
2 participants