Commit Graph

2875 Commits

Author SHA1 Message Date
Evan Gray c04a32bc55 Update CODEOWNERS 2023-03-09 10:42: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
Jeff Schroeder 9b3458a909 github-actions: remove unused relayer image build 2023-03-08 11:30:36 -05:00
Jeff Schroeder f1daec84b0 github-actions: update go version in build.yml
https://groups.google.com/g/golang-announce/c/3-TpUx48iQY
2023-03-08 11:28:23 -05:00
Jeff Schroeder 9768de3192 relayer: update docs on running a spy
Having two bootstrap nodes allows an outage of the certus one guardian
to not cause too much hassle with existing spy instances or new
guardians restarting.

Thanks @fchantada and the xLabs team for adding the dns and helping
set this up.
2023-03-08 10:33:36 -05: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 d6a28b3b91
Eth: Update testnet karura/acala in truffle cfg (#2473)
Change-Id: I2be913a62fcd405b4b30aa0c61da50e926592741
2023-03-07 08:46:54 -06:00
bruce-riley 4fb3a83485
Client/js: Update karura/acala testnet endpoints (#2469) 2023-03-06 14:53:23 -06: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
Evan Gray 3ba494af96 update codeowners 2023-02-28 13:28:14 -05:00
tbjump c81b5b8df5 node/tools: update dlv to v1.9.1
Change-Id: I420e905343118083b72fcffd40d461dca733ce83
2023-02-27 09:21:01 -08:00
Conor Patrick a64e4717de accountant: review comments 2023-02-27 08:52:42 -06:00
Conor Patrick 7c5bdb1863 accountant: remove double keccak for submitting observations 2023-02-27 08:52:42 -06:00
Conor Patrick d4e0445785 node: calculate digests using Vaa type or using message prefix 2023-02-27 08:52:42 -06:00
bruce-riley 64fb51d68d
Client/js: Add Base testnet support (#2423)
* Client/js: Add Base testnet support

* Client/js: Update sdk version
2023-02-27 08:18:15 -05: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
Kevin Peters 96624168b8 sdk/js: bumped version to v0.9.11 2023-02-23 16:53:31 -05:00
bruce-riley caa71f18a6
Deploy base to testnet (#2422)
* Deploy base to testnet

* Shouldn't add testnet evmChainId to impl

* Add base to rpc dump command

* Oops, wrong branch!
2023-02-23 15:42:30 -05:00
Adam A e2b6e441d4
Update issue templates and add template list config (#2426)
closes #2425
2023-02-23 19:20:38 +00:00
A5 Pickle 302572326e Update CODEOWNERS
Closes #2419.
2023-02-23 11:43:17 -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
tbjump 986265828c SECURITY.md: Add OtterSec Aptos NFT report 2023-02-16 18:05:12 -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 b5ead3204a wormchain: add test for accountant modify 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
Conor Patrick a3a8e3ea87 accountant: use token bridge governance vaa to make modifications 2023-02-15 06:23:25 -08:00
Kevin Peters 3e05a027af sdk/js: v0.9.10 release 2023-02-14 16:03:42 +01: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
heyitaki 1deee6f7a1 sdk/js: reconstruct TokenId obect in getForeignAssetAptos to reduce number of RPC calls 2023-02-10 12:35:34 -05:00
heyitaki e0bebed306 sdk/js: replace bigint literal 2023-02-10 12:35:34 -05:00
heyitaki 0e8f8fa771 sdk/js: add flexible typing for getForeignAssetAptos tokenId param 2023-02-10 12:35:34 -05:00
heyitaki dc924313b9 sdk/js: getForeignAssetAptos takes in tokenId for foreign chains 2023-02-10 12:35:34 -05:00