Commit Graph

33 Commits

Author SHA1 Message Date
bruce-riley aa22a2b950
Node/CCQ: Load testing tweaks (#3857) 2024-03-26 13:02:41 -05:00
bruce-riley 9514b3562c
Node/CCQ: Concurrent queries (#3844)
* Node/CCQ: Concurrent queries

* Substantial rework
2024-03-20 08:42:31 -05:00
bruce-riley c751af3ea3
Node/CCQ/Solana: Add sol_pda query (#3782)
* Node/CCQ/Solana: Add sol_pda query

* Attempting to fix bigint serialize error in tests

* Try backing out sol_pda tests

* Put some of solana.test.ts changes back

* Add more stuff back

* Add more stuff to solana.test.ts

* Add more solana.test.ts stuff

* Whatever

* More sol_pda test debugging

* Code review rework

* More rework
2024-03-08 11:57:24 -06:00
bruce-riley 3f75eca90e
Node/Solana: Allow reobservation of confirmed messages (#3769)
* Node/Solana: Allow reobservation of confirmed messages

* Add check for finalized watcher

* Tweak finalized change
2024-02-07 16:01:41 +00:00
bruce-riley 3f074f30ee
Node/CCQ: Solana min context slot fix (#3751)
* Node/CCQ: Solana min context slot fix

* Node/CCQ: retry not updating timeout
2024-01-29 12:09:23 -06:00
bruce-riley 10b83f78f5
Node/CCQ: Solana min context slot support (#3747)
* Node/CCQ: Solana min context slot support

* Code review rework

* Add port number to solana test URL
2024-01-26 18:34:17 -06:00
bruce-riley 0c15b07f32
Node/CCQ: Solana library not honoring min context slot (#3743) 2024-01-25 15:13:46 -06:00
bruce-riley 59dff67821
Node/CCQ: Solana query support (#3637)
* Node/CCQ: Solana query support

* Add mock stuff

* Add mock stuff

* Code review rework

* Code review rework

* Only allow "finalized", not "confirmed"

* Code review rework

* Change SolanaAccount query type to 4

* Code review rework

* Fix sdk tests
2024-01-22 18:59:02 -06:00
bruce-riley e0fbd51f77
Node/Solana: Process multiple wormhole instructions (#3527)
* Node/Solana: Process multiple wormhole insts

* Better error logging

* node/solana: consistency defense-in-depth check

* Fix formatting

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-12-01 08:56:59 -06:00
Evan Gray 4bfcb89d4c node/watchers/solana: pythnet safety carve out 2023-11-09 12:26:46 -05:00
Evan Gray 85e785a132 node/watchers/solana: additional safety check 2023-11-08 13:46:43 -05:00
bruce-riley 669e2bc40e
CCQ/Node: Guardian Changes (#3423)
* CCQ/Node: Guardian Changes

* Code review rework
2023-10-12 13:20:42 -05:00
bruce-riley 41fa0ecc0e
Node: Don't request reobservation on reobservations (#3397)
* Node: Don't request reobservation on reobservation

* Acct should handle reloading old pending transfers
2023-09-29 10:42:44 -05:00
Ben Guidarelli a3df706b8a Solana Watcher: filter transactions to those including a log from the wormhole core contractact prior to resolving account table references 2023-09-18 10:17:06 -04:00
Ben Guidarelli 7a75b46597 Solana Watcher: resolve account table lookups for transactions that include v0 account tables 2023-09-18 10:17:06 -04:00
bruce-riley 846deb2f40
Node/Watcher: Update solana min accounts check (#3367) 2023-09-11 10:55:06 -05:00
bruce-riley c9c5fa0598
Node: Remove more info logging (#3171) 2023-07-06 09:33:12 -05:00
tbjump 149d898ac6 node: refactor guardiand/node.go 2023-06-26 07:07:37 -07:00
tbjump e5c8214fa9 node/watchers: Log each watcher's config on startup 2023-06-13 13:38:01 -04:00
tbjump adde6213f5 node/watchers/solana: fix linter warnings 2023-05-05 07:13:40 -07:00
bruce-riley a52acb52a3
Node: Generate readiness labels programmatically (#2540)
* Node: Generate readiness labels programmatically

Change-Id: Ica03a7cc314b92a0521afad053ffa20f03ff6529

* Move obsolete  labels into test code

Change-Id: I682ec4ca2ea36be1f53b3f6d39f2da4191e2805f

* Code review rework

Change-Id: Idc8f17265a0b6ef357ac98707d20cc2486001520

* Redesign based on feedback

* Near tests failing

* Fix panic in solana
2023-03-27 12:50:21 -05:00
Bruce Riley f6825e242e Node/Watcher: make pyth ws restart on all errors
Change-Id: I9956876d4fa8f9fc4614d1e9e294a252cd3b7610
2023-02-07 11:33:22 -05:00
Paul Noel d8f4740717
node: Fix defer (#2334)
* node: Fix defer

* node/pkg/wathcers: fix error
2023-02-06 08:38:45 -06:00
Jeff Schroeder cca154baf6
node: slightly less verbose guardian logging at info level (#2293)
* node: aptos watcher block height logging to debug

It would be nice to redo this log entry to log something more human
readable in addition to a json blob, but one thing at a time.

* node: near watcher info logging to debug

The near watcher logs when attempting to poll a block and when it
successfully polls a block in addition to some metrics. These are useful
logs, but more suited for debug loglevel.

* node: log cosmwasm watcher block height to debug

* node: log solana empty slots as debug

This cuts down on an enormous amount of additional logging.

* node: update logging in sui watcher

* Set some info logs to debug
* Fix tyop of missmatch --> mismatch
2023-01-31 09:24:33 -05:00
tbjump 5323453b81
node: add channel read/write type constraints (#1931) 2023-01-20 13:15:13 -08:00
jumpsiegel 3580f51ccf
node/pythnet: websocket subscription (#2219)
* node/pythnet: websocket subscription
2023-01-18 11:24:55 -05:00
bruce-riley 6de97de242
Node: Neon Watcher Redesign (#1899)
* Node: Neon Watcher Redesign: Issue #1898

* Minor code tweaks

* Get rid of log message

* Updated a comment
2022-11-14 08:07:45 -06:00
bruce-riley b129fcb52d
Node: Disable more PythNet logging (#1829)
* Node: Disable more PythNet logging

* Node: Undo governor change caused by rebase
2022-11-03 11:09:20 -05:00
bruce-riley a7d79407f4
Node: Don't log "Transaction failed" in solana (#1835)
Change-Id: I31ed7c57102dbdcd5956270e99859b9bdeaafb13
2022-11-01 10:13:00 -05:00
bruce-riley ea50bee9d2
Node: Upgrade to solana-go v1.7.1 (#1799)
Change-Id: Ia83b193d524e4c8571bfb8f3dd3075da8b5581cf
2022-10-27 11:14:42 -05:00
bruce-riley ed41a9a4ea
node: update solana watcher to use new solana-go version (#1760)
* node: remove the replace directive for solana-go

This commit that necessitated the fork:

    25b9f3025b

Has been merged upstream:

    9a01ac4f45

We need to pull in the latest solana-go to get support for MaxSupportedTransactionVersion.

* node: upgrade solana-go

This is the output from:

    go get -u github.com/gagliardetto/solana-go

It is required for the MaxSupportedTransactionVersion from:

    6ead48adf2

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2022-10-24 12:22:56 -05:00
Chirantan Ekbote 8569d43ba4 node: solana: Store `lastSlot` more persistently
When the solana watcher is restarted (due to network errors, for
example) then the `lastSlot` state is lost.  This means that any
transactions in between the last processed slot and the most recent slot
will be lost and require manual re-observation.  Fix this by making the
`lastSlot` state persistent across watcher restarts.
2022-10-12 10:02:23 +09:00
Hendrik Hofstadt 02cf08531e
node: move watchers to dedicated package (#1647)
* node: reorganize watchers into own package

Change-Id: Idda82def1c8e1e07376bdc46a50fc02bd6f2386d

* node: rename terra to cosmwasm

Change-Id: Iebe5ccc7c66b772962425a42997bd2cfb66c6908
2022-09-28 15:27:13 +02:00