This allows testing of newly deployed fee currencies even when MockSortedOracles is used. This is the some implementation used in celo-monorepo with the following differences:
updated to a more recent solidity version
remove getter for public _numRates to avoid error when building bindings: Failed to generate ABI binding: duplicated identifier "numRates"(normalized "NumRates"), use --alias for renaming
This allows testing of newly deployed fee currencies even when MockSortedOracles is used. This is the some implementation used in celo-monorepo with the following differences:
_numRates
to avoid error when building bindings:Failed to generate ABI binding: duplicated identifier "numRates"(normalized "NumRates"), use --alias for renaming