-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support provider method routes (#1642)
* finished, wip on tests * fixed bugs, added tests and a config * lint
- Loading branch information
1 parent
4dd69db
commit ca1828c
Showing
6 changed files
with
520 additions
and
38 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
config/provider_examples/lava_example_archive_methodroute.yml
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,35 @@ | ||
endpoints: | ||
- api-interface: tendermintrpc | ||
chain-id: LAV1 | ||
network-address: | ||
address: "127.0.0.1:2220" | ||
node-urls: | ||
- url: ws://127.0.0.1:26657/websocket | ||
- url: http://127.0.0.1:26657 | ||
- url: http://127.0.0.1:26657 | ||
addons: | ||
- archive | ||
- url: https://trustless-api.com | ||
methods: | ||
- block | ||
- block_by_hash | ||
addons: | ||
- archive | ||
- api-interface: grpc | ||
chain-id: LAV1 | ||
network-address: | ||
address: "127.0.0.1:2220" | ||
node-urls: | ||
- url: 127.0.0.1:9090 | ||
- url: 127.0.0.1:9090 | ||
addons: | ||
- archive | ||
- api-interface: rest | ||
chain-id: LAV1 | ||
network-address: | ||
address: "127.0.0.1:2220" | ||
node-urls: | ||
- url: http://127.0.0.1:1317 | ||
- url: http://127.0.0.1:1317 | ||
addons: | ||
- archive |
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.