Skip to content

Commit

Permalink
Write test to make sure we have correct SALT
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed Nov 1, 2024
1 parent 44d0c52 commit 5abdcb2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/modules/DecentHatsModuleUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,4 +311,12 @@ describe('DecentHatsModuleUtils', () => {
expect(event.args.totalAmount).to.equal(hre.ethers.parseEther('100'));
});
});

describe('SALT', () => {
it('should be a static hardcoded value that never changes for any reason', async () => {
expect(await mockDecentHatsModuleUtils.SALT()).to.equal(
'0x5d0e6ce4fd951366cc55da93f6e79d8b81483109d79676a04bcc2bed6a4b5072',
);
});
});
});

0 comments on commit 5abdcb2

Please sign in to comment.