Conversation
…llat on hub but get burn zero addr error
* backup the working dymension <-> ethereum test * add sol collateral memo, confirm all uts pass * add solana program build registration * pre add the registration for sol collateral memo * add changes to rust/sealevel/client/src/warp_route.rs untested * add sol client changes for collateral memo (untested) * try to fix and run build script, untested there is a build error for (non memo) collat about stack size * working on the dymension_test commands for sol * need to clean up env vars * more consolidation * in middle of sol test * going to have just one eth test and one sol test with dym * clean up the ethereum<->dymension test * rename dymension test -> ethereum test, delete backup, delete old eth<->eth test
* work on a script for eth collateral -> hub synthetic * cp * chore: forge init * forge install: forge-std v1.9.7 * try to make collateral erc20 work * deploy works, now need to test it * confirms that it works collateral -> synth on hub * bump foo_test * bump foo test readme
Author
keruch
reviewed
May 15, 2025
| let (escrow_account, _escrow_bump) = Pubkey::find_program_address( | ||
| hyperlane_token_escrow_pda_seeds_memo!(), | ||
| &query.program_id, | ||
| ); |
There was a problem hiding this comment.
accounts_to_query.push(escrow_account);is missing
Comment on lines
+1356
to
+1363
| let ixn = DymHtInstruction::TransferRemoteMemo(DymHtTransferRemoteMemo { | ||
| base: HtTransferRemote { | ||
| destination_domain: xfer.destination_domain, | ||
| recipient, | ||
| amount_or_id: xfer.amount.into(), | ||
| }, | ||
| memo: xfer.memo.as_bytes().to_vec(), // TODO: conversion OK? | ||
| }); |
There was a problem hiding this comment.
the whole code for TokenSubCmd::TransferRemoteMemo is the same as for TokenSubCmd::TransferRemote except these lines, am I right? do you think it's worth spending time to dry it out? but I'm guessing it's fine anyway
Author
There was a problem hiding this comment.
yh
I didn't want to refactor too much to make it hard to sync with upstream
Probably worth spending some time on, but not now #5
| # The paths to the programs | ||
| CORE_PROGRAM_PATHS=("mailbox" "ism/multisig-ism-message-id" "validator-announce" "hyperlane-sealevel-igp") | ||
| TOKEN_PROGRAM_PATHS=("hyperlane-sealevel-token" "hyperlane-sealevel-token-collateral" "hyperlane-sealevel-token-native") | ||
| TOKEN_PROGRAM_PATHS=("hyperlane-sealevel-token" "hyperlane-sealevel-token-collateral", "hyperlane-sealevel-token-collateral-memo", "hyperlane-sealevel-token-native", "hyperlane-sealevel-token-native-memo","hyperlane-sealevel-token-memo") |
There was a problem hiding this comment.
hyperlane-sealevel-token-memo does not exist
Author
There was a problem hiding this comment.
| [TokenType.collateralMemo]: { | ||
| factory: HypERC20CollateralMemo__factory, | ||
| method: 'wrappedToken', | ||
| }, |
typescript/sdk/src/token/Token.ts
Outdated
| token: addressOrDenom, | ||
| }); | ||
| } else if (standard === TokenStandard.EvmHypSynthetic) { | ||
| } else if (standard === TokenStandard.EvmHypSynthetic || standard === TokenStandard.EvmHypSyntheticMemo ) { |
There was a problem hiding this comment.
do we need to do the same for EvmHypNativeMemo and EvmHypCollateralMemo?
keruch
reviewed
May 15, 2025
keruch
reviewed
May 15, 2025
Co-authored-by: keruch <53012408+keruch@users.noreply.github.com>
Co-authored-by: keruch <53012408+keruch@users.noreply.github.com>
Co-authored-by: keruch <53012408+keruch@users.noreply.github.com>
keruch
approved these changes
May 20, 2025
* add to readme * add copied synthetic token memo directory, same as non-memo * rust/sealevel/Cargo.toml * rust/sealevel/client/Cargo.toml * rust/sealevel/programs/build-programs.sh * should be all the changes for the token program itself * should be all the changes for the client package * fmt * build seems to work * start working on the sol test 2 (synthetic) * typo
This file contains hidden or 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
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.
Have opened PR even though it's not finished (more tsts and couple small todos)
Please see the doc https://www.notion.so/dymension/ADR-Hyperlane-Integration-1dfa4a51f86a80e58db9cd966b7f289d for full writeup and link to test cases. Review set: