Skip to content

testnet(0.4): holesky#147

Merged
reecepbcups merged 28 commits intomainfrom
testnet
May 26, 2025
Merged

testnet(0.4): holesky#147
reecepbcups merged 28 commits intomainfrom
testnet

Conversation

@reecepbcups
Copy link
Member

@reecepbcups reecepbcups commented May 8, 2025

ref #153 | Older version of this is found at https://github.com/lay3rlabs/testnet

Summary

Adds proper testnet support for holesky with the same setup flows for local. Testnet requires some external actions (funding the aggregator, operator, and deployer for example) so it properly polls for balance changes on testnet. However on the local version this is not required, and we magically (good devEx) set the account balance without interaction.

This means within 1 foundry flow we support 2 different deployment flows, both with very similar setups.

TODO

  • Update Go & JS examples after merge (another PR). local only examples for simplicity
  • See if I can re-add docci

Stats

  • First WAVS + Aggregator deployment on testnet took me ~6 hours.
  • Now we can easily do a full deploy in ~15 minutes to testnet (most of that time is waiting on Holesky blocks)
  • Local is maybe like, 2 minutes? if even

@reecepbcups reecepbcups changed the title misc finds holesky live testnet setup changes May 9, 2025
@reecepbcups reecepbcups changed the title holesky live testnet setup changes refactor(testnet): holesky live workflows May 16, 2025
@reecepbcups
Copy link
Member Author

NOTE: testnet/README.md is far out of date, latest README.md in the main of the repo is the current WIP. Goal is to transition the main README.md closer to the testnet/README.md without the headache of LOCAL & TESTNET incompatibility

@reecepbcups reecepbcups changed the title refactor(testnet): holesky live workflows refactor(testnet): holesky May 20, 2025
@reecepbcups reecepbcups changed the title refactor(testnet): holesky testnet: holesky May 21, 2025
reecepbcups and others added 6 commits May 21, 2025 20:10
* 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 and others added 3 commits May 25, 2025 10:25
* 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
@reecepbcups reecepbcups marked this pull request as ready for review May 26, 2025 16:56
@reecepbcups reecepbcups changed the title testnet: holesky testnet(0.4): holesky May 26, 2025
@reecepbcups
Copy link
Member Author

Successful runs with:

  • Myself
  • Jakub
  • Jake

Jakub and jake hit the same issues, got those resolved but still pending 2 upstream WAVS changes to get this finalized. Once merged docs can be focused on to match + update the GO / TS examples

@reecepbcups
Copy link
Member Author

Getting this in as the new focus is docs & 3 of us have run through successfully.

@reecepbcups reecepbcups merged commit 91e657c into main May 26, 2025
5 checks passed
@reecepbcups reecepbcups deleted the testnet branch May 26, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants