Commit Graph

3111 Commits

Author SHA1 Message Date
Nikhil Suri 56b847c41d
cosmwasm: clean up unused dependencies (#2629) 2023-04-13 12:34:08 +01:00
Nikhil Suri 6fd43d11ae
terra: change nft-bridge name to nft-bridge-terra (#2607)
* terra: change nft-bridge name to nft-bridge-terra for compatibility with solana nft-bridge package

* change nft_bridge.wasm to nft_bridge_terra.wasm in deploy script
2023-04-11 18:48:23 -04:00
Alber 5a2fc6e1ef
clients/js: add worm info namespace (#2603)
This PR adds a new namespace worm info, which includes commands showing static data of chain-id, contract addresses and rpc endpoints.
2023-04-11 17:44:50 -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
Nikhil Suri f576dffcff
whitepapers: add ibc generic messaging whitepaper (#2588)
* whitepapers: add ibc generic messaging whitepaper

* Address review comments from SEJeff

* Added .md file extension

* Address review comments from evan-gray

* Update whitepaper number to 12
2023-04-11 14:53:11 -04:00
Csongor Kiss 9d971c2772 aptos: pin framework deps to `mainnet_20221115` 2023-04-11 14:47:34 -04:00
Nikhil Suri dcbca82c50
wormchain: updates to add ibc (#2589) 2023-04-11 09:33:50 -05: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
tbjump c7897e31b3
whitepapers: First version of integrity checkers and global accountant (#2406)
* whitepapers: First version of integrity checkers and global accountant

* whitepapers: revise accountant whitepaper

* whitepapers: updates for accountant papers

* Wormhole is connected to both L1 and L2 networks, so L1 was replaced
  with blockchain or network where appropriate.
* Change integrity checker "advantages" to "disadvantages" as that is
  what is trying to be explained
* Explain that a pre-observation is just a concept a bit more as
  the actual global-accountant contract function name is
  `send_observations()` not `submit_preobservations()`
* Removed a lot of passive voice and tries to shorten run-on sentences
* Removed the integrity checkers Todo and Caveats as they are empty
* Moved the Integrity Checkers `Detailed Design` section to just a
  terminology section, which is more appropriate for what it was.

* whitepapers: accountant clarifications

Addressing review feedback from: @conorpp and @hendrikhofstadt

This updates the Submitting Observations to Wormchain section to use
`transfer` in place of a mix of transfer and observation. This makes the
text easier to understand. Additionally, it moves the `Pending` status
line up one bullet point to make it more obvious.

* whitepapers: accountant further clarification

Last review comment from @conorpp

* whitepapers: update accountant nits

* whitepapers: addreses review feedback

Thanks @bruce-riley

---------

Co-authored-by: tbjump <unknown>
Co-authored-by: Conor Patrick <conorpp94@gmail.com>
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2023-04-10 15:24:58 -04:00
pongvin e7b606d8ef Update tracking issue
closes #2538
2023-04-10 14:04:04 -04: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
Kevin Peters 908dc5fb3a sdk/js: bumped version to v0.9.12 2023-04-04 16:45:32 +02:00
bruce-riley f9758b38e7
SDK/Node: Sepolia deployment (#2567) 2023-04-03 09:24:17 -05:00
Paul Noel 1358646023 spydk: add done() 2023-03-31 15:07:26 -04: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 708d02f128 wormchain: require go version at least 1.19 2023-03-24 15:39:40 -05:00
Nikhil Suri 081f1997a5
sdk: remove outdated comment on vaa payload size limit (#2546) 2023-03-24 14:34:02 -05:00
Conor Patrick 50a5977baf node: fix deserialization issue for modify_message 2023-03-23 18:10:04 -05:00
tbjump 24f3893b49 vaa/governance: Document other ActionIds 2023-03-20 10:43:44 -07:00
bruce-riley 18e8e14402
Node: Circle Integration governance fixes (#2507) 2023-03-16 09:13:50 -05:00
Conor Patrick 26839604c8 accountant: export governance modules from sdk to double check in contract 2023-03-16 08:48:25 -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
Conor Patrick 16418d190d wormchain: update accountant tests 2023-03-16 08:48:25 -05:00
Conor Patrick 3a1bc456e3 accountant: separate modify_balance into separate module and check test errors 2023-03-16 08:48:25 -05:00
Conor Patrick 62bef9ffb4 wormchain: dont remove v in tag name for release 2023-03-15 11:59:31 -05:00
Conor Patrick c1effe68e0 wormchain: make recipe easier to use for making release build 2023-03-15 11:14:15 -04: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
Evan Gray c07cba2836 cosmwasm: acct: fix emitter requirements 2023-03-10 14:44:17 -06: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
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