ava-labs / teleporter-token-bridge

Token bridging cross-chain built on top of Teleporter
Other
10 stars 5 forks source link

Use OZ's Context.sol and `_msgSender()` to support meta transactions #131

Closed minghinmatthewlam closed 1 month ago

minghinmatthewlam commented 1 month ago

Why this should be merged

Fixes #128

How this works

Replaces msg.sender with OZ's Context._msgSender() to support meta transactions. Contract can inherit the token bridge contracts and override the default msgSender behavior.

How this was tested

CI

How is this documented

n/a