Skip to content
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

Fix P-to-C examples #868

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lacombar
Copy link

@lacombar lacombar commented Jun 11, 2024

Current example to export from P-to-C are incorrect and will result in an UTxO which is going to fail RPC node submission check on import.

…et address

Unfortunately, as currently written, the two following expression:

  bech32ToBytes(X_CHAIN_ADDRESS)

and

  bech32ToBytes(P_CHAIN_ADDRESS)

intra-account results in the same output. The generated UTxO will
include a pseudo-CorETH address which will prevent import on the C-chain
and return the following error:

  Error: import tx transfer failed verification: wrong signature: expected signature from JTWYVMiL9CmJvWBVbhZzMtyV8wW4C1Ztt but got from auLWN59QX8b9hFwt1e5oLaCRWMM1j4HU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant