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
Leo
3013f24d59
Update operations.md
2020-12-06 19:25:42 +01:00
Leo
72a98c75a7
Set right permissions in `make install`
2020-12-06 19:25:24 +01:00
Leo
d015422be7
Add Makefile for production builds
2020-12-06 19:21:43 +01:00
Leo
6fd34e3a8c
tilt_modules: commit to repository
...
See https://docs.tilt.dev/extensions.html for rationale.
2020-12-06 18:45:49 +01:00
Leo
594592e2f6
devnet: use wormhole namespace by default
2020-12-05 16:32:37 +01:00
Leo
22d50d24eb
Bump tilt version for named port forwards
2020-12-04 16:40:58 +01:00
Leo
60b5117fbb
Enable Terra support in devnet by default
2020-12-03 16:31:53 +01:00
Yuriy Savchenko
e8b411107d
Terra contract deployment moved to a separate k8s job ( #130 )
...
* Terra contract deployment moved to a separate k8s job
* terra-contracts job moved to the terrad stateful set as a sidecar, terra test addresses added to DEVELOP.md
2020-12-03 14:37:23 +01:00
Leo
d1f572c70f
operations.md: set capabilities
2020-12-01 11:58:41 +01:00
Yuriy Savchenko
cc412605c7
Terra key moved out from env variable, VAA submission on Terra made async ( #129 )
...
* Terra fee payer key moved from environment variable into the separate file
* Removed closed issues from the comments, VAA submition made async
* Review comments fixed
2020-11-30 19:24:39 +01:00
Leo
106fecca00
bridge: always gate Terra features on the main feature flag
2020-11-30 17:13:48 +01:00
Yuriy Savchenko
a77f89f646
Terra configuration moved to docker image instead of config maps ( #128 )
...
* Terra configuration moved to docker image instead of config maps
2020-11-30 12:34:31 +01:00
Hendrik Hofstadt
029d4b71ef
fix account sizes
2020-11-30 11:33:40 +01:00
Hendrik Hofstadt
bec598b41a
Fix subsidization and fees ( #127 )
...
* Revert "solana: partially revert #82 subsidization changes"
This reverts commit 2967653e
* fix subsidization
* fix deleted grpc tag dependency
* revert devnet changes
* verify system instruction action
* ┬─┬ノ(ಠ_ಠノ)
2020-11-30 11:09:08 +01:00
Leo
5997f133c3
solana: use loopback address to connect to other containers in same pod
...
There's a bit of a chicken-and-egg problem here - the liveness probe
cannot succeed until all containers in the pod are ready, and the
service load balancer won't work until it's ready.
2020-11-29 19:19:37 +01:00
Leo
120dfab49e
bridge: type alias for readiness components
2020-11-29 17:07:15 +01:00
Leo
c31777d1b3
e2e: add bidirectional end-to-end tests
2020-11-29 17:07:15 +01:00
Leo
30278397f7
bridge: add erc20 abi for use in tests
2020-11-29 17:07:15 +01:00
Leo
2967653e06
solana: partially revert #82 subsidization changes
...
... while keeping the borrowing fixes. Please review carefully whether
any of the remaining changes should've been reverted as well.
Fails due to account ownership check for debits, new tests caught it.
2020-11-29 17:07:15 +01:00
Leo
fddbd01f9d
solana: update Rust and Solana to latest stable releases
...
Unfortunately, the new release has a much chattier message_processor,
but we cannot do anything about that without losing value debug info.
2020-11-29 17:07:15 +01:00
Leo
de8d1dee31
devnet: pin Dockerfile syntax to digest
...
This speeds up the build by ~1.5s by avoiding a remote lookup on
Docker Hub every time this is built (WTF).
2020-11-29 17:07:15 +01:00