Skip to content

Commit

Permalink
enable fullstackNetworkProvider p2sh32 test (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-zwets authored Dec 17, 2024
1 parent 5c82a5f commit 46fd271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cashscript/test/e2e/network/FullStack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ if (!process.env.TESTS_USE_MOCKNET) {
const utxos = await p2pkhInstance.getUtxos();
expect(Array.isArray(utxos)).toBe(true);
});
// Note: does not currently support p2sh32
it.skip('should get the utxos for a p2sh32 contract', async () => {
it('should get the utxos for a p2sh32 contract', async () => {
// Note: We instantiate the contract with bobPkh to avoid mempool conflicts with other tests
const p2pkhInstance = new Contract(artifact, [bobPkh], { provider, addressType: 'p2sh32' });
console.log(p2pkhInstance.address);
Expand All @@ -36,6 +35,7 @@ if (!process.env.TESTS_USE_MOCKNET) {

describe('send using FullStackNetworkProvider', () => {
// Note: We instantiate the contract with bobPkh to avoid mempool conflicts with other tests
// Using p2sh20 address becuase it is funded on mainnet
const p2pkhInstance = new Contract(artifact, [bobPkh], { provider, addressType: 'p2sh20' });
console.log(p2pkhInstance.address);

Expand Down

0 comments on commit 46fd271

Please # to comment.