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
When using wormhole-solidity-sdk and following this example repo https://github.com/wormhole-foundation/native-token-transfers. This happens, When using a chain where chainId exceeds uint16, the setRegisteredSender will fail.
Steps to reproduce
Deploy CrossChainSender and CrossChainReceiver
Use chains that has a chainId greater than uint16
Trigger the setRegisteredSender
Experienced behavior
I have this error
An unexpected error occurred: value out-of-bounds (argument="sourceChain", value=421614, code=INVALID_ARGUMENT, version=6.13.4)
When using Arbitrum sepolia testnet
Expected behavior
It should determine and allow any chainId values.
Solution recommendation
Change the uint16 on Base.sol
mapping(uint16 => bytes32) registeredSenders;
The text was updated successfully, but these errors were encountered:
Description and context
When using
wormhole-solidity-sdk
and following this example repohttps://github.com/wormhole-foundation/native-token-transfers
. This happens, When using a chain where chainId exceeds uint16, thesetRegisteredSender
will fail.Steps to reproduce
CrossChainSender
andCrossChainReceiver
setRegisteredSender
Experienced behavior
I have this error
An unexpected error occurred: value out-of-bounds (argument="sourceChain", value=421614, code=INVALID_ARGUMENT, version=6.13.4)
When using Arbitrum sepolia testnet
Expected behavior
It should determine and allow any chainId values.
Solution recommendation
Change the
uint16
onBase.sol
The text was updated successfully, but these errors were encountered: