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

Tests: evm rpc tests #1765

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions integration_test/evm_rpc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## TS Tests for evm rpc calls

Tests uses ethers v6 to make json rpc calls to evm rpcs. Tests are running against local sei chain.

In order to run the tests you can run:

``yarn install``

``yarn test``
27 changes: 27 additions & 0 deletions integration_test/evm_rpc/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "evm_rpc",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"test": "mocha -r tsx rpcCalls.ts"
},
"dependencies": {
"@cosmjs/cosmwasm-stargate": "^0.32.4",
"@cosmjs/crypto": "^0.32.4",
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@noble/curves": "^1.4.2",
"@sei-js/core": "^3.2.1",
"@sei-js/proto": "^4.0.9",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"chai": "^5.1.1",
"ethers": "^6.13.1",
"mocha": "^10.6.0",
"ts-mocha": "^10.0.0",
"tsx": "^4.16.2",
"viem": "^2.17.3"
},
"devDependencies": {}
}
Loading
Loading