Skip to content

Conversation

@gnarvaja
Copy link
Contributor

For simplicity and backward compatibility with old Ensuro's TestCurrency, I removed the access control for the default TestCurrency contract.

I added TestCurrencyAC for code that was using the version with access control.

The initCurrency function should switch between one or the other depending if the extra parameter admin was sent.

Also, I removed the dependency between TestERC4626 and TestCurrency, just in case the project using the library already has a contract called TestCurrency.

For simplicity and backward compatibility with old Ensuro's
TestCurrency, I removed the access control for the default TestCurrency
contract.

I added TestCurrencyAC for code that was using the version with access
control.

The initCurrency function should switch between one or the other
depending if the extra parameter `admin` was sent.

Also, I removed the dependency between TestERC4626 and TestCurrency,
just in case the project using the library already has a contract called
TestCurrency.
@gnarvaja gnarvaja merged commit 877e5b4 into main Aug 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants