forked from wormhole-foundation/wormhole-sdk-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync with wormhole master repo #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The InReview transfer state is currently set when a token bridge transfer is enqueued in the Governor. Added Governor warnings to token bridge quotes. Fixed an issue where the token price wasn't being looked up by its origin chain.
The eta tells us the estimated transfer time in milliseconds (essentially finality time).
* contracts: update acala and karura testnet core contracts * contracts: update acala and karura testnet token bridge contracts * contracts: remove acala and karura testnet nft bridge contracts
- use wormhole circle relayer instead of token bridge relayer to compute max swap and gas drop-off amounts - the connect interface specifies a percentage that is applied to the the max swap amount to get the gas drop-off amount
* tokenBridge protocol: add token address conversion methods - Added getTokenUniversalAddress and getTokenNativeAddress methods to each platform's token bridge protocol implementation. - Some chains like Aptos and Sui require fetching on-chain data for token address conversions (universal to native and vice versa). - Fixed issue where lookupDestinationToken would return a universal address, causing issues in functions expecting a native address. - lookupDestinationToken now consistently returns a native address. - Resolved issues with transferring native Sui and Aptos tokens back to their origin chains. * check not a wrapped asset error
* sui: explicitly set SuiAddress platform There is an issue with vite/rollup where the platform is being set to undefined when running an app built with the SDK on the local dev server. A similar issue was fixed here: #615 It's not clear what the root cause is and if it's an actual bug in vite/rollup or in the SDK. * 0.9.1 version bump
We were not passing the config, which may contain overrides, to the platform constructors in the Wormhole class. This was causing the default RPCs to get used even if they were overridden in the config.
We were not resolving the address lookup table accounts
* add 5 sec of padding to ETAs for guardian network * raise Ethereum finality threshold
these contracts are not actually deployed
* Added Portico Bridge USDT support USDT uses PancakeSwap if available on the chain * Added native USDT tokens * removed unused portico api * add missing wstETHbsc token * removed wstETHbsc token (no portico pool) * progress * more progress * working * revert router example changes * added celo usdt * Revert "added celo usdt" This reverts commit 24a386e. * Reapply "added celo usdt" This reverts commit a0ad1e8. * added comment on decimals scaling * bump version to 0.12.0
* Add Monad Devnet support * Code review rework
* 0.14.0 version bump * rebase --------- Co-authored-by: Artur Sapek <art@wormholelabs.xyz>
* disable Sui CCTP * ignore sui cctp package for now * bump versions
* Include Spl Token 2022 in getBalances * Review change
* use 72 blocks for eth finality which should cover p75 finality is somewhere between 64 and 95 blocks * fix tests
* sui: getCoinType native token address fix Fixes #730 * change error msg
* removed comment * removed isAvailable method * removed imports
* add excludeIndexes function implementation to array utils * tighten up type programming parts * fix: remove readonly for array function return types * further type hardening and fixing comment
* make sure both chains are supported (this is useful in case supportedDestinationTokens doesn't verify this) * verify network too
* fix potential inifinite loop * simple example file showing how to parse addresses * toNative can handle a UniversalAddress value * add unit tests to document and test this behavior * handle Uint8Array too * check it starts with 0x * test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.