-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
In depositToNear we take the nearRecipientAccountId as string: https://github.com/aurora-is-near/eth-connector/blob/master/eth-custodian/contracts/EthCustodian.sol#L87
In depositToEVM we take the ethRecipientOnNear as string: https://github.com/aurora-is-near/eth-connector/blob/master/eth-custodian/contracts/EthCustodian.sol#L56
And we don't perform any checks for these arguments. It will be nice to have some basic one:
nearRecipientAccountIddoesn't contain:ethRecipientOnNearis 40/42 length long and contain only allowed symbols.
If I understand correctly, if there is an error in the address, Eth will be blocked forever.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels