Near-One / rainbow-token-connector

ERC-20/NEP-141 Token Connector for Rainbow Bridge
62 stars 18 forks source link

Metadata connector: incorrect log output #86

Closed sept-en closed 2 years ago

sept-en commented 2 years ago

The event Log has the field uint256 timestamp. When the log is emitted on line [27-33] the field timestamp is set to block.number.

Ensure that the Log is intended to use the block height (block.number) rather than the timestamp (block.timestamp). If block height is desired, consider altering the name of the field Log.timestamp to Log.height. Otherwise, if the timestamp is desired use block.timestamp instead of block.number.