ava-labs / teleporter-token-bridge

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

N-02 Functions Are Updating the State Without Event Emissions #105

Closed minghinmatthewlam closed 1 month ago

minghinmatthewlam commented 1 month ago

Why this should be merged

Fixes N-02

How this works

Adds a NativeCoinsMinted event that is emitted when _mintNativeCoins is called.

How this was tested

Added event emission checks for NativeCoinsMinted for every time we mock minting coins through the native minter precompile.

How is this documented

comments

openzeppelin-code[bot] commented 1 month ago

N-02 Functions Are Updating the State Without Event Emissions

Generated at commit: a6f0026847c078df715bb20ac1a1c6e3c82387b7

🚨 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

minghinmatthewlam commented 1 month ago

closing since native minter precompile already emits an event