Closed decoqt closed 3 years ago
The test pass because Delete method in SparseMerkleTree will set defaultValue to root, thus value cannot get from this empty root. This is not correct, root should not set when delete
@yydfjt was this closed because there is no underlying issue that needs fixing?
DeleteForRoot is not right, after DeleteForRoot, the value still can be retrieved. In fact, Delete method in MapStore is not called in DeleteForRoot