feat: allow passing AztecNode to SentTx#12400
feat: allow passing AztecNode to SentTx#12400olehmisar wants to merge 2 commits intoAztecProtocol:masterfrom
Conversation
|
ah nice stuff, if theres anywhere convenient to unit test this it would be great to add one to protect against regressions |
|
@Maddiaa0 can't really do that as |
Ah i see, I assume the github codespaces machines have less than. 64GB of RAM, to fix run bootstrap with MEMSUSPEND=16GB, it defaults to 64GB |
|
@Maddiaa0 yeah, that helped. What do you want to unit test though? It’s only a type definition change |
…uspend (#12419) ## Overview Fixes hanging in devboxes see: #12400 (comment) --------- Co-authored-by: ludamad <domuradical@gmail.com> Co-authored-by: ludamad <adam.domurad@gmail.com>
|
Hi @olehmisar, I redid this with some tests and a slight refactor to avoid confusing naming. Feel free to comment here I don't love how it's implemented, though. All of these interactions are gonna be refactored, but I agree restricting interfaces for the sake of it is not good |
Always need unit tests |
resolves #11469
SentTxuses only public methods, soAztecNodealso works when it's passed toSentTx. This is type-only change to not require users type castAztecNode->PXE.There is also
DeploySentTxandDeployAccountSentTxbut I didn't change their signatures because not sure how useful it is.