@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "warp-contracts",
|
||||
"version": "1.4.31",
|
||||
"version": "1.4.32",
|
||||
"description": "An implementation of the SmartWeave smart contract protocol.",
|
||||
"types": "./lib/types/index.d.ts",
|
||||
"main": "./lib/cjs/index.js",
|
||||
|
||||
@@ -129,7 +129,9 @@ describe('Testing the Profit Sharing Token', () => {
|
||||
const result = await pst.readState();
|
||||
|
||||
expect(result.cachedValue.validity[interaction.originalTxId]).toBeFalsy();
|
||||
expect(result.cachedValue.errorMessages[interaction.originalTxId]).toContain('Trying to call "view" function from a "write" action');
|
||||
expect(result.cachedValue.errorMessages[interaction.originalTxId]).toContain(
|
||||
'Trying to call "view" function from a "write" action'
|
||||
);
|
||||
});
|
||||
|
||||
it('should properly dispatch an event', async () => {
|
||||
|
||||
Reference in New Issue
Block a user