Skip to content

Commit

Permalink
fix: find and replace thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Jan 30, 2024
1 parent c07cae3 commit 9c3140e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ describe('External Calls', () => {
expect(retValue).toEqual([new Field(1n), new Field(2n)]);

// Check that the storage call has been merged into the parent journal
const { currentStorageValue: storageWrites } = journal.flush();
expect(storageWrites.size).toEqual(1);
const { currentStorageValue } = journal.flush();
expect(currentStorageValue.size).toEqual(1);

const nestedContractWrites = storageWrites.get(addr.toBigInt());
const nestedContractWrites = currentStorageValue.get(addr.toBigInt());
expect(nestedContractWrites).toBeDefined();

const slotNumber = 1n;
Expand Down

0 comments on commit 9c3140e

Please sign in to comment.