<!-- canonical: https://0xsimao.com/findings/fuji-finance-flasher-abi-encode-unnecessarily -->

# BaseFlasher does extra abi.encode unnecessarily

Low/Info · Three Sigma · Lending aggregator · 6th May, 2023

Finding 3S-FUJI-N04 of the Fuji Finance security review.

- Report: /reports/fuji-finance
- Source: https://cdn.sanity.io/files/qoqld077/staging/32181a28eac3175d15fb8924d249bb0d91ca350c.pdf

---

### Description

The _entrypoint in BaseFlasher is keccak256(abi.encode(data))

### Recommendation

Remove abi.encode and set it as keccak256(data)

### Status

Addressed here: [Fujicracy/fuji-v2#614](https://github.com/Fujicracy/fuji-v2/pull/614)
