You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked into doing a cpi call to the token bridge contract. However, when using the instructions::transfer_native method and passing the required accounts I get the error Error: IoError(Custom { kind: InvalidInput, error: "Unexpected length of input" }). Now, it seems to be because the length of the passed account does not match the expected Account struct TransferNative length.
Scaffold
Therefore, I looked into your scaffold project to see how you are doing token bridge cpi. It seems as if this part is not yet done. I am therefore curious if and when you think you will be done with it? I have tried to enable the token tests, but end up with the error AnchorError caused by account: token_bridge_sequence. Error Code: AccountNotInitialized. Error Number: 3012 and I am not sure how to proceed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Motivation
I've looked into doing a cpi call to the token bridge contract. However, when using the
instructions::transfer_native
method and passing the required accounts I get the errorError: IoError(Custom { kind: InvalidInput, error: "Unexpected length of input" })
. Now, it seems to be because the length of the passed account does not match the expected Account structTransferNative
length.Scaffold
Therefore, I looked into your scaffold project to see how you are doing token bridge cpi. It seems as if this part is not yet done. I am therefore curious if and when you think you will be done with it? I have tried to enable the token tests, but end up with the error
AnchorError caused by account: token_bridge_sequence. Error Code: AccountNotInitialized. Error Number: 3012
and I am not sure how to proceed.Beta Was this translation helpful? Give feedback.
All reactions