Skip to content

feat: support evm-rest-rpc's port forward #692

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

Merged
merged 3 commits into from
Jun 9, 2025

Conversation

nowooj
Copy link
Contributor

@nowooj nowooj commented May 27, 2025

Background

Some cosmos chains that support evm-json-rpc on 8545. Add a port-forward script for it.

Features

  • port foward support to evm-http-jsonrpc

Bugfix

  • Typo and timing issues when installing e2e
  • Path of consensus params in the script of the chain supported by evm

Copy link
Collaborator

@Anmol1696 Anmol1696 left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -13,6 +13,8 @@ chains:
exposer: 8081
faucet: 8000
grpc-web: 9091
grpc: 9090
evm-http-jsonrpc: 8545
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we will also need to add this to the default yaml.
Also is it possible to change the name, it seems a little longer. We could just name it, evm-rpc or something?

@@ -92,6 +93,7 @@ if [[ $num_chains -gt -1 ]]; then
[[ "$locallcd" != "null" ]] && color yellow " lcd to http://localhost:$locallcd" && kubectl port-forward pods/$chain-genesis-0 $locallcd:$CHAIN_LCD_PORT > /dev/null 2>&1 &
[[ "$localexp" != "null" ]] && color yellow " exposer to http://localhost:$localexp" && kubectl port-forward pods/$chain-genesis-0 $localexp:$CHAIN_EXPOSER_PORT > /dev/null 2>&1 &
[[ "$localfaucet" != "null" ]] && color yellow " faucet to http://localhost:$localfaucet" && kubectl port-forward pods/$chain-genesis-0 $localfaucet:$CHAIN_FAUCET_PORT > /dev/null 2>&1 &
[[ "$localethereumrest" != "null" ]] && color yellow " ethereum rest to http://localhost:$localethereumrest" && kubectl port-forward pods/$chain-genesis-0 $localethereumrest:$ETHEREUM_REST_PORT > /dev/null 2>&1 &
Copy link
Collaborator

Choose a reason for hiding this comment

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

We dont use the port forwarding script much, are you guys still using it?
I would recommend if you can upgrade to using the starship cli, checkout the npm packages for the same.

For now we can keep this, no worries.

@Anmol1696 Anmol1696 merged commit 4bd6445 into hyperweb-io:main Jun 9, 2025
11 checks passed
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.

2 participants