Skip to content

Comments

Create Test Fixture Library of Pre-compiled WASM Contracts #215#238

Merged
Timi16 merged 4 commits intoTimi16:mainfrom
Tijesunimi004:test/wasm-fixtures
Feb 23, 2026
Merged

Create Test Fixture Library of Pre-compiled WASM Contracts #215#238
Timi16 merged 4 commits intoTimi16:mainfrom
Tijesunimi004:test/wasm-fixtures

Conversation

@Tijesunimi004
Copy link
Contributor

Overview

This PR implements Issue #215 by creating a library of pre-compiled WASM test fixtures. This eliminates the need for dynamic compilation during tests, significantly reducing test overhead.

Changes

  • Optimized Contracts: Implemented Counter, Echo, Always-panic, Budget-heavy, and Caller contracts in \ ests/fixtures/contracts/.
  • Build Script: Added \ ests/fixtures/build_fixtures.sh\ to automate WASM compilation.
  • Pre-compiled WASM: Added 5 pre-compiled .wasm\ files to \ ests/fixtures/wasm/.
  • Integration: Updated \ ests/fixture_tests.rs\ with a new registration and invocation test using the pre-compiled fixtures.

Closes #215

@Timi16 Timi16 merged commit 2943b3a into Timi16:main Feb 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Test Fixture Library of Pre-compiled WASM Contracts

2 participants