Skip to content

Commit

Permalink
Basic tx testing
Browse files Browse the repository at this point in the history
  • Loading branch information
yagopv committed Oct 6, 2023
1 parent 311f9ee commit a1918a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/protocol-kit/tests/e2e/eip1271.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ describe.only('EIP1271', () => {
}
)

it.skip('should allow to use a sign transactions using smart contracts', async () => {
it.only('should allow to use a sign transactions using smart contracts', async () => {
const { safe, accounts, safeSdk1, safeSdk2 } = await setupTests()

const [account1, account2] = accounts
Expand Down Expand Up @@ -266,7 +266,7 @@ describe.only('EIP1271', () => {
console.log('BALANCE AFTER: ', balanceAfter.toString())
console.log('RECEIPT:', receipt)
chai.expect(tx.signatures.size).to.be.eq(2)
chai.expect(await safeSdk1.isValidTransaction(tx)).to.be.true
chai.expect(receipt?.status).to.be.eq(1)
})
})
})

0 comments on commit a1918a3

Please sign in to comment.