Commit Graph

2598 Commits

Author SHA1 Message Date
Leo 86ccc1c617 Solana devnet fixtures and lockup generator 2020-08-21 20:48:58 +02:00
Hendrik Hofstadt a04fe2b447 web: fix custody key derivation 2020-08-21 19:52:30 +02:00
Hendrik Hofstadt 8e595889d6 solana: increase instruction limit 2020-08-21 19:52:04 +02:00
Hendrik Hofstadt 549f7ad69c solana: track time on lockups 2020-08-21 19:51:45 +02:00
Hendrik Hofstadt 5f253415d5 cli: add airdrop call 2020-08-21 18:55:59 +02:00
Hendrik Hofstadt a8d2f36a12 agent: inject static account key 2020-08-21 18:10:54 +02:00
Hendrik Hofstadt e0c2fbf990 agent: add lockup_address 2020-08-21 17:58:35 +02:00
Hendrik Hofstadt a1e548e4b9 solana: don't rebuild solana when bridge changes 2020-08-21 16:29:44 +02:00
Hendrik Hofstadt 6070cf25eb agent: load key from disk 2020-08-21 15:53:59 +02:00
Hendrik Hofstadt 6a548e5695 bridge: use constant for max guardians 2020-08-21 15:02:02 +02:00
Hendrik Hofstadt 51ed6323b4 bridge: improve build caching 2020-08-21 14:52:38 +02:00
Leo b663e2dc56 Generalize token lockup processor 2020-08-21 13:00:44 +02:00
Leo 10621625f0 Handle supervisor.RunGroup error 2020-08-21 13:00:44 +02:00
Leo 935411c036 Refactor all node key management into nodekeys.go 2020-08-21 13:00:44 +02:00
Hendrik Hofstadt 5b7b80dbe8 ethereum: add nonce to tests 2020-08-21 12:48:14 +02:00
Hendrik Hofstadt dfa8f64de0 devnet: set correct bridge id 2020-08-21 12:47:53 +02:00
Hendrik Hofstadt 8d4927cb4a web: working transfers 2020-08-21 12:45:40 +02:00
Hendrik Hofstadt 1d960405d1 bridge: check quorum 2020-08-21 12:45:40 +02:00
Leo d317164345 Rename ethwatch to ethlockup and run it in a runnable group with the watcher
This ensures that we re-fetch the guardian set when ethlockup dies.
2020-08-21 11:17:55 +02:00
Leo eca9f6214a Add consensus height to gossipv1 2020-08-21 10:36:08 +02:00
Leo 9bb44eb0f5 Enable VAA submission to Solana 2020-08-21 00:06:38 +02:00
Leo c381ed2459 Print initial guardian set bytes for devnet 2020-08-20 23:39:51 +02:00
Leo b6b2d21bde Fix race condition where p2p is faster than ETH 2020-08-20 22:24:33 +02:00
Leo ec6e261c43 Receive own signatures 2020-08-20 22:05:25 +02:00
Leo f1f2d0c8b8 Solana VAA submission stub 2020-08-20 21:48:58 +02:00
Leo d9ede323f2 Add nonce to send-lockups.js 2020-08-20 21:05:14 +02:00
Leo da8840e363 Update ABI for 9b3f7999 2020-08-20 21:04:32 +02:00
Leo e1c760af6d Update ABI for 9b3f7999 2020-08-20 20:26:21 +02:00
Leo c6efc410cb solana: remove extra uncached build
Derp
2020-08-20 20:19:06 +02:00
Hendrik Hofstadt a4fecd36f0 solana: build token program using latest solana version 2020-08-20 20:12:44 +02:00
Hendrik Hofstadt 9b3f7999ba ethereum: add nonce to transfer input 2020-08-20 20:11:45 +02:00
Hendrik Hofstadt 8f4127f781 Add slot to agent 2020-08-20 19:20:11 +02:00
Hendrik Hofstadt 9d6f8cde0e Layout cleanup 2020-08-20 18:59: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
Hendrik Hofstadt 085af1d6b7 Add reentrancy protection 2020-08-20 16:58:03 +02:00
Hendrik Hofstadt d1850e4c59 Improve webinterface 2020-08-20 16:53:25 +02:00
Hendrik Hofstadt 6d3dea0884 solana: inject bridge program on launch 2020-08-20 14:09:49 +02:00
Leo 134c3d83db Update DEVELOP.md 2020-08-19 18:01:21 +02:00
Leo d1c86a0eaa bridge: use new eth devnet addresses and keygen 2020-08-19 17:38:55 +02:00
Hendrik Hofstadt 59449a30b3 Update VAA structure 2020-08-19 16:41:25 +02:00
Hendrik Hofstadt 135b98e556 Update solana patches 2020-08-19 15:19:17 +02:00
Hendrik Hofstadt 256439b766 Fix solana agent 2020-08-19 15:14:39 +02:00
Hendrik Hofstadt 7bae7fbb22 "working" frontend 2020-08-19 15:09:58 +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 c44dcb24c9 Tiltfile: disable broken agent build 2020-08-19 11:58:00 +02:00
Leo 69d8125c67 ethereum: emit guardian set IDs in LogGuardianSetChanged
go-ethereum is having trouble parsing a log with structs.
2020-08-19 11:47:29 +02:00
Hendrik Hofstadt 5cd3db9a14 Working solana transfers from webui 2020-08-18 22:54:18 +02:00
Leo 8b34a3c534 ethereum: add getGuardianSet accessor 2020-08-18 16:19:28 +02:00