Commit Graph

2637 Commits

Author SHA1 Message Date
Csongor Kiss c289bd9f57 worm: add command to derive aptos wrapped address 2022-10-18 01:19:13 -04:00
Csongor Kiss 1d4ab73d9d aptos: testnet redeploy (new addresses) 2022-10-18 01:19:13 -04:00
Csongor Kiss 4f40caf3f6 aptos/token_bridge: max 8 decimals for wrapped coins
u64 is too smol
2022-10-18 01:19:13 -04:00
Csongor Kiss 98f5260918 aptos/token_bridge: don't take wormhole_fee as arg in entry 2022-10-18 01:19:13 -04:00
Csongor Kiss 500654cf02 scripts: uppercase digest in governance generator
the injection command prints out in this format, so it's easier to read
for guardians this way
2022-10-17 23:35:17 -04:00
bruce-riley 4e3b24cfa8
Test contract to publish wormhole messages for testing the guardian watcher (#1696) 2022-10-17 13:28:17 -05:00
Hendrik Hofstadt 4a2fbd923f
tilt: shorten terra block time (#1744)
Change-Id: I35cce03ae6e82b522482f2c1c40ccb6819eb51f6
2022-10-17 18:13:19 +02:00
Csongor Kiss bdd824cfaa aptos: rebuild & publish docker image 2022-10-17 16:39:34 +01:00
Csongor Kiss da50ceb17e CI: move num_guardians docker ARG down
to improve caching
2022-10-17 16:39:34 +01:00
Csongor Kiss ee8e4b61ed aptos: unify deployment script for all networks 2022-10-17 16:39:34 +01:00
Csongor Kiss cb9915a75f aptos: testnet redeploy 2022-10-17 16:39:34 +01:00
Csongor Kiss c775cd974d aptos/token_bridge: add method to register coin on complete transfer 2022-10-17 16:39:34 +01:00
Csongor Kiss 3eaa43cad8 aptos/token_bridge: remove governance chain from state
this was unused, the governance info is stored in the core contract anyway
2022-10-17 16:39:34 +01:00
Csongor Kiss bbe2939b90 aptos: fix entry functions
these can't return values, but the compiler doesn't tell you 🤫
2022-10-17 16:39:34 +01:00
Csongor Kiss b1456b9eb1 aptos/core: remove emitter upgrade code
we'll redeploy the testnet contract anyway, this is no longer necessary
2022-10-17 16:39:34 +01:00
Hendrik Hofstadt a6d6586d39 node: minor refactoring of aptos watcher
Change-Id: Ideac6ef7e26d9d7272b4cda32a80cf007d62a8a5
2022-10-17 07:30:35 -05:00
Jonathan Claudius bc6b5af095
governor: raise limits on moonbeam (#1739) 2022-10-16 22:15:42 -04:00
claudijd 89c2b252c7 Revert limit decrease 2022-10-16 18:39:54 -04:00
bruce-riley 7d53c1814f
node: governor updates for Aptos (#1740)
* node: governor updates for Aptos

* Tweak governor limits for aptos
2022-10-16 17:20:29 -05:00
Csongor Kiss da8a972b92 watcher: aptos testnet emitter is now 1 2022-10-16 20:29:09 +01:00
Csongor Kiss 4f9a491645 aptos/core: allow upgrading emitter capability 2022-10-16 20:29:09 +01:00
Hendrik Hofstadt a1fcdb6ac1
wormchain: fix priv validator state blocking startup (#1716)
Change-Id: I2b5018d7b16653ce825dff8b3045364cb133b602
2022-10-15 18:15:25 +02:00
Csongor Kiss bf556f0c7a sdk/js: propagate exception in getIsTransferCompletedTerra 2022-10-15 15:17:36 +01:00
Bruce Riley 9257443a4f node: aptos initial governor config
Change-Id: I9c1d5dfbc80c30baf3c51aeda325df235fb72915
2022-10-15 15:17:36 +01:00
Josh Siegel 6b670e3abf aptos/watcher: allow it to run in mainnet 2022-10-15 15:17:36 +01:00
Josh Siegel 2a31454d29 aptos/watcher: Update comments and errors 2022-10-15 15:17:36 +01:00
Josh Siegel 1a7098553c aptos/watcher: aptos and sui were missing from a bunch of spots 2022-10-15 15:17:36 +01:00
Csongor Kiss 3877f6f3c3 tilt: register aptos on other chains 2022-10-15 15:17:36 +01:00
Csongor Kiss 12b855f3b1 tilt: add aptos 2022-10-15 15:17:36 +01:00
Josh Siegel daf689cf2a node: aptos watcher 2022-10-15 15:17:36 +01:00
Kevin Peters afb7a2e502 clients/js: EVM query contract refactor
Use the generated interface functions instead of defining our own
2022-10-15 09:50:18 -04:00
Josh Siegel af35d33bba near/artifacts: Make it easier to do governance 2022-10-15 06:37:04 -04:00
claudijd e20218b19e SECURITY.md: Add social media monitoring and incident response sections 2022-10-15 06:31:55 -04:00
Conor Patrick 127cd32e03
add vaa-gated wasmd to wormchain (#1674)
* wormchain: add wasmd module

* wormchain: update proto

* wormchain: gate wasmd contract uploading around vaa

* wormchain: add tests around wasmd operations and guardian set upgrades

* wormchain: split wasm handlers into multiple files and permit bank methods

* wormchain: address review comments

* wormchain: use legacy keccak instead of sha3

* wormchain: add way to compute vaa hash manually

* wormchain: update proto package paths and dependencies

* wormchain: remove wasmd keeper guard

* wormchain: add CLI helpers for starting the chain

* wormchain: increase max validators and add genesis time

* wormchain: remove .pb.go from lint check

* wormchain: cleanup and address review comments

* wormchain: stop tracking .pb.go files

* wormchain: address comment to create buffer safely

Co-authored-by: Chirantan Ekbote <cekbote@jumptrading.com>

* wormchain: generate proto in ci

* wormchain: fix wrong description

* wormchain: always rebuild proto in ci

* wormchain: fix unit test compile error

* wormchain: build proto in tilt

Change-Id: Ibc4f4ff0c34108f4ecbe1af3c47373816739c669

Co-authored-by: Chirantan Ekbote <cekbote@jumptrading.com>
Co-authored-by: Hendrik Hofstadt <hendrik@nexantic.com>
2022-10-14 17:12:57 -05:00
Csongor Kiss 856ab8bbc8 aptos/contracts: start emitter indices at 1 2022-10-14 12:42:44 -05:00
Csongor Kiss 2238f64cfb aptos/core: allow init with multiple guardians
this requires a breaking change to `init` so we have to deprecate the
old one.
2022-10-14 12:42:44 -05:00
Csongor Kiss ffa31da17c aptos: dockerfile + scripts + README 2022-10-14 12:42:44 -05:00
Csongor Kiss 85a1dcd6fd worm: add aptos commands 2022-10-14 12:42:44 -05:00
Csongor Kiss be0f58a537 aptos/contracts: implement token bridge 2022-10-14 12:42:44 -05:00
Csongor Kiss 3eb8daf492 aptos/contracts: dummy type for wrapped coins
this is used to fill in the CoinType phantom type variable of the Coin
type in the aptos framework to facilitate new coin creation
2022-10-14 12:42:44 -05:00
Csongor Kiss 70ccb69e86 aptos/contracts: implement simple example contract 2022-10-14 12:42:44 -05:00
Csongor Kiss da39940b13 aptos/contracts: implement deployer contract 2022-10-14 12:42:44 -05:00
Csongor Kiss 909238c51b aptos/contracts: implement wormhole 2022-10-14 12:42:44 -05:00
Csongor Kiss b37efa4c1b clients/js: Add command to start evm validator (ganache)
commit-id:42791bce
2022-10-14 18:01:28 +01:00
Csongor Kiss c4f4652f35 clients/js: Add command to start aptos validator
commit-id:ab3ef326
2022-10-14 18:01:28 +01:00
Jeff Schroeder 7fbffe424d
Fix the spy documentation for testnet (#1737)
Since the testnet guardian node key changed post restart.
2022-10-14 12:41:56 -04:00
Csongor Kiss de6c04f996 clients/js: Add command to update the client
Also add support for a json-based config file

commit-id:c734f935
2022-10-14 16:17:33 +01:00
Csongor Kiss a9c3abf436 clients/js: make arg parser strict
Now it shows help when passing incorrect arguments

why is this not the default?

commit-id:f86cdbd5
2022-10-14 16:17:33 +01:00
Csongor Kiss 73e6d6865f clients/js: right-pad coin symbol/name
previously these were left-padded
2022-10-14 16:16:54 +01:00
Csongor Kiss 68dedf34e4 clients/js: fix eccrypto insanity 2022-10-14 16:16:54 +01:00