cartesi / rollups-contracts

Smart Contracts for Cartesi Rollups
https://cartesi.github.io/rollups-contracts/
Apache License 2.0
18 stars 38 forks source link

Use OpenZeppelin's `BitMaps` in `CartesiDApp` #169

Closed guidanoli closed 8 months ago

guidanoli commented 9 months ago

📚 Context

Currently, we are using a homebrew implementation of bit masks called Bitmask for keeping track of vouchers that were already executed. However, there is an equivalent OpenZeppelin implementation called BitMaps.

✔️ Solution

Refactor CartesiDApp to use BitMaps instead of Bitmask.