Commit Graph

2515 Commits

Author SHA1 Message Date
Chirantan Ekbote afda43a2a0 node: Run `go mod tidy`
Commit "02cf08531 node: move watchers to dedicated package (#1647)"
removed a lot of packages from the node dependency list.  Run `go mod
tidy` to clean up the go.mod and go.sum files.
2022-09-30 16:12:30 +09:00
Bruce Riley aebbbdcb9a Code review rework 2022-09-29 22:38:27 -04:00
Bruce Riley d45a1e95cb Implement finalizer 2022-09-29 22:38:27 -04:00
Bruce Riley 0b6cc9ab44 Basic guardian support 2022-09-29 22:38:27 -04:00
Bruce Riley 87d146a261 Deploy contracts to testnet 2022-09-29 22:38:27 -04:00
Evan Gray 3177cf7eb5 node: fix dockerfile 2022-09-29 17:36:09 -04:00
kev1n-peters 9352784c89
sdk/js: 0.7.0 version bump (#1451) 2022-09-28 23:27:18 +02:00
Josh Siegel 77763d94dd algo/cleanup: cleanup 2022-09-28 13:42:09 -05:00
kev1n-peters c5d2f9d54d
sdk/js: Near refactor, added integration tests (#1648)
* near-sdk-refactor: Fix attest
                 : Fix missing function calls
                 : make near on near
                 : renamed tryHexToNativeStringNear

* near-sdk-refactor: bumped near-sdk-js version

Co-authored-by: Josh Siegel <jsiegel@jumptrading.com>
2022-09-28 08:53:15 -05: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
Hendrik Hofstadt ddd4f26f20
Refactor ethwatcher (#1618)
* reduce code duplication in ethereum watcher

Change-Id: I1d78e9cb86cb126e42959ef5805c0ee1b83e23a6

* reorganize finalizers

Change-Id: I64c61ebd8a03d4ba9f27ce82fbc4cae8b35f19d2

* rename ethereum to evm

Change-Id: I6d1e56df65c74edb3643b3506adcff8588e0a87b

* reorganize connectors

Change-Id: I21b31fb00f34dd6501e957b8f528723d5f548a52

* restructure into modular connectors

Change-Id: I111403a29464acfccad18b261658f59176a8795d
2022-09-28 13:15:57 +02:00
ckeun 69962f96f5
cloud_functions: near support (#1614)
* cloud_functions: near support

* cloud_functions: moonbeam support

* cloud_functions: fix lint issue

* Added algorand & near wormhole addresses for their tokens

* Added near tokens to tokenAddressExceptions

* Use wormhole go sdk

Co-authored-by: Kevin Peters <kpeters@jumptrading.com>
2022-09-27 16:38:43 -05:00
Csongor Kiss 37ee5cf4a4 terra: Add fromAddress to payload 3 2022-09-27 12:19:25 -04:00
Csongor Kiss d0900c791a terra/token-bridge: fix lunc tax deduction 2022-09-27 11:54:47 -04:00
bruce-riley ddd8b78160
node: don't store pythnet VAAs in the database (#1643)
* Don't store pythnet VAAs in the database

Change-Id: Ief4357ab4c909d25dc9182490c322ef253ac23d3

* Clean up logging

Change-Id: I46efea96d6c2ba65459254ffeb21f5d65abebb01

* Rework this to require less custom code

Change-Id: Ib7f521ecff62b1bd13efcb627f88413f4141de59

* Fix copy paste error

Change-Id: I067f8364042f494ad56ed88919cd917f18423073

* Fix typo

Change-Id: I22ccb56ac330bd557b6e8438cfe9c02d7593361d
2022-09-27 08:14:52 -05:00
Paul Noel e2575550e8 cosmwasm/tools: fix tilt 2022-09-27 07:58:28 -05:00
Paul Noel eb42bc48e7 cosmwasm/test: add integration tests 2022-09-27 07:58:28 -05:00
Csongor Kiss c22d0c222b cosmwasm: Add shutdown feature flag to token bridge 2022-09-27 07:58:28 -05:00
Josh Siegel 4b38dc650b algo/clawback: allow algorand clawback 2022-09-26 12:26:24 -05:00
bruce-riley 2b582b10b8
node: governor publish gossip (#1538)
* Governor publish gossip

Change-Id: I2b8b1ea84a0c411101a7027acd3a27a6d6464d59

* Update the config publish time

Change-Id: Ic6abf84befb1c20756da2ff66b15a8325dc46067

* Not setting value on enqueued VAAs correctly

Change-Id: I9fd3a5d8fc574f8382125445fa688efdae45b88c

* Publish at most 20 VAAs, not 20 per chain

Change-Id: Ic9dff99c59ee89d57fd79158844a1fe1a0003112

* Switch to using signed messages

Change-Id: I66cddc7477cd477aa77bdadfc346b588f2ae645b

* Publish status only once per minute

Change-Id: I972fb0cf868e89c6f74ae4441471a55df389f4dd

* Minor comment change

Change-Id: I0d3e443cbec7edd282f89c1a5cce5d5ec8776d55
2022-09-26 11:24:30 -05:00
bruce-riley fb9f93e892
node: add command to purge pythnet VAAs (#1636)
* Add command to purge pythnet VAAs

* Add test for purging a single emitter address

* Fix lint error

* Using the wrong delete primative

Change-Id: I80d5294c17279d4e49220d81807e5964a5591721
2022-09-26 09:04:30 -05:00
Jeff Schroeder 239e27ca91
Remove solana and pythnet websocket flags (#1649)
They're both unused since the solana watcher uses http and not a
websocket for getting info.
2022-09-26 14:56:39 +01:00
Hendrik Hofstadt 5993a231fa
node: prevent reobservation of unreliable messages (#1627) 2022-09-26 13:11:22 +02:00
Josh Siegel 1febea03b5 algo/typo: type fix, algorand tests, near tests 2022-09-26 05:26:56 -05:00
Jonathan Claudius aac9a3b4a0
Remove duplicate audit entries (#1644)
* Remove duplicate audit entries
* Fix italic formatting
2022-09-23 08:22:17 -07:00
claudijd 7aca3d2e3a Fix status of aptos audit 2022-09-22 20:00:41 -04:00
claudijd 33922b8f13 Add aptos audit stub 2022-09-22 20:00:41 -04:00
claudijd a670a6bab3 Drop Solana back down to pre-merge limit 2022-09-22 19:30:35 -04:00
tbjump 5bd96a5c8c add Trail Of Bits report 2022-09-22 19:05:01 -04:00
Hendrik Hofstadt eaa1012cd3 node: add buffer to chain specific reobservation channels
Change-Id: I59743a605c92bbff82789c5d981dca882be8bbbe
2022-09-22 15:22:51 -04:00
Chirantan Ekbote 5be3c5f072 node: Don't block on reobservation channel
The per-watcher channels for reobservation requests don't have a
buffer, which means that if sending on any one channel blocks then _all_
reobservation requests get blocked.  Make the send fallible and log if
it blocks instead.
2022-09-22 15:22:51 -04:00
Chirantan Ekbote 0552e2fe0c node: processor: Rate-limit reobservations
We currently run the cleanup loop every 30 seconds, which means that
once 5 minutes have passed for an observation without quorum we will
send out re-observation requests to the p2p network every 30 seconds.

This is a bit excessive so limit sending these requests out to once
every 5 minutes.
2022-09-22 15:22:51 -04:00
claudijd f14835f4b4 Add Hacken Audit 2022-09-21 13:21:35 -04:00
claudijd 6b9283e065 Move 3rd party audits up 2022-09-21 13:21:35 -04:00
Chirantan Ekbote 3103e59217 node: Add race detection to unit tests in CI 2022-09-21 09:47:15 +09:00
Chirantan Ekbote 9989730d8f node: common: Fix racy test
Use a channel instead of concurrently accessing the same variable from 2
different goroutines.
2022-09-21 09:47:15 +09:00
Kevin Peters 7eddddc17c Added NEAR audit report 2022-09-20 12:57:27 -05:00
Evan Gray 239b22e3a8 sdk/js: add injective 2022-09-20 17:14:05 +00:00
Josh Siegel 34355fd234 algo/hashFix: Change how we confirm clear state 2022-09-20 11:06:55 -05:00
Josh Siegel 5d71e619c1 algo/builds: algorand mainnet builds 2022-09-20 10:37:59 -05:00
Chirantan Ekbote d5b7bee86e solana: Add fmt, check, clippy, and test targets to Makefile
Add fmt, check, and clippy targets to the Makefile so that people don't
have to remember the exact set of parameters needed.  Also fix the test
target since we no longer run the tests through docker.
2022-09-20 23:00:47 +09:00
Chirantan Ekbote 9d7e56bbfc Don't run solana CI in Tilt
Now that we have a github action to run the solana checks we no longer
need to run it in Tilt.
2022-09-20 23:00:47 +09:00
Chirantan Ekbote a1576edbba Run solana checks via github actions
The current approach of running solana checks in Tilt is a bit unwieldy
and makes it hard to find errors in all the log spam.  Move the checks
into a github action instead.  This gives us more flexibility to add
formatting and linting checks and also makes it easier to quickly find
any issues in the logs.
2022-09-20 23:00:47 +09:00
Chirantan Ekbote 0f0ea48fdc solana: Fix clippy warnings 2022-09-20 23:00:47 +09:00
Chirantan Ekbote e377a75e2b solana: run `cargo fmt` 2022-09-20 23:00:47 +09:00
Chirantan Ekbote 25dde0b614 solana: bridge: Fix unused variable warning 2022-09-20 23:00:47 +09:00
Chirantan Ekbote 6c4aad8610 solana: nft_bridge: Replace deprecated function
The replacement function seems like it does the same thing but with an
instruction enum instead.
2022-09-20 23:00:47 +09:00
claudijd ef5ddec6bc Add table of contents and trust assumptions 2022-09-20 08:56:55 -04:00
claudijd 5b3a940ab6 Add CosmWasm for ToB audit 2022-09-20 08:56:55 -04:00
claudijd 32759b6bd6 Add KYC and no double-dipping 2022-09-20 08:56:55 -04:00