Closed rahxephon89 closed 7 months ago
Do we have a script/process to follow to exhibit the original bug?
Do we have a script/process to follow to exhibit the original bug?
run ENV_TEST_FEATURE=v2 cargo test test_bitvector
in third_party/move/move-prover
.
Confirmed that the constant map can be accessed when running the prover in V2 mode.
🐛 Bug
When the Move code contains constants such as
const MAX_FRACTIONAL_PART: u128 = 0xFFFFFFFFFFFFFFFF;
, constant_map is only generated V1, not V2. So when the prover tries to use the bytecode generated by V2, panic will happen because of the code here.