Commit 30a7e678 authored by Sebastian Kunert's avatar Sebastian Kunert Committed by GitHub
Browse files

Make triecache generic and work for no-std environments (#14403)



* Remove `AsLocalTrieCache` trait

* Introduce new trait AsTrieDbCache

* Use AsTrieDbCache trait

* Make it compile

* Docs

* Improve naming of associated type, implement cache usage for no-std

* Improve naming

* Improve docs

* Allow construction with optional cache

* FMT

* Remove unused variable

* Revert unwanted change

* Apply suggestions from code review

Co-authored-by: default avatarBastian Köcher <[email protected]>

* More comment adjustments

* Docs

* Trigger CI

* ".git/.scripts/commands/fmt/fmt.sh"

* Apply suggestions from code review

Co-authored-by: default avatarKoute <[email protected]>

* Review comments

* Review comments

* Apply suggestions from code review

Co-authored-by: default avatarMichal Kucharczyk <[email protected]>

* fmt

* Bump trie-db again

---------

Co-authored-by: default avatarBastian Köcher <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: default avatarKoute <[email protected]>
Co-authored-by: default avatarMichal Kucharczyk <[email protected]>
parent 943697fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment