Commit Graph

732 Commits

Author SHA1 Message Date
Leo b9633d6d65 node/pkg/solana: fork solana-go to add GetConfirmedTransactionWithOpts
certusone/wormhole#248

Change-Id: I093d619cb82b35b963447cf4a5dc18ef6be1a0f5
2021-07-29 14:14:09 +02:00
Leo cd8d2f68ed node/pkg/solana: verbose logging for observations
certusone/wormhole#248

Change-Id: Iae4b4d187e8d6728de9087e43c5f8a7b4d821540
2021-07-29 14:14:09 +02:00
Leo d5e6c844e3 node/pkg/solana: add initial logic for block-by-block requests
CPI part is untested.

Commitment level is hardcoded to "finalized", but can be refactored
to use both "committed" and "finalized" later.

certusone/wormhole#248

Change-Id: I5ae7711c306b33650367e6f7a417ab9d88753612
2021-07-29 12:14:01 +00:00
Leo b70466d185 node/pkg/solana: use gagliardetto/solana-go fork
This fork is up to date on latest Solana changes, while the dfuse
origin appears to be abandoned:

https://github.com/dfuse-io/solana-go/compare/master...gagliardetto:main

Change-Id: I5d2999ec7e26bd79a8302e2a5a6dddfd5e2bcbee
2021-07-28 16:34:24 +00:00
Leo cf9ea6bfde node: add Binance Smart Chain support
BSC is identical to Eth, so we can just re-use our Eth devnet.

Fixes certusone/wormhole#185

Change-Id: Ib96a71b5e5873d7cbd8f26dbb655049c6a64cef9
2021-07-28 16:34:24 +00:00
Leo 1686b35587 node/pkg/ethereum: remove emitGuardianSet flag
Change-Id: Ic275220080d29b5a834f6487502619df877059c9
2021-07-28 16:34:24 +00:00
Leo f717262282 node/pkg/ethereum: rename lockup to message
Change-Id: I914d348940ac3f0c359a4d5175cbe5861e9fe1c2
2021-07-28 16:34:24 +00:00
Leo 863e0e69ec node/pkg/ethereum: configurable chain ID and name
Fixes wormhole/issues#247

Change-Id: Ieb792b73970603283e4ffc4a8b9217c85964fb9f
2021-07-28 16:34:24 +00:00
Alwin Peng 2c56a916eb fix bytes -> string, flip arg order to be less confusing
Change-Id: I952b73628e56bc9449e5525bfd85e57851c20143
2021-07-28 16:00:44 +00:00
Alwin Peng c8bc1b57cc decimal shifting + max outstanding in terra token bridge
Change-Id: I830ea33abfd0b836ea5e69a77678f962cd771e01
2021-07-28 16:00:42 +00:00
Leo 7728b47659 devnet: fix Ready state delay by switching to readinessProbe
This works around an apparent k8s bug where startupProbe does not
respect periodSeconds.

Instead, use a readinessProbe.

Change-Id: I43251284db336ea5ade5b1735a867cf294a7b1c4
2021-07-28 14:59:48 +02:00
Leo 818e23ddca devnet: increase eth tests timeout
60s is not enough on my machine, causing deployment to fail.

Change-Id: Iee6d81ab8251d466a6429ea0555306a50deba34b
2021-07-28 13:37:18 +02:00
Hendrik Hofstadt 047e9deabb Deploy test token to devnet
Change-Id: Id5494802cedcb6eb41c04d366e84f051f42c225e
2021-07-28 08:52:41 +00:00
valentin 62ab6e84a8 test token deployment script
Change-Id: I404855872bd14f523ac9499b1a3a16253210ded0
2021-07-27 16:06:47 +00:00
Leo 3e31a1d388 design: add signed data availability doc
Fixes certusone/wormhole#264

Change-Id: I32aec307032c7d2f20185c680471161e4e0effad
2021-07-27 16:56:50 +02:00
Leopold Schabel 933442ac8a node: create valid key file when an empty description is provided
Fixes certusone/wormhole#257

Change-Id: If0d9883513f4908cdd8303f24a999d1d612fad30
2021-07-27 12:40:46 +00:00
Leo 270bd78e98 solana: log sequence number
Untested: )
Change-Id: If6ff5b1b3b8199d6d8658aea8f3f0babc75b6989
2021-07-27 12:01:28 +00:00
Hendrik Hofstadt 14f61ee73b Move requirements to the correct location
Fixes #266

Change-Id: Id3ac01db49347ee0131f3beac7f2d05e7208ca47
2021-07-27 11:47:08 +00:00
valentin 51e00dc1bf tokenbridge: decimal shifting & max outstanding
Change-Id: Ia9f27f317fe08c1d8dbb9eaa60e53633acfdd381
2021-07-27 11:43:44 +00:00
valentin 14e892300c tokenbridge: implement new governance packet spec
Change-Id: Iee4b596b6a8ca9dfc9c6ee8c6188a4083a05edeb
2021-07-27 08:59:32 +00:00
Hendrik Hofstadt c819165d5c Port terra governance changes to token bridge
Change-Id: I534b408c4539a6badf636d298b57f6d2df3c34d8
2021-07-26 19:04:20 +00:00
Leopold Schabel 4a8b1fe7fc Update CONTRIBUTING.md
Change-Id: I515b0a1e69ad9cc0714a33e34a1861e1cf3a2e03
2021-07-26 16:17:53 +00:00
Reisen db4c0f8f74 Handle Invalid Instructions
Change-Id: I8a6a15b7744e69c7eab88ef50295480bc5fb96ae
2021-07-26 16:09:01 +00:00
Reisen 28c0c3c195 Add Token Bridge test for initialize
Change-Id: Ia65c14b7a7bc6712e79db2b6f4244cb93f63093b
2021-07-26 16:09:01 +00:00
Reisen 191537ef8a Set correct mutability on Initialize
Change-Id: I102cb98678cc20fad6cb07da8835c1effa4973ea
2021-07-26 16:09:01 +00:00
Reisen f8174b7355 Set correct mutability on Attest
Change-Id: Ib9ead9dcc7c150292dcc00be60ac0a9b73935b48
2021-07-26 16:09:01 +00:00
Reisen 5f0707c75d Remove persistent from Bridge tests.
Change-Id: Id149bf38a9b3061964cd2ac2b539ba03c9af0c29
2021-07-26 16:09:01 +00:00
Reisen 64c1d86e4d Change serialize hierarchy for Governance
Change-Id: Id5581f84e9d325e1546f1690ba977b7470915491
2021-07-26 16:09:01 +00:00
Evan Gray 5e37afdb82 bridge_ui: initial commit
Change-Id: I35315035270dece70c5dcb511f4b2e5c6494452b
2021-07-26 15:34:58 +00:00
Leo 514560f52c node: use promauto to auto-register metrics
Fixes certusone/wormhole#188

Change-Id: I26c0e3f05993e44185b6ee2531b7673f7fbc0eb6
2021-07-26 13:01:55 +00:00
Stan Drozd fe48f05366 shell.nix: Set EMITTER_ADDRESS=changeme for development, add node
Change-Id: Id97b1188f890f1325fde3b9052242dd0d00496a8
2021-07-23 15:37:57 +02:00
valentin 1ef05996c6 token amounts and decimal shifts
Change-Id: Ib676ddf8936e2e68b06992e42913f197a356809c
2021-07-23 12:18:11 +00:00
Hendrik Hofstadt 393b522f76 Add Terra and Ethereum Wormhole CLI
Change-Id: I35aa7a801abf77a2e35faa192e685ce738869624
2021-07-23 11:40:36 +00:00
Leo 24b15bba9c node: update Go dependencies and upgrade to Go 1.16.6
Accomplished by simply deleting go.mod and letting go mod tidy recreate
it. Manually bumped terra.go to include the typo I fixed in...January?

Nothing broke in any sort of obvious fashion.

Change-Id: I27ba4bc13a5a55bb6b8fa4fa1d3e83b899b6a294
2021-07-22 23:16:00 +00:00
valentin 70520b210f comply with governance messaging spec
Change-Id: Ia655b430a215df7925ea0ec6977fc9819f0fd892
2021-07-22 16:55:46 +00:00
Leo a191017d22 node: add "admin list-nodes" command
Change-Id: Idbcfb449be300e0dc7f4a655b3f1fc455e4d8158
2021-07-22 15:11:35 +02:00
Leo 4fdfbcdea4 node: expose publicrpc service in admin socket
This makes the publicrpc service available to the admin CLI
regardless of whether the publicrpc socket is enabled on the node.

Change-Id: If0265f3cd14af44a7f8e9726af796f8879dd7a4b
2021-07-22 13:31:46 +02:00
Leo 54b2e51379 publicrpc: move runnable to cmd/guardiand
This matches the adminrpc implementation, removing the runnable
and socket listener from pkg/publicrpc API surface.

Change-Id: Ia6461c2ff839f39462391c5afd2694b1619b30b6
2021-07-22 13:26:19 +02:00
Leo a897166a0c publicrpc: expose PublicrpcServer
This is necessary if we want to register the service
with an existing gRPC server, rather than a separate service.

Also renames PublicRawHeartbeatConnections to RawHeartbeatConns
for brevity and fixes some typos.

Change-Id: If508de0e2fa68738ba204c4aafa1159139c6d1f8
2021-07-22 13:18:22 +02:00
Leo 89c1c92c7f docs: update operations.md
Change-Id: Ief25490d553430a679512f8135173bacc37b90be
2021-07-21 19:52:51 +00:00
Leo 5471d52613 docs: update overview diagram
https://i.imgur.com/o1z42iD.png

Change-Id: I50843041dc63813024e04afbb966eec8ec05e094
2021-07-21 19:52:51 +00:00
Leo 07106497f1 readiness: fix data race
Change-Id: If548f2b28d4ebaaa7d5a2127f684371fad6c2451
2021-07-21 19:52:51 +00:00
Leo e58730168d node: add no-op required dataDir flag
Change-Id: I8090550bbfb26686dcc5f30c3c3dcd66aae8ec10
2021-07-21 19:52:51 +00:00
Leo c5442b9598 dashboards: remove fee payer graphs
Change-Id: I7a316a8c94a454dadd8068699b0443b868725453
2021-07-21 19:52:51 +00:00
Leo ee34086c39 proto: remove fee payer from heartbeat
This wasn't implemented in v1

Change-Id: I271c8abe2b3bb79462e54d6fa37afd235e310df8
2021-07-21 19:52:51 +00:00
Hendrik Hofstadt deb2dc3a11 Fix governance checks in Terra
Change-Id: I5633a0398605327f7a1f96fd91f0336cae248252
2021-07-21 19:47:32 +00:00
Leo 052d922036 Clean up docs and packages for v2
Change-Id: I1020e648f4a8bd51412cf06196e78665308efdac
2021-07-21 19:46:10 +02:00
Leo 5ad3814575 devnet: split up proto generation in web and non-web
This avoids requiring npm for "make bridge"

Change-Id: I10de809a5d7064b53986acd39e52129db195a235
2021-07-21 19:04:04 +02:00
Leo 01564150db e2e: remove
These were testing the token bridge and do not currently pass
(or even compile). We will bring back later some of the code.

Change-Id: I34e9ae5aa901c9b20572d1fc8d87a599fa49ad93
2021-07-21 19:02:55 +02:00
Leo abe95522b1 node: remove terra fee payer argument
Forgot this when cleaning up the Terra submitter

Change-Id: Ied5af6570decf68e5e29c0d793da5e02509a2245
2021-07-21 18:41:42 +02:00