Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Oct 17, 2024
1 parent a03bd78 commit 4d9a329
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions smart-contract/src/lib-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,11 @@ export async function deploy(file: string, args: Args, coins: bigint) {
const contractAddress = contract.address.toString();

console.log('Contract deployed at: ', contractAddress);

const events = await client.getEvents({
smartContractAddress: contractAddress,
isFinal: true,
});

return { contractAddress, events, contract };
}

0 comments on commit 4d9a329

Please sign in to comment.