Closed minghinmatthewlam closed 1 month ago
Generated at commit: 7c6ca625740ca3ebd805cfea578c5b2ad4d2b22a
🚨 Report Summary
Severity Level Results Contracts Critical High Medium Low Note Total 1 0 0 2 13 16 Dependencies Critical High Medium Low Note Total 0 0 0 0 0 0
For more details view the full report in OpenZeppelin Code Inspector
Why this should be merged
Fixes #99
How this works
Adds
(sourceBlockchainID, originSenderAddress)
information to the send and callreceiveTokens
interfaces for both erc20 and native tokens.SingleHopCallMessage
needs both blockchain ID and originSenderAddress information saved.MultihopCallMessage
only needs originSenderAddress, because in a multi-hop the intermediate chain gets the blockchain ID from Teleporter.Instead of emitting
TokensSent
on a multi-hop intermediate chain case, which was previously emitting the relayer address as thesender
, changed the event toTokensRouted
and removed the sender address.How this was tested
CI
How is this documented
Comments