-
Notifications
You must be signed in to change notification settings - Fork 816
Stacks Watcher Update (Full changes) #4592
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
base: main
Are you sure you want to change the base?
Conversation
* chore: wip * chore: wip * chore: wip pre-polling * feat: update to polling style * feat: add reobserve * docs: update comment * chore: remove port remnants * fix: update event logic and contracts * chore: remove unwanted changes * chore: clean up test dir * docs: update readme * chore: remove contract files for later merging in via separate pr * Revert "chore: remove contract files for later merging in via separate pr" This reverts commit 0e3fdaf. * fix: add more integration progress * chore: ai progress * chore: update readme * chore: update readme * chore: remove file * chore: wip * chore: update scripts for spy test * fix: add tx_status check for processing stacks transactions in the watcher * chore: remove outdated test dir (wormhole-foundation#6) Co-authored-by: janniks <[email protected]> * refactor(audit): minor updates (wormhole-foundation#7) * build: remove guardian dependency from stacks node * refactor: make default parameters configurable --------- Co-authored-by: janniks <[email protected]> * fix: update contracts * fix: ntt eth deploy updates * chore: rename tmp notes * fix: cherry pick watcher updates * chore: update parameters * fix(audit): update emitter address * fix: pull in updates * fix(audit): switch to state contract tracked owner var * fix: update state contract changes * chore: update notes * fix(audit): add active contract fetching * fix(audit): add max bigint checks, closes #4 * fix(audit): add missing fetch method * fix(audit): fix incorrect clarity byte * fix(audit): check burn block confirmation height for reobserve requests, closes #2 * fix: switch to confirmed height rather than processed height * fix: remove stacks port remnant * fix: add stacks defaults directly in node config * chore: remove addressed comments, l1 finalizers not needed for stacks * chore: update contracts * fix: add missing c32 file * added POC for stacks native api * fixed c32 * reverted variable renaming * test: update integration style tests * refactor: move to Tilt tests with it cases * refactor: update stacks test setup * refactor: update stacks k8s * chore: update test files * test: update spy handling * chore: update contracts * test: fix resolve check * chore: update logs * fix: remove submodule * fix: remove submodule * fix: update integration tests * fix: switch to latest node develop branch * fix: type errors * chore: remove old notes * refactor: rename native mode * chore: udpate to v3 endpoints * fix: add working hacknet * fix: update contracts * fix: cleanup config files * fix: add working nakamoto tx hacknet * fix: working wormhole message with node only * fix: minor updates * fix: update failure checks * refactor: streamline VAA monitoring * test: update integration test * test: add nonce to contract name * test: fix faulty tests * test: use pr build for stacks node --------- Co-authored-by: janniks <[email protected]> Co-authored-by: Roberto De Ioris <[email protected]> Co-authored-by: jannik-stacks <[email protected]>
* feat: squashed stacks implementation * chore: wip * chore: wip * chore: wip pre-polling * feat: update to polling style * feat: add reobserve * docs: update comment * chore: remove port remnants * fix: update event logic and contracts * chore: remove unwanted changes * chore: clean up test dir * docs: update readme * chore: remove contract files for later merging in via separate pr * Revert "chore: remove contract files for later merging in via separate pr" This reverts commit 0e3fdaf. * fix: add more integration progress * chore: ai progress * chore: update readme * chore: update readme * chore: remove file * chore: wip * chore: update scripts for spy test * fix: add tx_status check for processing stacks transactions in the watcher * chore: remove outdated test dir (wormhole-foundation#6) Co-authored-by: janniks <[email protected]> * refactor(audit): minor updates (wormhole-foundation#7) * build: remove guardian dependency from stacks node * refactor: make default parameters configurable --------- Co-authored-by: janniks <[email protected]> * fix: update contracts * fix: ntt eth deploy updates * chore: rename tmp notes * fix: cherry pick watcher updates * chore: update parameters * fix(audit): update emitter address * fix: pull in updates * fix(audit): switch to state contract tracked owner var * fix: update state contract changes * chore: update notes * fix(audit): add active contract fetching * fix(audit): add max bigint checks, closes #4 * fix(audit): add missing fetch method * fix(audit): fix incorrect clarity byte * fix(audit): check burn block confirmation height for reobserve requests, closes #2 * fix: switch to confirmed height rather than processed height * fix: remove stacks port remnant * fix: add stacks defaults directly in node config * chore: remove addressed comments, l1 finalizers not needed for stacks * chore: update contracts * fix: add missing c32 file * added POC for stacks native api * fixed c32 * reverted variable renaming * test: update integration style tests * refactor: move to Tilt tests with it cases * refactor: update stacks test setup * refactor: update stacks k8s * chore: update test files * test: update spy handling * chore: update contracts * test: fix resolve check * chore: update logs * fix: remove submodule * fix: remove submodule * fix: update integration tests * fix: switch to latest node develop branch * fix: type errors * chore: remove old notes * refactor: rename native mode * chore: udpate to v3 endpoints * fix: add working hacknet * fix: update contracts * fix: cleanup config files * fix: add working nakamoto tx hacknet * fix: working wormhole message with node only * fix: minor updates * fix: update failure checks * refactor: streamline VAA monitoring * test: update integration test * test: add nonce to contract name * test: fix faulty tests * test: use pr build for stacks node --------- Co-authored-by: janniks <[email protected]> Co-authored-by: Roberto De Ioris <[email protected]> Co-authored-by: jannik-stacks <[email protected]> * chore: remove unwanted file * fix: update pr according to repo guidelines * chore: revert go.mod * fix: pin dockerfiles * chore: make linter happy * chore: revert gitignore * fix: add txid to message pub * chore: cleanup duplicate go mod * chore: undo package change * chore: repin dockerfiles * chore: add lock files * chore: add lockfiles in dockerfile * refactor: make success check more verbose * refactor: ignore uncommitted events * fix: add reobservation flag for stacks message pubs * fix: remove unused l1finalizers * refactor: fix lint errors * docs: update stacks readmes * chore: rename stacks test packages --------- Co-authored-by: janniks <[email protected]> Co-authored-by: janniks <[email protected]> Co-authored-by: Roberto De Ioris <[email protected]>
…foundation/wormhole into ext-integration/stacks
* Parse None correctly. * Parse Signed integers with the signed bit. * Add length limits to dynamically sized values. * Add recursive depth limit * Use 'readFull()' instead of 'read()' on Buff * Allow empty buffers
|
@jannik-stacks it looks like this will take some additional work so that the Tilt tests can pass. In the meantime, we can review the main logic. |
johnsaigle
left a comment
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 left some initial feedback. However, it looks like this PR doesn't yet contain the full changes: it's missing @mdulin2 's fixes from the Stacks fork of Wormhole.
node/pkg/watchers/stacks/README.md
Outdated
|
|
||
| ## API Endpoints | ||
|
|
||
| The watcher interacts with the Stacks Node RPC API endpoints: |
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.
Could you add a link to official Stacks documentation here so that we can cross-reference?
| FROM rust@sha256:234b03300ecaae65919eb8cb13ca9b36588b8dff5b1c69581e361f9f25654db1 AS builder | ||
|
|
||
| ARG STACKS_CORE_REPO=https://github.com/stacks-network/stacks-core.git | ||
| ARG STACKS_CORE_BASE_BRANCH=develop |
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.
Could you change this to work from a specific commit hash, ideally one tied to a release? I think we'll want to use a fixed version rather than tracking the latest changes on develop.
# Conflicts: # devnet/stacks-bitcoin.yaml # devnet/stacks-signer.yaml # node/pkg/watchers/stacks/fetch.go # node/pkg/watchers/stacks/watcher.go # stacks/broadcaster/Dockerfile # stacks/stacker/Dockerfile # stacks/test/Dockerfile
# Conflicts: # node/pkg/watchers/stacks/clarity.go
* ci: run ci on this branch * ci: update runner * ci: increase mine interval * chore: trigger ci * ci: install tilt * ci: test k3d * ci: add local registry * ci: update timing for stacks devnet * chore: pin stacks node image * chore: undo ci changes
Stacks Watcher Update
Base
mainIncludes PRs
Additional changes