Commit Graph

2847 Commits

Author SHA1 Message Date
tbjump fc1ca4ffb9 node/accountant: defense-in-depth ensure accountant does not create messages outside its domain 2023-02-22 06:53:37 -08:00
Evan Gray 718cd3b1b3 node: new message support in vaa verify 2023-02-17 13:46:27 -05:00
tbjump 986265828c SECURITY.md: Add OtterSec Aptos NFT report 2023-02-16 18:05:12 -05:00
Conor Patrick bbec427145 accountant: minor cleanup 2023-02-16 18:03:47 -05:00
Paul Noel b1525333eb node/cmd: add optimism 2023-02-16 15:17:43 -06:00
Conor Patrick bd7406afbf node: add keccak256 as an admin command 2023-02-16 09:36:09 -06:00
Conor Patrick b35480f966 accountant: address review comments for modify governance vaa 2023-02-15 06:23:25 -08:00
Conor Patrick b5ead3204a wormchain: add test for accountant modify 2023-02-15 06:23:25 -08:00
Conor Patrick 4640b6ae73 node: add modify governance vaa for token bridge 2023-02-15 06:23:25 -08:00
Conor Patrick a3a8e3ea87 accountant: use token bridge governance vaa to make modifications 2023-02-15 06:23:25 -08:00
Kevin Peters 3e05a027af sdk/js: v0.9.10 release 2023-02-14 16:03:42 +01:00
tbjump c6745e50f8 node/grpc: add logging of x-forwarded-for to gRPC middleware 2023-02-14 06:54:33 -08:00
tbjump 71188d66d1 node/p2p: enforce freshness of heartbeats and correctness of guardianAddr 2023-02-13 07:51:03 -08:00
tbjump f4ec4bfde9 node/p2p: move createSignedHeartbeat to separate function 2023-02-13 07:51:03 -08:00
bruce-riley c84e37e403
Node/p2p: add sub too slow metric (#2361) 2023-02-13 10:11:17 -05:00
bruce-riley 9412845e1b
Node/Gov: add is governed check (#2351)
* Node/Gov: add is governed check

Change-Id: I451a6466453a292f77088a9203eaf2f5958ab4ab

* Node/Gov: Don't use named return values

Change-Id: Ia4e04e496b0b1525a6cf31fca82d3851e0978cdb
2023-02-13 10:10:52 -05:00
Paul Noel 4d91465e9e node/pkg: update generated file 2023-02-13 14:47:30 +00:00
Paul Noel ca72e25a48 node: add dump-rpcs command 2023-02-13 14:47:30 +00:00
heyitaki 1deee6f7a1 sdk/js: reconstruct TokenId obect in getForeignAssetAptos to reduce number of RPC calls 2023-02-10 12:35:34 -05:00
heyitaki e0bebed306 sdk/js: replace bigint literal 2023-02-10 12:35:34 -05:00
heyitaki 0e8f8fa771 sdk/js: add flexible typing for getForeignAssetAptos tokenId param 2023-02-10 12:35:34 -05:00
heyitaki dc924313b9 sdk/js: getForeignAssetAptos takes in tokenId for foreign chains 2023-02-10 12:35:34 -05:00
Kevin Peters 291051c5fb fixed solana devnet key 2 typo 2023-02-10 12:35:34 -05:00
Kevin Peters 09d7dfbc45 sdk/js: Remove undeployed aptos testnet nft bridge address 2023-02-10 12:35:34 -05:00
Kevin Peters 4eed588d2d sdk/js: CI tests use aptos gas estimates instead of manual overrides 2023-02-10 12:35:34 -05:00
Kevin Peters eab0e38b89 sdk/js: Fix CI eth test wallet tx nonce race 2023-02-10 12:35:34 -05:00
Kevin Peters 0243019453 sdk/js: Added second solana devnet wallet, fixed race in Aptos NFT CI tests 2023-02-10 12:35:34 -05:00
Kevin Peters 7a8dea5158 sdk/js: getOriginalAssetAptos NFT returns tokenId 2023-02-10 12:35:34 -05:00
heyitaki aa56dc5498 sdk/js: finish aptos tests 2023-02-10 12:35:34 -05:00
heyitaki 54cf6781d1 sdk/js: add additional tests & docs 2023-02-10 12:35:34 -05:00
heyitaki 3bb0562f45 sdk/js: add tests for aptos sdk 2023-02-10 12:35:34 -05:00
heyitaki 7c1721d199 sdk/js: add aptos js sdk
Updated aptos npm package version to use `AptosAccount.getResourceAccountAddress` api in aptos.ts. `getForeignAsset` is also currently unimplemented.
2023-02-10 12:35:34 -05:00
heyitaki f584f5c739 sdk/js: refactor nft test utils 2023-02-10 12:35:34 -05:00
Kevin Peters 8dcd3f615f test: accountant e2e contract queries 2023-02-10 12:29:45 -05:00
bruce-riley 9aeb704e58
Deploy: Make contract upd script support pyth (#2349)
* Deploy: Make contract upd script support pyth

Change-Id: I9c40498ef9849979f89e8d48d60333932f8a696f

* Deploy: Tweak the wording

Change-Id: Iddaca17b74ab2c9aa3a1386280457e02433a6593
2023-02-10 11:15:05 -05:00
Conor Patrick 7e982cb032 wormchain: address comments for migrating wasmd contracts 2023-02-07 12:15:11 -06:00
Conor Patrick aac92a19e7 wormchain: add migrating contracts with vaa 2023-02-07 12:15:11 -06:00
Bruce Riley f6825e242e Node/Watcher: make pyth ws restart on all errors
Change-Id: I9956876d4fa8f9fc4614d1e9e294a252cd3b7610
2023-02-07 11:33:22 -05:00
Paul Noel 1658dbffec node/pkg/watcher: add timeouts 2023-02-06 16:32:25 -05:00
bruce-riley f2be500799
Node: Increase channel to bigtable (#2343)
Change-Id: I93410c3dd9d8e2a2afaa76e5e2c66d2ae1a1e2ae
2023-02-06 10:41:33 -05:00
Nikhil Suri 5f224da24c
Add top level .nvmrc file (#2342) 2023-02-06 23:10:40 +08:00
Paul Noel d8f4740717
node: Fix defer (#2334)
* node: Fix defer

* node/pkg/wathcers: fix error
2023-02-06 08:38:45 -06:00
Sushant Chandla 3b8de17d02
solana: remove rand dependency, update no-entrypoint feature (#2321)
* solana: remove rand dependency, update no-entrypoint feature

* solana: test mod only compile for test configrations
2023-02-02 18:04:18 +01:00
Conor Patrick 723f663adc wormchain: use newCtx in antehandler 2023-02-01 09:14:58 -06:00
A5 Pickle ce9c70682c cosmwasm: add prefix handling for observations verification 2023-01-31 21:16:18 -05:00
Bruce Riley 1ca872018b Acct: Node change to set prefix on obs 2023-01-31 21:16:18 -05:00
Conor Patrick e30e762082 wormchain: address comments on wormchain allowlisting 2023-01-31 10:37:53 -06:00
Conor Patrick 034358b55f wormchain: require addresses to be allowlisted to submit tx 2023-01-31 10:37:53 -06:00
Evan Gray 7f9a03254a test: accountant e2e 2023-01-31 11:09:43 -05:00
Jeff Schroeder cca154baf6
node: slightly less verbose guardian logging at info level (#2293)
* node: aptos watcher block height logging to debug

It would be nice to redo this log entry to log something more human
readable in addition to a json blob, but one thing at a time.

* node: near watcher info logging to debug

The near watcher logs when attempting to poll a block and when it
successfully polls a block in addition to some metrics. These are useful
logs, but more suited for debug loglevel.

* node: log cosmwasm watcher block height to debug

* node: log solana empty slots as debug

This cuts down on an enormous amount of additional logging.

* node: update logging in sui watcher

* Set some info logs to debug
* Fix tyop of missmatch --> mismatch
2023-01-31 09:24:33 -05:00