refactor!: cleaning up our use of testWallet.getNotes(...)#17325
refactor!: cleaning up our use of testWallet.getNotes(...)#17325
testWallet.getNotes(...)#17325Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
35e9ba1 to
5d120a8
Compare
noir-projects/noir-contracts/contracts/app/crowdfunding_contract/src/main.nr
Show resolved
Hide resolved
noir-projects/noir-contracts/contracts/app/crowdfunding_contract/src/main.nr
Show resolved
Hide resolved
noir-projects/noir-contracts/contracts/app/crowdfunding_contract/src/main.nr
Show resolved
Hide resolved
8d133fd to
40d4375
Compare
86f95ca to
273de06
Compare
273de06 to
5b593d6
Compare
40d4375 to
ca10623
Compare
wallet.getNotes
wallet.getNotestestWallet.getNotes(...)
testWallet.getNotes(...)testWallet.getNotes(...)
bd5f237 to
cef213a
Compare
| return decodedEvents; | ||
| } | ||
|
|
||
| async resetNoteSyncData() { |
There was a problem hiding this comment.
This was unused so I dropped it. It's only used by the internal PXE synchronizer so it shouldn't be exposed.
There was a problem hiding this comment.
I don't think anyone is using it and invoking the method won't get you out of #15753, because the problem is that your index "got outside" of the window. Resetting them won't unstuck you (nor cleaning PXEs db entirely)
There was a problem hiding this comment.
In that case will not revert this change and all of Nico's feedback on this PR is now addressed (was careful with the commit history so seeing changes since last review should work).
yarn-project/end-to-end/src/e2e_blacklist_token_contract/minting.test.ts
Show resolved
Hide resolved
nventuro
left a comment
There was a problem hiding this comment.
Lovely, thanks a lot for the careful considerations
noir-projects/noir-contracts/contracts/app/crowdfunding_contract/src/main.nr
Show resolved
Hide resolved
| return decodedEvents; | ||
| } | ||
|
|
||
| async resetNoteSyncData() { |
4b1c2cf to
c18f5d1
Compare
c18f5d1 to
b4fea5d
Compare
b4fea5d to
a185f09
Compare
In this PR I replace incorrect use of the `testWallet.getNotes(...)` debugging function by implementing corresponding utility functions and I drop the Aztec Cheatcodes class as it became unused. Nuked the testing with Aztec.js section of docs as it became so stale to the point of being detrimental. Asked devrel and they prefer me rewriting it so I will do that in a followup PR.
5467aab to
079f99d
Compare
Pull Request is not mergeable

In this PR I replace incorrect use of the
testWallet.getNotes(...)debugging function by implementing corresponding utility functions and I drop the Aztec Cheatcodes class as it became unused.Nuked the testing with Aztec.js section of docs as it became so stale to the point of being detrimental. Asked devrel and they prefer me rewriting it so I will do that in a followup PR.