From 052326311915120cbb9db1bd9d54b7e2c79cc36c Mon Sep 17 00:00:00 2001 From: wildanvin Date: Sun, 15 Dec 2024 21:27:15 -0500 Subject: [PATCH] test: check the NOTHING_UP_MY_SLEEVE value in Poll test suite --- packages/contracts/tests/Poll.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/contracts/tests/Poll.test.ts b/packages/contracts/tests/Poll.test.ts index 1bd6b5b4b..9bd7b297b 100644 --- a/packages/contracts/tests/Poll.test.ts +++ b/packages/contracts/tests/Poll.test.ts @@ -92,6 +92,10 @@ describe("Poll", () => { expect(p.toString()).to.eq(pollId.toString()); // publish the NOTHING_UP_MY_SLEEVE message const messageData = [NOTHING_UP_MY_SLEEVE]; + expect( + NOTHING_UP_MY_SLEEVE === BigInt("8370432830353022751713833565135785980866757267633941821328460903436894336785"), + ); + for (let i = 1; i < 10; i += 1) { messageData.push(BigInt(0)); }