Commit Graph

2599 Commits

Author SHA1 Message Date
Evan Gray 090a8e0c74 relayer: fix ci 2022-10-27 14:04:38 -04:00
Hiroto Shioi 3fd0631589 Optimize dockerfile 2022-10-27 14:04:38 -04:00
Hiroto Shioi f15bd58475 Enable docker-compose usage 2022-10-27 14:04:38 -04:00
Bruce Riley 16f79539b8 Should not have checked in unsafeDevMode to false 2022-10-27 12:43:01 -04:00
Bruce Riley 6a6c258015 Node: arbitrum watcher redesign 2022-10-27 12:43:01 -04:00
bruce-riley ea50bee9d2
Node: Upgrade to solana-go v1.7.1 (#1799)
Change-Id: Ia83b193d524e4c8571bfb8f3dd3075da8b5581cf
2022-10-27 11:14:42 -05:00
Tony Jin 40644ee267 SECURITY.md: Fix minor grammar issues 2022-10-27 10:51:26 -04:00
Evan Gray d568af277f ci: quieter spy relayer 2022-10-27 10:41:20 -04:00
Evan Gray 1911bac857 ci: quieter near-api-js 2022-10-27 10:41:20 -04:00
Evan Gray 605584385a ci: quieter spy 2022-10-27 10:41:20 -04:00
Josh Siegel ec15d91d47 near/dockers: One docker image to rule them all 2022-10-27 09:01:19 -05:00
Josh Siegel 9fd4c7d6e1 minimal-tilt-fix: Lets make this ready even if the chain is not ticking 2022-10-27 07:52:24 -04:00
Evan Gray 2dc4faa084 ci: quieter near 2022-10-27 07:52:24 -04:00
Evan Gray 5470ede7f7 ci: quieter wormchain 2022-10-27 07:52:24 -04:00
Evan Gray c688c029d0 ci: quieter solana 2022-10-27 07:52:24 -04:00
Evan Gray 9623ca7321 ci: quieter node 2022-10-27 07:52:24 -04:00
Evan Gray 19d9c3a290 ci: quieter terra 2022-10-27 07:52:24 -04:00
Evan Gray f184b308a8 ci: quieter eth 2022-10-27 07:52:24 -04:00
Evan Gray d4fa63bae1 ci: sdk tests wait for guardian ready 2022-10-27 07:52:24 -04:00
Evan Gray 7ee3f6bcbc tilt: move wormchain guardian flags to tiltfile 2022-10-27 07:52:24 -04:00
Josh Siegel 7631341ef0 algorand/update: update the algorand version 2022-10-27 07:52:24 -04:00
Evan Gray 2fafa631a2 clients/js: npm audit fix --force 2022-10-26 16:16:54 -04:00
Kevin Peters e2383e257b cloud_functions: Fixed ambiguous packages, CoinGeckoID not required for transfers
The CoinGeckoID is overridden in the allowlist.
2022-10-26 15:56:10 -04:00
Christine Eun 84507c0a04 cloud_functions: Added Aptos and Xpla support 2022-10-26 15:56:10 -04:00
Hendrik Hofstadt 6b4de5be9d github: add CODEOWNERS for node
Change-Id: If9777816d8d0902a9f0eff23c1364ba277157f84
2022-10-26 15:26:01 -04:00
Bruce Riley 4a88c0a468 Node: update governor limits for Moonbeam 2022-10-26 13:22:50 -04:00
kii fbefb3aced
tob-worm-4-panics: using options rather than unwrap & tob-worm-9: cosmwasm test build (#1672)
* tob-worm-4-panics: using options rather than unwrap

* removed mock dependencies argument

* added test to make file

* use ok or else

* fmt

* ok

* errors resolved
2022-10-26 12:39:31 -04:00
tbjump c8eb5c43d6
SECURITY.md: Add Hacken NEAR dApp audit report (#1797) 2022-10-26 09:22:42 -07:00
jumpsiegel 41d53b27c8
Test created by the C3 team. (#1796)
Co-authored-by: qonfluent <zantrua+github@gmail.com>
Co-authored-by: NoiTaTuM <noit63@gmail.com>
Co-authored-by: Marcos NC <marcosnc@gmail.com>
2022-10-26 09:55:53 -05:00
A5 Pickle e109024e99
sdk/js: Remove Solana WASM Dependencies (#1375)
* sdk/js: Remove Solana WASM Dependencies

* sdk/js: Uptick @solana/web3.js and @solana/spl-token versions

* solana: Add IDLs for Wormhole, Token Bridge and NFT Bridge

* sdk/js: Remove Solana WASM to Use IDL Coders

* sdk/js: Remove src/migration

* sdk/js: Add CPI Account Getters

* testing: Add solana-test-validator SDK tests

* sdk/js: add CHANGELOG.md

* sdk/js: remove await

* sdk/js: fix getIsTransferCompletedAptos

* sdk/js: aptos integration test waits for tx

* sdk/js: remove commented out code

* sdk/js: fix inferred type

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-10-26 10:28:46 -04:00
Evan Gray 043d4511a1 tilt: default to minimal tilt 2022-10-26 08:06:59 -04:00
Evan Gray 3e20790349 tilt: make wormchain optional and add missing dep 2022-10-26 08:06:59 -04:00
Evan Gray dc119e2b3a ci: earlier sdk build 2022-10-26 08:06:59 -04:00
Evan Gray 4c25a96731 sdk: do not require a payload in vaa Unmarshal 2022-10-26 07:12:21 -04:00
Evan Gray c834938f09 ci: remove e2e since there is no UI to test 2022-10-25 18:31:45 -04:00
bruce-riley 49b3b6ab61
Node: make karura/acala watcher use finalized blocks (#1747)
* Node: acala watcher use finalized blocks

* node: acala not in safe mode assume finalized mode

* Remove unused function

* Changes signature of checkForSafeMode()

* Beef up the safe mode check

* Remove unnecessary function
2022-10-25 15:13:36 -05:00
A5 Pickle a00a4824b2 sdk/js: add .skip 2022-10-25 11:53:05 -04:00
aki a54030b6ed sdk/aptos: use qualified type instead of module address 2022-10-25 11:32:56 -04:00
aki 027354f319 sdk/aptos: move transfer logic to sdk 2022-10-25 11:32:56 -04:00
aki 9ae43b3dd9 sdk/aptos: documentation 2022-10-25 11:32:56 -04:00
Evan Gray 41fb6ba756 clients/js: sdk version bump 2022-10-24 19:00:15 -04:00
Evan Gray cdff57209d sdk/js: minor version bump 2022-10-24 19:00:15 -04:00
Csongor Kiss eaa5107b33
sdk/js: aptos (#1736)
* sdk/js: aptos

* sdk/aptos: change api interface to be more flexible

sdk/aptos: add attestToken

sdk/aptos: added createdWrapped

sdk/aptos: add getForeignAsset

sdk/aptos: stricter sanity check for fully qualified type

sdk/aptos: ensure addresses are left padded

sdk/aptos: check if asset exists in getForeignAsset

sdk/aptos: stricter sanity check - hex prefix can't be capital

sdk/aptos: add updatewrapped

sdk/aptos: update readme with token attestation example

sdk/aptos: added transfer

sdk/aptos: add getIsTransferCompleted

sdk/aptos: add isWrappedAsset and getOriginalAsset

sdk/aptos: add redeem

sdk/aptos: make init tokenbridge entry func

* sdk/aptos: separated signing/submitting txs from creating raw txs

* clients/js: hash aptos fully qualified type to get address

* sdk/aptos: return payload from api instead of rawtx

* sdk/aptos: derive token info from vaa

* sdk/aptos: fix getAssetFullyQualifiedType for native asset

* sdk/aptos: add min gas price

* sdk/aptos: bump aptos version

* sdk/aptos: dont require 0x in front of addresses

* sdk/aptos: progress on e2e tests

* sdk/aptos: upgrade resource address derivation

This was changed recently
25696fd266/aptos-move/framework/aptos-framework/sources/account.move (L90-L95)

* sdk/js: fix getForeignAssetAptos

* sdk/js: update testnet aptos address

* sdk/js: update aptos entry functions

* sdk/aptos: fix parsesequencefromlog

* sdk/aptos: throw errors instead of string literal

* sdk/aptos: update testnet/mainnet addresses

* sdk/aptos: fix  completeTransfer and getOriginalAsset

* sdk/aptos: update transferTokens to take in type and remove wormholeFee param

* sdk/aptos: add typeToExternalAddress utility

* sdk/js: update parseSequenceFromLogAptos

* sdk/js: test version bump again

* sdk/aptos: make transfer param type consistent

* sdk/aptos: test transfer to another chain test done

* sdk/aptos: use completeTransferAndRegister

* sdk/aptos: allow tryNativeToHexString to take in account addresses

* sdk/aptos: finish e2e tests

* sdk/aptos: test all apis

* sdk/aptos: add registerCoin utility

* sdk/js: utility to submit script bytecode to chain

* sdk/aptos: update test to be idempotent

* sdk/aptos: stricter check on aptos type

* clients/js: remove unused imports from rebase

* sdk/aptos: change node and faucet urls in ci

Co-authored-by: aki <akshath@live.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-10-24 18:12:02 -04:00
Conor Patrick 91bd9a5c36 rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
Conor Patrick ea663c1be4 rename wormhole_chain to wormchain 2022-10-24 17:59:52 -04:00
bruce-riley ed41a9a4ea
node: update solana watcher to use new solana-go version (#1760)
* node: remove the replace directive for solana-go

This commit that necessitated the fork:

    25b9f3025b

Has been merged upstream:

    9a01ac4f45

We need to pull in the latest solana-go to get support for MaxSupportedTransactionVersion.

* node: upgrade solana-go

This is the output from:

    go get -u github.com/gagliardetto/solana-go

It is required for the MaxSupportedTransactionVersion from:

    6ead48adf2

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2022-10-24 12:22:56 -05:00
Hendrik Hofstadt e45e04bb09
node: move wormchain watcher (#1783)
Change-Id: If26681fe1a19396032947d22587d4c899153849c
2022-10-24 18:01:32 +02:00
jumpsiegel 6f38e42119
dev.v2: Modernize algorand watcher and improve logging (#1766) 2022-10-24 09:08:05 -05:00
Csongor Kiss b58c75de8f worm: speed up startup by loading deps on demand
goes from ~3s to ~300ms, so 10x improvement
2022-10-21 19:56:23 +01:00
Csongor Kiss f39c5ac81b worm: make make make faster
pruning the node_modules directory instead of excluding the matches
means that node_modules is now never traversed in the first place,
making dependency resolution instantaneous (from ~800ms before)
2022-10-21 19:56:23 +01:00