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
Per Pato's comments: There's a ~200-300ms optimization opportunity in the initialization of EDR with custom config values. Note that the default values use pre-derived keys instead of deriving them just in time, and do not incur this time penalty.
Currently EDR accepts an array of OwnedAccounts, which have this shape:
we could move a CPU-intensive operation from Hardhat into EDR, and probably run those derivations in parallel.
On my system (a devcontainer on an Apple M2 Max) those derivations take 350ms (in JS). (edited)
Tested with the following params
{
initialIndex: 0,
count: 20,
path: "m/44'/60'/0'/0",
passphrase: '',
mnemonic: 'test test test test test test test test test test test junk',
accountsBalance: 10000000000000000000000n
}
The text was updated successfully, but these errors were encountered:
Per Pato's comments: There's a ~200-300ms optimization opportunity in the initialization of EDR with custom config values. Note that the default values use pre-derived keys instead of deriving them just in time, and do not incur this time penalty.
Currently EDR accepts an array of OwnedAccounts, which have this shape:
If it also accepted something like
we could move a CPU-intensive operation from Hardhat into EDR, and probably run those derivations in parallel.
On my system (a devcontainer on an Apple M2 Max) those derivations take 350ms (in JS). (edited)
Tested with the following params
The text was updated successfully, but these errors were encountered: