Skip to content

feat: local warg server for LOCAL deployments#163

Merged
reecepbcups merged 12 commits intoreece/split-up-infrafrom
reece/wip-local-oci
May 20, 2025
Merged

feat: local warg server for LOCAL deployments#163
reecepbcups merged 12 commits intoreece/split-up-infrafrom
reece/wip-local-oci

Conversation

@reecepbcups
Copy link
Member

@reecepbcups reecepbcups commented May 16, 2025

dep: reecepbcups/registry#1
dep: Lay3rLabs/WAVS#647

Similar to #158 but going for an OCI only setup vs trying to use warg

@reecepbcups reecepbcups changed the title local oci server local warg server May 19, 2025
Copy link
Member Author

@reecepbcups reecepbcups left a comment

Choose a reason for hiding this comment

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

I wonder if docker compose for the agg + wavs is better than the docker run. Maybe do that instead

Makefile Outdated
COMPONENT_FILENAME?=evm_price_oracle.wasm
CREDENTIAL?=""
DOCKER_IMAGE?=ghcr.io/lay3rlabs/wavs:49ee0c4
DOCKER_IMAGE?=ghcr.io/lay3rlabs/wavs:local-may-19
Copy link
Member Author

Choose a reason for hiding this comment

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

update to official hash once merged

@reecepbcups reecepbcups changed the title local warg server feat: local warg server for LOCAL deployments May 20, 2025
@reecepbcups reecepbcups marked this pull request as ready for review May 20, 2025 13:33
@reecepbcups reecepbcups merged commit 69aa22f into reece/split-up-infra May 20, 2025
5 checks passed
@reecepbcups reecepbcups deleted the reece/wip-local-oci branch May 20, 2025 13:33
reecepbcups added a commit that referenced this pull request May 22, 2025
* create deployer & minimize start all

* create operator script

* generate and fund local aggregator

* create agg + operator cleanup & start all

* launch IPFS in start_all & rename to start-all-local

* start aggregator

* LOCAL WORKING YES

* misc

* refactor(testnet): set service uri standalone (allows for wavs to remain pre start phase) (#160)

* feat: break apart setting the service URI and deploying service -> WAVS instance

* latest wavs & wavs-wasi 0.4 for all components

* merge of #162 into this

* only use the uploaded wasi component for both local & testnet

* fix: golang versions

* fix: use wa.dev domain

* feat: local warg server for `LOCAL` deployments (#163)

* local oci

* oras push package

* move to local image

* rm tmp

* AHHH IT WORKED

* tweaks

* old

* nit: http

* finishing touches

* 1 last

* use upstream wavs image

* fix: space

* refactor: telemetry for testnet (#165)

* Add support for tracing and metrics in default docker compose (#156)

* Add jaeger and prometheus services to docker-compose

* Add wasm-tools install to the readme

* Add empty prometheus.yml file for metrics

* Enable jaeger and prometheus in default wavs config

* Add network mode host and sigkill to the jaeger and prometheus docker compose configuration

* Update readme with instruction how to enable telemetry export

* Add a note about accessing both jaeger and prometheus

* Bring back default debug level in wavs.toml

* Move jaeger and prometheus images to a separate docker compose configuration file

* Add note in readme about the new telemetry docker compose file

* Comment out by default the jaeger and prometheus usage in wavs config

* Enable telemetry export by default; modify readme to simplify the instructions

* latest

* move telemetry to its own dir

---------

Co-authored-by: Jakub Bogucki <jakub@moonbite.space>

* minor

* feat: latest middleware (wip for beta.3+) (#166)

* working local deploy, better checks to avoid pain

* private_key, better upload to ipfs for Testnet

* remove legacy testnet/ dir

* woo! working on testnet (all in this repo)

* optionally include .env

* show logs if failure to start

* wip: holesky having issues, this should work

* note

* feat: add update threshold

* use pinned wavs version

* Add info that the values are to be configured in wavs.toml file

* rm old script

* run `operator-register` in verbose mode

---------

Co-authored-by: Jakub Bogucki <jakub@moonbite.space>
reecepbcups added a commit that referenced this pull request May 26, 2025
* misc finds

* wip further

* latest todos

* getting really close

* found the issue, wavs.toml can't have local as the first chain. has to be holesky :'((( many debugging later. This did work in the past though

* latest gpu machine

* helpers

* latest changes

* fix: more install docs for ubuntu 24 specific edge cases

* fix: example

* minor tweaks

* remove docker default platform set

* fix: do not use `[[` or `]]` to make ubuntu happy

* refactor: use TESTNET_RPC_URL in .env

* feat: smart context rpc switcher (#161)

* feat(->testnet): split up infra to work with holesky workflows (#162)

* create deployer & minimize start all

* create operator script

* generate and fund local aggregator

* create agg + operator cleanup & start all

* launch IPFS in start_all & rename to start-all-local

* start aggregator

* LOCAL WORKING YES

* misc

* refactor(testnet): set service uri standalone (allows for wavs to remain pre start phase) (#160)

* feat: break apart setting the service URI and deploying service -> WAVS instance

* latest wavs & wavs-wasi 0.4 for all components

* merge of #162 into this

* only use the uploaded wasi component for both local & testnet

* fix: golang versions

* fix: use wa.dev domain

* feat: local warg server for `LOCAL` deployments (#163)

* local oci

* oras push package

* move to local image

* rm tmp

* AHHH IT WORKED

* tweaks

* old

* nit: http

* finishing touches

* 1 last

* use upstream wavs image

* fix: space

* refactor: telemetry for testnet (#165)

* Add support for tracing and metrics in default docker compose (#156)

* Add jaeger and prometheus services to docker-compose

* Add wasm-tools install to the readme

* Add empty prometheus.yml file for metrics

* Enable jaeger and prometheus in default wavs config

* Add network mode host and sigkill to the jaeger and prometheus docker compose configuration

* Update readme with instruction how to enable telemetry export

* Add a note about accessing both jaeger and prometheus

* Bring back default debug level in wavs.toml

* Move jaeger and prometheus images to a separate docker compose configuration file

* Add note in readme about the new telemetry docker compose file

* Comment out by default the jaeger and prometheus usage in wavs config

* Enable telemetry export by default; modify readme to simplify the instructions

* latest

* move telemetry to its own dir

---------

Co-authored-by: Jakub Bogucki <jakub@moonbite.space>

* minor

* feat: latest middleware (wip for beta.3+) (#166)

* working local deploy, better checks to avoid pain

* private_key, better upload to ipfs for Testnet

* remove legacy testnet/ dir

* woo! working on testnet (all in this repo)

* optionally include .env

* show logs if failure to start

* wip: holesky having issues, this should work

* note

* feat: add update threshold

* use pinned wavs version

* Add info that the values are to be configured in wavs.toml file

* rm old script

* run `operator-register` in verbose mode

---------

Co-authored-by: Jakub Bogucki <jakub@moonbite.space>

* rm wasm digest (no longer used)

* STAKE_REGISTRY_ADDRESS for operator-list

* latest middleware off of issue 118

* use official middleware (v0.4.0-alpha.5)

* refactor: wasi registry helper script + bug fixes (#168)

* jq should use '' for zsh compat

* upload-to-wasi-registry script

* move sleep before WAVS_ENDPOINT check

* move `PKG_NAMESPACE` out of the wasi registry script, move IPFS section

* rm duplicate .env checks

* fix: sleep time

* latest wavs tag: 542ffb7

* feat: smart trigger streams (Lay3rLabs/WAVS#665)

* nits

* fix: hide docs for go/ts examples (for now)

* nit: js

---------

Co-authored-by: reecepbcups@gmail.com <mona@email.com>
Co-authored-by: Jakub Bogucki <jakub@moonbite.space>
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.

1 participant