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
While most libraries in the monorepo take in an options dict with the available options in the constructor - e.g. the VM, Tx or the Block library - the Trie library still takes (its currently 2) options one-by-one.
This should be updated on develop so that all flavors of Trie (Base, CP, Secure) take in the two options as a typed dictionary together with a new options type interface in a dedicated src/types.ts file.
The text was updated successfully, but these errors were encountered:
(so the reason for this is that it makes the constructor options more easily extendable by removing the need of chaining additional options as main parameters in the constructor, also get's easier to e.g. deprecate or rename options)
While most libraries in the monorepo take in an options dict with the available options in the constructor - e.g. the VM, Tx or the Block library - the Trie library still takes (its currently 2) options one-by-one.
This should be updated on
develop
so that all flavors of Trie (Base, CP, Secure) take in the two options as a typed dictionary together with a new options type interface in a dedicatedsrc/types.ts
file.The text was updated successfully, but these errors were encountered: