0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
27 stars 23 forks source link

Use `AccountCode::from_parts` instead of `AccountCode::new` when creating an account from a query #303

Open tomyrd opened 2 months ago

tomyrd commented 2 months ago

We should considered using AccountCode::from_parts instead so we don't compile the account module every time we load it from the database.

_Originally posted by @mFragaBA in https://github.com/0xPolygonMiden/miden-client/pull/300#discussion_r1581554274_