L2ContractMigrationFacet#setStalk
never sets the global silo variables
When users migrate via L2ContractMigrationFacet
, they're calculated the necessary stalk and get it minted via setStalk
.
However, the global silo variables s.sys.silo.stalk
and s.sys.silo.roots
are never increased
Incorrect global state variables. Multiple critical functions which depend on it (plant, withdrawDeposit, minting/ burning stalk, etc) will fail/ lead to unexpected results
Manual review
Increase the global state variables
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.