Open olehmisar opened 1 day ago
still countless errors to fix
@charlielye any comments on the approach of mass-asyncifying bb?
everything except end-to-end
typechecks. Waiting whether this PR is even gonna be merged before continuing. Also, see the PR description for substantial changes and potential bugs introduced.
Closes #9959
May be postponed if #9987 makes performance acceptable.
Removed top-level await.
BarretenbergSync.getSingleton
and all functions and methods that depend on it are now marked asasync
.Changes
{ name: string; parameters: ABIParameter[] }
anymore. Otherwise it has to be async as wellawait wallet.setPublicAuthWit({ caller, action }, true).send().wait()
is nowawait (await wallet.setPublicAuthWit({ caller, action }, true).send()).wait()
contract.methods.xxx.selector
now returns aPromise<FunctionSelector>
There may be bugs introduced