Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The comments of ReserveConfigurationMap is inconsistent with codes #350

Open
defirobot opened this issue Mar 17, 2023 · 1 comment
Open

Comments

@defirobot
Copy link

MASK and POSITION are inconsistent with comments of ReservConfigurationMap
Fields involved are

//bit 60: asset is paused
//bit 61: borrowing in isolation mode is enabled
//bit 62-63: reserved

The right one should be

//bit 60: asset is paused
//bit 62: borrowing in isolation mode is enabled
//bit 63: reserved

the MASK and POSITON

uint256 internal constant SILOED_BORROWING_MASK =          0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFFFFFFFFFFFFFFF; // prettier-ignore

uint256 internal constant IS_PAUSED_START_BIT_POSITION = 60;
uint256 internal constant SILOED_BORROWING_START_BIT_POSITION = 62;
/// @dev bit 63 reserved
@daredevil3435
Copy link

I want to contribute. How do I get started?

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

No branches or pull requests

2 participants