Commit Graph

389 Commits

Author SHA1 Message Date
Stanisław Drozd c5d90f779c
Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules (#159)
* Use /usr/bin/env for shell scripts; web/.dockerignore: node_modules
2021-01-23 18:20:17 +01:00
Leo 33690d97b4 Update DEVELOP.md 2021-01-23 02:21:57 +01:00
Leo cb7ddb5a90 docs/operations.md: fix typo
Fixes #158
2021-01-23 01:55:30 +01:00
Leo 5679f67c85 bridge/e2e: fix nil panic in testEthereumLockup 2021-01-21 20:17:23 +01:00
Leo fd4b61b736 bridge/e2e: increase Terra timeout to make it less flaky 2021-01-21 14:39:06 +01:00
Leo 76cb95c51b bridge/pkg/processor: ignore observations while waiting for guardian set fetch
Fixes crash https://gist.github.com/leoluk/17d77fef7c0fd44dd6c3fe3e65bb23a7.
2021-01-21 14:25:27 +01:00
Leo b7c6eb7f3c bridge: upgrade libp2p to v0.13.0 2021-01-21 12:51:19 +01:00
Leo f563de8e31 bridge: upgrade all dependencies to latest patch releases 2021-01-21 12:51:19 +01:00
Leo 2f9ed55b8c docs: document that PokeProposals are no longer needed 2021-01-21 12:00:16 +01:00
Leo b5d8993f44 devnet: Add new command line flags for native Solana poller 2021-01-21 11:40:58 +01:00
Hendrik Hofstadt fd6c54de83
bridge/pkg/solana: use polling GetProgramAccounts watcher (#156)
This mitigates https://github.com/solana-labs/solana/issues/9909 by
polling GetProgramAccounts with a server-side filter. It also removes
the agent dependency for the lockup observation logic - the agent is now
used for transaction construction only.
2021-01-21 11:31:32 +01:00
Leo 108f050c0e Clarify public keys vs public key's hashes in comments and docs 2021-01-21 00:59:50 +01:00
Leo cc1e4d0bdc bridge: remove mentions of lockup observations
We now support different kinds of observed events, not just lockups.
Change the log messages and comments accordingly.
2021-01-21 00:35:52 +01:00
Leo 562eaf5ce7 Log aggregation state of incomplete VAAs 2021-01-21 00:28:15 +01:00
Leo c0eef2fe9b adminGuardianSetUpdateToVAA: check for duplicate guardian keys
Sanity check.
2021-01-21 00:25:38 +01:00
Leo ea21b1782f Explicitly document required command line arguments
Cobra does not support automatic documentation of positional arguments
(see https://github.com/spf13/cobra/issues/378).
2021-01-21 00:01:34 +01:00
Leo f20ec49a0b Remove TODO from protocol.md 2021-01-20 23:46:43 +01:00
Leo 41361c1b3f Update audit status in README 2021-01-19 17:40:15 +01:00
Leo d0d00f4972 Fix crash when testSolanaLockup is executed for the first time
We forgot to initialize the big.Int.
2021-01-19 17:03:48 +01:00
Yuriy Savchenko eeb560cb5c Terra integration added to e2e tests 2021-01-19 16:50:26 +01:00
Yuriy Savchenko eb9c4f2c52 Fixed cargo fmt warnings 2021-01-19 16:50:26 +01:00
Yuriy Savchenko 0a4dffa36e Added tests for the rest of the Terra wormhole contract methods (before was only for VAAs) 2021-01-19 16:50:26 +01:00
Yuriy Savchenko 701154457c New tests and fixes in Terra Wormhole contracts
- added new descriptive errors in terra wormhole contract
- 0-expiration guardian sets error fixed
- added script for test VAAs generation
- added full test coverage for the VAA processing in the contract
- fixed cargo clippy/fmt warnings
2021-01-19 16:50:26 +01:00
Yuriy Savchenko eaee9c0638 Fixed guardian set expiration and quorum logic, tests updated 2021-01-19 16:50:26 +01:00
Hendrik Hofstadt 82fd4293e2
Fix guardian set expiration on Solana (#155)
* fix guardian set expiration on Solana
2021-01-19 16:44:48 +01:00
Leo 9f2f609bc1 Bump Go and pin all Docker images to digests 2021-01-19 16:15:54 +01:00
Hendrik Hofstadt efa03ef73c
Implement upgradeability (#151)
* Implement contract upgrade VAA action

* naming and (╯°□°)╯︵ ┻━┻

* Carefully unflip table and replace broken cutlery ┬─┬ノ( ◕◡◕ ノ)

* fix and automate upgradeability

* document contract upgrade call

* Update comments

* Exhaustiveness check in VAA payload switch

* Fix typo

Co-authored-by: Leo <leo@certus.one>
2021-01-19 13:01:45 +01:00
Hendrik Hofstadt ad9e8cc45b use sollet 2021-01-18 20:33:17 +01:00
Hendrik Hofstadt f4a7e705c9
Refactor VAA parsing into public view method (#153)
* refactor VAA parsing into public view method
2021-01-18 20:14:00 +01:00
Hendrik Hofstadt 274bb7c97d
Owner and sysvar check hardening (#154)
* owner and sysvar check hardening
2021-01-12 23:21:30 +01:00
Leo ad5950ffe7 Make it official that we support exactly 19 validators
Fixes #86
2021-01-11 15:07:28 +01:00
Hendrik Hofstadt 6321ca2a49
Add more metadata to erc20 token name (#152)
* add more metadata to ERC20 name
2021-01-11 14:59:36 +01:00
Hendrik Hofstadt 12a6ae31bc
Watch slots for Solana liveness monitoring (#141)
* add slot notifications to the agent

* fix proto field naming
2021-01-11 12:43:05 +01:00
Hendrik Hofstadt 03ef5e1017
Don't evict governance VAA signatures (#137)
* don't evict governance VAA signatures

They need to persist for data availability (to be cross-submitted to other chains)
2020-12-17 11:27:46 +01:00
Hendrik Hofstadt ba8f4355d5 update WebUI for testnet 2020-12-09 15:49:37 +01:00
Leopold Schabel 2c8b411a6b
Update operations.md 2020-12-08 17:27:22 +01:00
Leo 770393b94e bridge: rename misleading "pending" counter
It includes completed transactions that haven't been timed out yet.
2020-12-08 11:12:11 +01:00
Leo 1c4ed7839d Update operations.md 2020-12-07 21:28:55 +01:00
Leo 0f498df470 Update operations.md 2020-12-07 21:28:33 +01:00
Leo f58aa25dc8 Bump version 2020-12-07 18:05:41 +01:00
Leo 02ce58505e Makefile: run generate build step when making guardiand
This fixes bridge build in a clean checkout.
2020-12-07 18:02:41 +01:00
Leo 45b93f569f operations.md: os-level dependencies 2020-12-07 17:44:03 +01:00
Leo e2f517f91c solana: fix typo in clap help 2020-12-07 11:20:27 +01:00
Leo 477cde5da7 Bump version to v0.1.1 2020-12-07 11:17:53 +01:00
Leo c36d13d6b8 Fix typo in Makefile 2020-12-07 11:17:28 +01:00
Leo 2a4ca51028 Clean up operations.md 2020-12-07 09:21:01 +01:00
Leo 89afda64bf Add systemd units to operations.md 2020-12-06 22:51:35 +01:00
Leo 8b10b96362 solana: use clap for command line arguments 2020-12-06 22:45:45 +01:00
Leo f7f4f6d74b solana: add clap crate and update cargo dependencies 2020-12-06 22:15:43 +01:00
Leo b077104086 bridge: log own peer ID at startup 2020-12-06 20:26:12 +01:00