You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the latest research that we did, there exist other Merkle trees that show better performance, less touch the storage, and produce less footprint.
Because of that, we've decided to use a tree other than SMT. But their production-ready audited implementation will take some time. Until that moment, we just need to remove usage of SMT.
Implementation details
Use a Plain blueprint instead of the Sparse for ContractsState and ContractsAssets tables.
Since the Plain blueprint doesn't implement MerkleRootStorage, in the places where we used root, we need to use and root of the empty tree.
The text was updated successfully, but these errors were encountered:
Fixes#2042
Added "smt" feature to the `fuel-core-storage` to enable old behavior.
The SMT still is used in the tests and in benchmarks but disabled for
the "production" mode.
## Checklist
- [x] Breaking changes are clearly marked as such in the PR description
and changelog
- [x] New behavior is reflected in tests
### Before requesting review
- [x] I have reviewed the code myself
---------
Co-authored-by: Voxelot <brandonkite92@gmail.com>
Co-authored-by: Mitch Turner <james.mitchell.turner@gmail.com>
FixesFuelLabs/fuel-core#2042
Added "smt" feature to the `fuel-core-storage` to enable old behavior.
The SMT still is used in the tests and in benchmarks but disabled for
the "production" mode.
## Checklist
- [x] Breaking changes are clearly marked as such in the PR description
and changelog
- [x] New behavior is reflected in tests
### Before requesting review
- [x] I have reviewed the code myself
---------
Co-authored-by: Voxelot <brandonkite92@gmail.com>
Co-authored-by: Mitch Turner <james.mitchell.turner@gmail.com>
Overview
Based on the latest research that we did, there exist other Merkle trees that show better performance, less touch the storage, and produce less footprint.
Because of that, we've decided to use a tree other than SMT. But their production-ready audited implementation will take some time. Until that moment, we just need to remove usage of SMT.
Implementation details
Use a
Plain
blueprint instead of theSparse
forContractsState
andContractsAssets
tables.Since the
Plain
blueprint doesn't implementMerkleRootStorage
, in the places where we used root, we need to use and root of the empty tree.The text was updated successfully, but these errors were encountered: