Skip to content

feat(connect): support non-genesis-wasm execution device on mainnet spawn - #1313

Open
jim-toth wants to merge 1 commit into
permaweb:mainfrom
Memetic-Block:fix/mainnet-spawn-execution-device
Open

feat(connect): support non-genesis-wasm execution device on mainnet spawn#1313
jim-toth wants to merge 1 commit into
permaweb:mainfrom
Memetic-Block:fix/mainnet-spawn-execution-device

Conversation

@jim-toth

@jim-toth jim-toth commented Jul 17, 2026

Copy link
Copy Markdown

Mainnet spawnWith hardcoded execution-device=genesis-wasm@1.0, so targeting another device (e.g. lua@5.3a) required a lowercase execution-device tag whose natural Execution-Device casing silently doubled the value and broke the process with device_not_loadable. It also stringified a map-valued module to "[object Object]".

  • resolve execution-device from EXECUTION_DEVICE env / args.executionDevice (default genesis-wasm@1.0; mirrors module/authority)
  • reject a non-string module instead of emitting "[object Object]"
  • document executionDevice on spawn; add node-free unit tests

Closes #1312

Version Update

Select exactly one version update type. This choice is used by CI after the PR is merged into
main to update connect/package.json, create the release tag, and publish the package to npm.

  • major
  • minor
  • patch

…pawn

Mainnet spawnWith hardcoded execution-device=genesis-wasm@1.0, so targeting
another device (e.g. lua@5.3a) required a lowercase execution-device tag whose
natural Execution-Device casing silently doubled the value and broke the
process with device_not_loadable. It also stringified a map-valued module to
"[object Object]".

- resolve execution-device from EXECUTION_DEVICE env / args.executionDevice
  (default genesis-wasm@1.0; mirrors module/authority)
- reject a non-string module instead of emitting "[object Object]"
- document executionDevice on spawn; add node-free unit tests
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.

mainnet spawn: can't cleanly target a non-genesis-wasm execution device; map module silently becomes "[object Object]"

1 participant