Skip to content

Commit

Permalink
v1.2.37
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedziwiatr committed Dec 23, 2022
1 parent 0c45882 commit 3f7f0e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "warp-contracts",
"version": "1.2.36",
"version": "1.2.37",
"description": "An implementation of the SmartWeave smart contract protocol.",
"types": "./lib/types/index.d.ts",
"main": "./lib/cjs/index.js",
Expand Down
4 changes: 1 addition & 3 deletions src/__tests__/integration/basic/unsafe-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ describe('Testing the Warp client', () => {
});

it('should not allow to evaluate contract with unsafe operations by default', async () => {
await expect(contract.readState()).rejects.toThrowError(
'[SkipUnsafeError]'
);
await expect(contract.readState()).rejects.toThrowError('[SkipUnsafeError]');
});

it('should allow to evaluate contract with unsafe operations when evaluation option is set.', async () => {
Expand Down

0 comments on commit 3f7f0e8

Please sign in to comment.