tbjump
adde6213f5
node/watchers/solana: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
b2ae264928
node/watchers/ibc: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
555b304f46
node/watchers/cosmwasm: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
c33ceadebf
node/processor: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
b5f1622129
node/watchers/algorand: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
91fd0e0517
node: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
e420d26356
node/accountant: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
8f1ab74b53
hack/: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
28fb0f0ec8
node/adminserver: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
990f8d1dbe
node/governor: fix linter warnings
2023-05-05 07:13:40 -07:00
tbjump
8de708193b
node/watchers/wormchain: linter fixes
2023-05-05 07:13:40 -07:00
tbjump
e979d20ccd
node/watchers/near: linter fixes
2023-05-05 07:13:40 -07:00
tbjump
c718834021
node/acct/test: prealloc keys
2023-05-05 07:13:40 -07:00
tbjump
03c0190277
node/watchers/evm: do not allow finalizer == nil (TOB-WORMGUWA-17)
2023-05-04 11:07:07 -07:00
tbjump
3e1b31e7db
node/watchers/evm: comment TOB-WORMGUWA-8
2023-05-04 11:07:07 -07:00
tbjump
5d137b6d88
node/watchers/polygon: implement unsubscribe (TOB-WORMGUWA-7)
2023-05-04 11:07:07 -07:00
tbjump
100a01b4b1
node/watchers/evm: fix potential resource leak due to wrong context usage (TOB-WORMGUWA-6)
2023-05-04 11:07:07 -07:00
tbjump
f60a5c81cc
node/governor: don't log payload during err in reloadPendingTransfer
2023-05-04 11:04:14 -07:00
tbjump
670bfdedbe
node/governor: add type assertion in queryCoinGecko
2023-05-04 11:04:14 -07:00
tbjump
d436ac2166
node/governor fix potential nil ptr deref in reloadPendingTransfer
2023-05-04 11:04:14 -07:00
tbjump
9e522ace16
node/governor: document usage of mutex (TOB-WORMGUWA-2)
2023-05-04 11:04:14 -07:00
bruce-riley
cfeda55cce
Node/Gacct: Fix deadlock when publishing xfers ( #2843 )
...
* Node/Gacct: Fix deadlock when publishing xfers
Change-Id: Ia4dd4eebb9c02fa81a98f368c527e15cca8574ac
* Fix lint errors
Change-Id: Iaef3fefca87de298edbbf43009584c30252b9fe7
2023-05-04 09:57:30 -05:00
tbjump
a88982e43d
upgrade to golang 1.19.9
2023-05-04 07:22:38 -07:00
tbjump
fabbab52d5
node: go mod tidy
2023-05-04 07:22:38 -07:00
tbjump
335c83f080
upgrade to golang 1.19.8
2023-05-04 07:22:38 -07:00
tbjump
c60812537d
node: upgrade golang.org/x/net to v0.9.0
2023-05-04 07:22:38 -07:00
bruce-riley
67c7c86419
Node: Add Sui mainnet support ( #2826 )
...
Change-Id: I6ea3e345c2e907f738fc82298d5497ce858f55fd
2023-05-02 09:24:57 -05:00
bruce-riley
d2e5d04486
Node: Add logging around DB writes ( #2820 )
...
Change-Id: I1c0da08a39ee1ebbd4d62ccb74d550ec8fb06e0c
2023-05-02 09:07:57 -05:00
Paul Noel
3eefb74bfb
node/pkg/watcher: watcher audit change
2023-05-01 15:21:38 -04:00
bruce-riley
e695fad0be
Node: Don't lock memory in testnet ( #2780 )
...
* Node: Don't lock memory in testnet
Change-Id: Id32ce1af82f50a947e80949a54232e11ee7c48ea
* Don't lock in ram for devnet either
Change-Id: I4e3817e726b535661727d05a0c5f65cd613c4900
2023-04-26 10:05:16 -05:00
bruce-riley
4ed89172cc
Node: Block height is always zero on Terra2 ( #2762 )
...
* Node: Block height is always zero on Terra2
Change-Id: Ie504139fa3cd9fcce78dd53ca9a0cfc797f3bf30
* Remove test logging
Change-Id: I273267171f7201818395f17d87592ae75f0ce5c8
2023-04-20 16:28:51 -05:00
bruce-riley
240230bd36
Node/Gov: Use component logging ( #2667 )
2023-04-18 11:38:24 -05:00
bruce-riley
c8e18ba72c
Node: RunWithScissors should not hang on error if no listener ( #2649 )
...
* Node: RunwithScissors should not hang
* Tests should check error text
* Fix data race in tests
* Add comments to explain the tests.
2023-04-18 09:05:20 -05:00
bruce-riley
8a866c3c1d
node: sei testnet support ( #2660 )
...
* Sei testnet support
* Set contract addresses
* node/pkg/watchers: add RunWithScissors
* SDK tweaks
* node: revert "node/pkg/watchers: add RunWithScissors" (#2620 )
This reverts commit 9b8bed4dbf
.
* Make Sei use IBC watcher
---------
Co-authored-by: Paul Noel <panoel007@gmail.com>
Co-authored-by: Paul Noel <35237584+panoel@users.noreply.github.com>
2023-04-18 09:34:01 -04:00
Paul Noel
40a638de4c
node: add sui watcher for devnet and testnet only
2023-04-18 09:03:09 -04:00
bruce-riley
de16e0fd5d
Node/Governor: Regenerate token list and floor prices ( #2465 )
...
* node_update_governor_tokens_and_prices
Change-Id: If4e3b31c97ad85fd59ca8743458a2eef137a946a
* Node/Gov: Update token list
Change-Id: I2379d43afa7777488ae3f37e6d4227b4c966deab
* Add test for empty symbol back in
Change-Id: I6d5f1f55c1b7865144e7accc395e484b47381ef0
2023-04-17 14:43:14 -05:00
bruce-riley
53703d8ffc
Node: ibc watcher ( #2566 )
...
* Node: IBC watcher
* Rework event parsing, add tests
* Config changes
* Config changes
* Start converting to tendermint
* More functionality
* Minor test changes
* Formatting changes
* Code review rework
* Rework event parsing
* More rework
* More rework
* Tweak some log levels
* More rework
* More rework
* Don't enable Terra2 over IBC
* Fix issue with error reporting
* More review rework
* Switch from connection IDs to channel IDs
* Remove unused errC from go routines
2023-04-17 09:54:36 -05:00
bruce-riley
4f1feb3899
Node/Gov: Split up CoinGecko queries ( #2573 )
...
* Node/Gov: Split up CoinGecko queries
* Fix typos
* Minor logging change
* Add tests
2023-04-13 08:18:41 -05:00
Paul Noel
2016da7713
node: revert "node/pkg/watchers: add RunWithScissors" ( #2620 )
...
This reverts commit 9b8bed4dbf
.
2023-04-11 17:55:43 -04:00
tbjump
58f55288f3
node: enforce msg.EmitterAddress != 0
2023-04-11 12:55:49 -07:00
bruce-riley
199159b563
Node/Gov: Fix panic in public RPC ( #2601 )
...
* Node/Gov: Fix panic in public RPC
* governor: mitigate nil ptr deref
---------
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2023-04-10 16:47:23 -05:00
Paul Noel
9b8bed4dbf
node/pkg/watchers: add RunWithScissors
2023-04-10 12:59:27 -04:00
bruce-riley
a846036b6e
Node/Acct: Logging changes ( #2574 )
...
* Node/Acct: Logging changes
* Missed some!
* Switch to using logger.With()
* Still missed some.
* Missed one more
* Yet again
* Missed a few
* Don't need .With in AcctGetData
2023-04-06 13:32:00 -05:00
Paul Noel
048595f3da
node/pkg/watchers: add doc
2023-04-06 13:56:49 +00:00
bruce-riley
f9758b38e7
SDK/Node: Sepolia deployment ( #2567 )
2023-04-03 09:24:17 -05: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
Conor Patrick
50a5977baf
node: fix deserialization issue for modify_message
2023-03-23 18:10:04 -05:00
bruce-riley
18e8e14402
Node: Circle Integration governance fixes ( #2507 )
2023-03-16 09:13:50 -05:00
Conor Patrick
6324a239f9
accountant: address comments from #2513
2023-03-16 08:48:25 -05:00
Conor Patrick
0f123dedb1
node: use new action and module for accountant modify_balance
2023-03-16 08:48:25 -05:00
bruce-riley
2658868ba6
Node: Support VAAs with large payloads ( #2518 )
...
* Node: Support VAAs with large payloads
Change-Id: Ie09bdc8ea0813ee90f9b686f3fe95365baa4014f
* Clean up tests
Change-Id: I983a40a2e7763271c8212ac18455b8b45e48fd3e
2023-03-14 14:32:30 -04:00
bruce-riley
0dc0aefa08
Node/acct minor fixes ( #2502 )
...
* Node/Acct: logonly should not block anything
Change-Id: Ie398596fcaf296a37a9f9a447f70a12d16c5dbe9
* Node/Acct: Increase audit interval
Change-Id: I90b59cb6a353d98a7eb210a6802946d082e0eda6
* Node/Watcher: Log txHash when reobs fails
Change-Id: I1b0b5d9ca53097d8f766264fb225f7592bd76f5b
* Remove unnecessary log message
Change-Id: I838f5e19d705cb086856199e1316b6e9592ced41
* Remove reference to devnet from log msg
Change-Id: Iffaf850751d742b253a03611b4f75f5af183c10e
* Tweak log msg
Change-Id: I98e48eed99058903a0b26c6db67bb0a06bad365b
2023-03-14 09:32:46 -05:00
bruce-riley
9802f9cf2b
Node/Watcher/EVM: Fix TimeOfBlockByHash ( #2517 )
...
* Node/Watcher/EVM: Fix TimeOfBlockByHash
* Tweak log messages
* Remove obsolete source file
2023-03-14 08:21:11 -05:00
tbjump
f311517dcf
node/telemetry: Fix message encoding for Google Cloud Logging
2023-03-09 15:07:10 -05:00
bruce-riley
bed48eb9e8
Node/Acct: Handle large batch status queries ( #2491 )
...
* Node:Acct: Handle large batch status queries
Change-Id: I29a8f3d88644eae1f20632318d5a497ac08720f5
* Comment change
Change-Id: I1bf3fd020e2e816edb1a81de4fcb5428f7733484
2023-03-09 11:33:57 -05:00
tbjump
6def9b306c
node/telemetry: fix nullpointer, _privateLogEntry, tests ( #2482 )
...
1. Fix a nullpointer dereference bug caused by not cloning everything in (enc *guardianTelemetryEncoder) Clone()
2. Fix a bug that caused logs marked with _privateLogEntry to still be sent to telemetry because when a child logger is created (logger.With(zap.Bool("_privateLogEntry", true))) the extra fields will go into the encoder's buffer and will not be passed to EncodeEntry(entry zapcore.Entry, fields []zapcore.Field). This bug had no production impact because the telemetry logger was broken (see (1))
3. make the telemetry module testable and add unit tests
Co-authored-by: tbjump <>
2023-03-08 11:58:51 -08:00
Evan Gray
9da2bd4150
node: fix aptos reobservation
2023-03-07 13:21:56 -05:00
Evan Gray
053b73375b
node: acct increase submission channel size
2023-03-07 13:11:17 -05:00
Evan Gray
be7ac27130
node: remove unnecessary lcd dependency for acct
2023-03-07 13:11:17 -05:00
bruce-riley
5023ffec2b
Node: Circle Integration governance support ( #2444 )
...
* Node: Circle Integration governance support
* Fix spacing
* Code review rework
2023-03-06 13:23:48 -06:00
Hendrik Hofstadt
36c34bec1c
node: remove unused legacy code ( #2441 )
...
* node: remove discord notifier
Change-Id: If309974f73be35bddb3004e62ff9a0e1d06efab8
* node: remove legacy devnet features
Change-Id: I6f9dac21cb44846f638996c3aa5eb8376794cd78
2023-03-03 16:14:39 +01:00
bruce-riley
26da76077e
Node: Rename Arbitrum connector ( #2432 )
...
* Node: Rename Arbitrum connector
Change-Id: I3cb2212f923f260ae92f6bd97b747f9839495744
* Rename the class
Change-Id: I9f8dd5efd3d5e058c1ed70750215144908dbafef
2023-03-01 11:14:25 -05:00
tbjump
73841556ba
node: add request logging with --publicRpcLogDetail and --logPublicRpcToTelemetry ( #2390 )
...
Release Notes
New guardiand cli options:
--publicRpcLogDetail [string]
none -- no logging of gRPC requests at all
minimal -- only log gRPC methods
full (default) -- additionally log user-agent and gRPC request payload
--logPublicRpcToTelemetry [bool]
false do not send publicrpc logs to Google Cloud Logging
true (default) -- (current behavior)
Co-authored-by: tbjump <>
2023-03-01 07:10:04 -08:00
tbjump
c81b5b8df5
node/tools: update dlv to v1.9.1
...
Change-Id: I420e905343118083b72fcffd40d461dca733ce83
2023-02-27 09:21:01 -08:00
Conor Patrick
d4e0445785
node: calculate digests using Vaa type or using message prefix
2023-02-27 08:52:42 -06:00
Paul Noel
ae7de3d575
node: Bedrock changes
2023-02-23 22:26:28 -05:00
marcus-jump
6a1271c824
node/p2p: Protect P2P peers ( #2344 )
...
Co-authored-by: marcus-jump, tbjump
2023-02-23 15:51:27 -08:00
bruce-riley
a2d09dad4b
Node: Base watcher support for testnet ( #2424 )
...
* Node: Base watcher support for testnet
* Add a comment
* Add base to rpc dump command
2023-02-23 18:37:35 -05:00
Hendrik Hofstadt
1409550130
node: fix near watcher tests
...
Change-Id: I76f0863da66b14291fbaaa671b1440197dca7bcd
2023-02-23 07:11:50 -08:00
tbjump
fc1ca4ffb9
node/accountant: defense-in-depth ensure accountant does not create messages outside its domain
2023-02-22 06:53:37 -08:00
Evan Gray
718cd3b1b3
node: new message support in vaa verify
2023-02-17 13:46:27 -05:00
Conor Patrick
bbec427145
accountant: minor cleanup
2023-02-16 18:03:47 -05:00
Paul Noel
b1525333eb
node/cmd: add optimism
2023-02-16 15:17:43 -06:00
Conor Patrick
bd7406afbf
node: add keccak256 as an admin command
2023-02-16 09:36:09 -06:00
Conor Patrick
b35480f966
accountant: address review comments for modify governance vaa
2023-02-15 06:23:25 -08:00
Conor Patrick
4640b6ae73
node: add modify governance vaa for token bridge
2023-02-15 06:23:25 -08:00
tbjump
c6745e50f8
node/grpc: add logging of x-forwarded-for to gRPC middleware
2023-02-14 06:54:33 -08:00
tbjump
71188d66d1
node/p2p: enforce freshness of heartbeats and correctness of guardianAddr
2023-02-13 07:51:03 -08:00
tbjump
f4ec4bfde9
node/p2p: move createSignedHeartbeat to separate function
2023-02-13 07:51:03 -08:00
bruce-riley
c84e37e403
Node/p2p: add sub too slow metric ( #2361 )
2023-02-13 10:11:17 -05:00
bruce-riley
9412845e1b
Node/Gov: add is governed check ( #2351 )
...
* Node/Gov: add is governed check
Change-Id: I451a6466453a292f77088a9203eaf2f5958ab4ab
* Node/Gov: Don't use named return values
Change-Id: Ia4e04e496b0b1525a6cf31fca82d3851e0978cdb
2023-02-13 10:10:52 -05:00
Paul Noel
4d91465e9e
node/pkg: update generated file
2023-02-13 14:47:30 +00:00
Paul Noel
ca72e25a48
node: add dump-rpcs command
2023-02-13 14:47:30 +00:00
Conor Patrick
7e982cb032
wormchain: address comments for migrating wasmd contracts
2023-02-07 12:15:11 -06:00
Conor Patrick
aac92a19e7
wormchain: add migrating contracts with vaa
2023-02-07 12:15:11 -06: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
1658dbffec
node/pkg/watcher: add timeouts
2023-02-06 16:32:25 -05:00
bruce-riley
f2be500799
Node: Increase channel to bigtable ( #2343 )
...
Change-Id: I93410c3dd9d8e2a2afaa76e5e2c66d2ae1a1e2ae
2023-02-06 10:41:33 -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
Bruce Riley
1ca872018b
Acct: Node change to set prefix on obs
2023-01-31 21:16:18 -05: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
bruce-riley
4116f8454d
Node/Acct: Pending status query fix ( #2320 )
...
* Node/Acct: Pending status query fix
* Node/Acct: Test should actually verify the results
2023-01-31 05:22:51 -06:00
Bruce Riley
3dfc8a5285
Node/Acct: add setUpdTime
...
Change-Id: I0a2172a7b8c63ea7973b11c720b2a965aac362f7
2023-01-29 23:54:43 -05:00
Bruce Riley
2005da77f4
Node/Acct: Fix tmp map key format
...
Change-Id: Ic2276dd1bb441f4c8b289068fbf23a42d2450b52
2023-01-29 23:54:43 -05:00
Bruce Riley
8ded72af8b
Node/Acct: Add another test
...
Change-Id: I64e37072e77e199f5ff21300ecd9c20aa81a0b5a
2023-01-29 23:54:43 -05:00
Bruce Riley
4a9b2db2df
Node/Acct: Audit should handle nil status
...
Change-Id: I5bfe79fb02ae5c5ef587608eb6e595ad2dd1f848
2023-01-29 23:54:43 -05:00
Bruce Riley
485d5eb037
Node/Acct: Fix audit interval
...
Change-Id: I23b4d4024462fd47bd0f189f97d0b782fe655a0c
2023-01-29 23:54:43 -05:00
Bruce Riley
90545f7c2a
Node/Acct: code review rework
...
Change-Id: Ib45aec98f855f3e4cff4dabf2d5597ce19b060c9
2023-01-29 23:54:43 -05:00
Bruce Riley
23e09b8ec1
Node/Acct: Tweak audit parameters
...
Change-Id: Icbd3a85c55ca413de9bac13cc3b5b80b310acbad
2023-01-29 23:54:43 -05:00
Bruce Riley
04f5415c84
Node/Acct: audit stuck pending
...
Change-Id: I643ce699b5d5e21129d957dae8677e8f2fccdbfd
2023-01-29 23:54:43 -05:00