v0.4.1
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
ppedziwiatr
2021-12-02 17:08:58 +01:00
parent 80164a509e
commit bec7677c41
2 changed files with 2 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "redstone-smartweave",
"version": "0.4.0",
"version": "0.4.1",
"description": "An implementation of the SmartWeave smart contract protocol.",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",

View File

@@ -37,9 +37,7 @@ describe.each(chunked)('.suite %#', (contracts: string[]) => {
const result = await readContract(arweave, contractTxId);
const resultString = JSON.stringify(result).trim();
console.log('readState', contractTxId);
const result2 = await SmartWeaveNodeFactory.memCached(arweave, 5)
.contract(contractTxId)
.readState();
const result2 = await SmartWeaveNodeFactory.memCached(arweave, 5).contract(contractTxId).readState();
const result2String = JSON.stringify(result2.state).trim();
expect(result2String).toEqual(resultString);