-
Notifications
You must be signed in to change notification settings - Fork 8
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
[LocalNet] Add Path to LocalNet #879
Draft
red-0ne
wants to merge
13
commits into
main
Choose a base branch
from
feat/localnet-path
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1cba315
path-on-tilt
red-0ne 1e7896b
wip running path
red-0ne 3a9ed50
Merge remote-tracking branch 'origin/main' into feat/localnet-path
red-0ne baa627f
feat: Working path
red-0ne 0100e62
Merge remote-tracking branch 'origin/main' into feat/localnet-path
red-0ne ebaf278
Merge remote-tracking branch 'origin/main' into feat/localnet-path
red-0ne 7ee1843
Merge remote-tracking branch 'origin/main' into feat/localnet-path
red-0ne b82ad3d
fix: Update Path gateways addresses
red-0ne f0b204a
WIP: Make E2E tests work
red-0ne b64a955
fix: Gateway url construction
red-0ne 92a8e4e
Merge remote-tracking branch 'origin/main' into feat/localnet-path
red-0ne 3601174
Revert 0021 to anvil
Olshansk 5b57e3e
WIP
Olshansk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
shannon_config: | ||
full_node_config: | ||
rpc_url: tcp://validator-poktroll-validator:26657 | ||
grpc_config: | ||
host_port: validator-poktroll-validator:9090 | ||
insecure: true | ||
# TODO: Allow sovereign soverign apps to sign their own relay requests. | ||
Check warning on line 7 in localnet/kubernetes/path-config-1.yaml GitHub Actions / misspell[misspell] localnet/kubernetes/path-config-1.yaml#L7
Raw output
|
||
gateway_address: pokt15vzxjqklzjtlz7lahe8z2dfe9nm5vxwwmscne4 | ||
gateway_private_key: cf09805c952fa999e9a63a9f434147b0a5abfd10f268879694c6b5a70e1ae177 | ||
# TODO: Populate delegated_app_addresses from on-chain records. | ||
delegated_app_addresses: | ||
- pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4 | ||
|
||
services: | ||
# Path needs 0021 service ID to handle EVM relays. | ||
"0021": | ||
alias: anvil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
shannon_config: | ||
full_node_config: | ||
rpc_url: tcp://validator-poktroll-validator:26657 | ||
grpc_config: | ||
host_port: validator-poktroll-validator:9090 | ||
insecure: true | ||
gateway_address: pokt15w3fhfyc0lttv7r585e2ncpf6t2kl9uh8rsnyz | ||
gateway_private_key: 177ba43cec962ea407f71da9c3994ba685708e82d5d7a6d7da3268e74119bf88 | ||
delegated_app_addresses: | ||
- pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4 | ||
|
||
services: | ||
"0021": | ||
alias: anvil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
shannon_config: | ||
full_node_config: | ||
rpc_url: tcp://validator-poktroll-validator:26657 | ||
grpc_config: | ||
host_port: validator-poktroll-validator:9090 | ||
insecure: true | ||
gateway_address: pokt1zhmkkd0rh788mc9prfq0m2h88t9ge0j83gnxya | ||
gateway_private_key: f73b6f7f0b9c99603c7eeddbf1c419c6f6bbc241f3798e3e4c8da9769ca81c26 | ||
delegated_app_addresses: | ||
- pokt1mrqt5f7qh8uxs27cjm9t7v9e74a9vvdnq5jva4 | ||
|
||
services: | ||
"0021": | ||
alias: anvil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: path-gateway{actor_number} | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: path-gateway{actor_number} | ||
template: | ||
metadata: | ||
labels: | ||
app: path-gateway{actor_number} | ||
spec: | ||
# TODO: Add resource limits | ||
containers: | ||
- name: path-gateway | ||
image: ghcr.io/buildwithgrove/path:sha-fcf75fe-rc | ||
ports: | ||
- containerPort: 3000 | ||
volumeMounts: | ||
- name: path-config{actor_number} | ||
mountPath: /app/.config.yaml | ||
subPath: .config.yaml | ||
volumes: | ||
- name: path-config{actor_number} | ||
configMap: | ||
name: path-config{actor_number} | ||
items: | ||
- key: path-config-{actor_number}.yaml | ||
path: .config.yaml | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: path-gateway{actor_number} | ||
spec: | ||
selector: | ||
app: path-gateway{actor_number} | ||
ports: | ||
- protocol: TCP | ||
name: rpc | ||
port: {port} | ||
targetPort: 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tl;dr I'm changing this back
I understand why you did this, but:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From my understanding, Path does not know about / have "anvil" as an
EVM
service.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it. PR incoming soon.