The function BeanL1RecieverFacet::recieveL1Beans
will always revert because the variable BeanL1RecieverFacet::EXTERNAL_L1_BEANS
, which represents the maximum amount of beans that can be migrated to L2, is set to 0. This causes the function to always revert when called.
The variable BeanL1RecieverFacet::EXTERNAL_L1_BEANS
is set to 0, while the function BeanL1RecieverFacet::recieveL1Bean
requires s.sys.migration.migratedL1Beans
to be less than or equal to BeanL1RecieverFacet::EXTERNAL_L1_BEANS
to proceed with execution. As a result, the function will only execute without reverting if s.sys.migration.migratedL1Beans
is equal to 0.
Beans can never be migrated from L1 to L2 as the function BeanL1RecieverFacet::recieveL1Beans
would always revert.
Manual review
Set the variable BeanL1RecieverFacet::EXTERNAL_L1_BEANS
to a large enough value to allow the function BeanL1RecieverFacet::recieveL1Beans
to work as expected.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.