Closed ZzzzHui closed 9 months ago
Some changes from OpenZeppelin v5 would affect us:
ReentrancyGuard
moved from security
to utils
0.8.20
or later
foundry.toml
(tests)hardhat.config.ts
(deployment)_initialOwner
parameter added to Ownable
constructor
Authority
constructorCartesiDApp
constructorPaymentSplitter
(impacts the to-be-added Quorum
)
We should upgrade OpenZeppenlin contract versions (from 4.5.0 to the latest 5.0.0) and adapt the new changes, for example, the deprecated
ERC1155Receiver
mentioned in this PR.