Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
e3b44a5 to
193cfac
Compare
4413d51 to
206c56d
Compare
a7b9b55 to
62ef624
Compare
206c56d to
48e0395
Compare
62ef624 to
3c3c721
Compare
e5a2094 to
78097e5
Compare
e839241 to
3c4c58e
Compare
78097e5 to
de8c543
Compare
| get address() { | ||
| return this.instance.address; | ||
| } |
There was a problem hiding this comment.
As discussed in DMs, this getter just looks nicer in code.
There was a problem hiding this comment.
I'll probably kill the one above soon, since we're "starting from scratch" on wallet apis
| --bot.senderSalt <value> ($BOT_ACCOUNT_SALT) | ||
| The salt to use to deploys the sender account. | ||
|
|
||
| --bot.recipientEncryptionSecret <value> (default: [Redacted]) ($BOT_RECIPIENT_ENCRYPTION_SECRET) |
There was a problem hiding this comment.
Alex confirmed that dropping this and just using arbitrary recipient is fine.
1737485 to
89729a0
Compare
5ec271b to
e50e100
Compare
| @@ -189,7 +189,7 @@ No correctness is guaranteed on the result of `simulate`! Correct execution is e | |||
|
|
|||
| This creates and returns a transaction request, which includes proof of correct private execution and side-effects. The request is not broadcast however, and no gas is spent. It is typically used in testing contexts to inspect transaction parameters or to check for execution failure. | |||
|
|
|||
| #include_code local-tx-fails /yarn-project/end-to-end/src/guides/dapp_testing.test.ts typescript | |||
| #include_code local-tx-fails /yarn-project/end-to-end/src/e2e_crowdfunding_and_claim.test.ts typescript | |||
There was a problem hiding this comment.
Dropped the dapp_testing.test.ts because it was stale and basically no longer used in docs. This was the only occurrence in docs.
What motivated me to drop it is that we directly obtained there the notes from wallet and that is deprecated.
| await wallet.registerKeysForEscrowContract( | ||
| crowdfundingSecretKey, | ||
| await computePartialAddress(crowdfundingInstance), | ||
| ); |
There was a problem hiding this comment.
Renamed the problematic function to make it less cancerous before it gets completely nuked.
|
|
||
| it('reuses the same account and token contract', async () => { | ||
| const { defaultAccountAddress, token, recipient } = bot; | ||
| it('reuses the same token contract', async () => { |
There was a problem hiding this comment.
Recipient is no longer stable across bot instantiations but Alex said it doesn't matter.
| * Returns the PXE. | ||
| * @deprecated This is only used by account manager to because there we call registerAccount. This can be dropped | ||
| * once we allow Wallet.registerContract accepts secretKey and partialAddress on the input. | ||
| */ |
There was a problem hiding this comment.
I'm killing this next, so we should be good
86f95ca to
273de06
Compare
Continuation of #17283. Changes explained with comments in the code.
273de06 to
5b593d6
Compare
Pull Request is not mergeable

Continuation of #17283. Changes explained with comments in the code.