From 0145ba638476064433fa1a182e2c3f62a783ac8c Mon Sep 17 00:00:00 2001 From: Ayomide-codex Date: Tue, 30 Jun 2026 09:35:39 +0100 Subject: [PATCH 1/2] Add shebang and set error handling in script --- scripts/check_wasm_size.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/check_wasm_size.sh b/scripts/check_wasm_size.sh index 65e18946..ab7fac09 100755 --- a/scripts/check_wasm_size.sh +++ b/scripts/check_wasm_size.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e + # Default budget: 768 KiB = 768 * 1024 = 786432 bytes BUDGET=${WASM_SIZE_BUDGET:-786432} From bef065dbca1f171eee7594b3e551eadd676a403c Mon Sep 17 00:00:00 2001 From: Ayomide-codex Date: Tue, 30 Jun 2026 09:47:46 +0100 Subject: [PATCH 2/2] Update EVENT_ARCHIVE.md with overview details Added a brief description of the Event Archive functionality. --- docs/contracts/EVENT_ARCHIVE.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/contracts/EVENT_ARCHIVE.md b/docs/contracts/EVENT_ARCHIVE.md index 56b9033c..ee24bc22 100644 --- a/docs/contracts/EVENT_ARCHIVE.md +++ b/docs/contracts/EVENT_ARCHIVE.md @@ -2,6 +2,8 @@ Bounded on-chain storage for resolved and cancelled prediction markets, with paginated historical queries. + + ## Overview `EventArchive` (in `contracts/predictify-hybrid/src/event_archive.rs`) lets admins mark resolved or cancelled markets as archived and exposes read-only paginated queries for analytics and UI. Only public metadata is returned — no votes, individual stakes, or addresses.