Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tokens/escrow/anchor/tests/escrow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('escrow', async () => {

const transactionSignature = await program.methods
.makeOffer(offerId, tokenAOfferedAmount, tokenBWantedAmount)
.accounts({ ...accounts })
.accountsPartial({ ...accounts })
.signers([alice])
.rpc();

Expand All @@ -152,7 +152,7 @@ describe('escrow', async () => {
it("Puts the tokens from the vault into Bob's account, and gives Alice Bob's tokens, when Bob takes an offer", async () => {
const transactionSignature = await program.methods
.takeOffer()
.accounts({ ...accounts })
.accountsPartial({ ...accounts })
.signers([bob])
.rpc();

Expand Down
4 changes: 2 additions & 2 deletions tokens/escrow/anchor/tests/litesvm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ describe('Escrow LiteSVM example', () => {

const _transactionSignature = await program.methods
.makeOffer(offerId, tokenAOfferedAmount, tokenBWantedAmount)
.accounts({ ...accounts })
.accountsPartial({ ...accounts })
.signers([alice])
.rpc();

Expand All @@ -174,7 +174,7 @@ describe('Escrow LiteSVM example', () => {
const take = async () => {
const _transactionSignature = await program.methods
.takeOffer()
.accounts({ ...accounts })
.accountsPartial({ ...accounts })
.signers([bob])
.rpc();

Expand Down