Commit Graph

21 Commits

Author SHA1 Message Date
Leo a4058512d5 bridge: migrate cmd/ to cobra
Reviewer note: Does not touch any of the business logic. Avoided
renaming files whereever possible to make it easier to spot differences.

Verbatim migration, in a future CL, we could replace some of the
flag validation code with cobra features and eliminate the global vars.

Moved the dlv tool definition out of the way for the top-level wrapper.

tools/bin/cobra is a helper utility that generates boilerplate
(we slightly deviate from their default scheme by having guardiand
in a separate package, rather than stuffing everything into cmd/)

ghstack-source-id: caec9a38a6
Pull Request resolved: https://github.com/certusone/wormhole/pull/67
2020-10-28 22:47:12 +01:00
Leo e9fa171da8 Remove devnet_setup.sh live sync
Will be moved to a solena-devnet sidecar
2020-08-21 23:15:48 +02:00
Leo 86ccc1c617 Solana devnet fixtures and lockup generator 2020-08-21 20:48:58 +02:00
Leo ebdafacf0e Tiltfile fmt 2020-08-20 18:56:35 +02:00
Leo 894e058091 Build Solana smart contract 2020-08-20 18:56:26 +02:00
Leo 59d6ece608 bridge: grpc codegen 2020-08-20 18:42:46 +02:00
Leo d6ef9c932c bridge: listen to eth lockups and aggregate signatures from all nodes
Improved devnet setup to generate deterministic node and guardian keys.

Devnet setup routine that configures a dynamic guardian set on Ethereum.

Configurable number of nodes in Tiltfile.
2020-08-19 14:24:38 +02:00
Leo 12873e5819 Add tooling to regenerate the Go ABI 2020-08-17 23:02:06 +02:00
Leo 2f526ff136 Tiltfile: Remove outdated comment 2020-08-17 16:43:09 +02:00
Leo e548bbbee3 devnet: add send-lockups.js truffle script to generate test lockups 2020-08-17 16:31:48 +02:00
Leo 6ec5ffb1ce Tiltfile: remove live_update for Ethereum now that the build is fast 2020-08-17 11:58:18 +02:00
Leo 2744c1df25 bridge: heartbeat, eth watcher service 2020-08-16 17:05:58 +02:00
Leo 28fef7efca bridge: make sure the process crashes if we can't connect to any bootstrap peers
Supervisor rescheduling doesn't do the trick since the p2p socket doesn't clean up reliably.
2020-08-16 15:02:11 +02:00
Hendrik Hofstadt 49d2872d9c Update devnet and Solana program 2020-08-16 13:21:39 +02:00
Leo c8dae177e6 Tiltfile: document the right sync mode for incremental sync to work 2020-08-16 12:30:23 +02:00
Leo 186129e5e4 Tiltfile: WIP live_update for ethereum contracts 2020-08-16 12:10:03 +02:00
Leo 784c35e48d Tiltfile: ignore local node_modules 2020-08-16 11:17:35 +02:00
Leo 487de66f40 solana: rebase onto master and cherry pick CreateProgram PR 2020-08-16 10:12:55 +02:00
Leo 4d1610d9f0 eth-devnet deployment 2020-08-16 01:38:10 +02:00
Leo 7fc59ec5f4 Add Solana devnet and have agents talk to it 2020-08-15 23:54:44 +02:00
Leo d8c9b41a01 Add builds for protos and the Solana agent
- Build buf and protoc-gen-go and use it to build Go proto packages
- Rename agent proto package to agent.v1 (to prevent namespace collisions and conform to buf's standards)
- Default to DOCKER_BUILDKIT=1 for CI setup
- Add incremental Docker build for solana/agent
- Move build machinery to top level
2020-08-15 22:15:26 +02:00