The Ajna protocol is a non-custodial, peer-to-peer, permissionless lending, borrowing and trading system that requires no governance or external price feeds to function.
Change the _nextId private var to uint256 to avoid additional masking costs.
Description of bug or vulnerability and solution
Not sure if this variable is smaller because of an old variable it was packing up against. Converting it to a uint256 reduces the cost of variable masking in the mint and deployment without altering cost of other functions.
Description of change
High level
_nextId
as uint256_nextId
private var to uint256 to avoid additional masking costs.Description of bug or vulnerability and solution
Contract size
Pre Change
Post Change
Gas usage
Pre Change
Post Change