Skip to content

Commit

Permalink
implement wasm module migration (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
drsk0 authored Dec 11, 2024
1 parent 4b58084 commit 2dd578f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ migrateModules migration mods = do
StateMigrationParametersP4ToP5{} -> return $! moduleVInterface{GSWasm.miModule = PIMVMem artifact}
StateMigrationParametersP5ToP6{} -> return $! moduleVInterface{GSWasm.miModule = PIMVMem artifact}
StateMigrationParametersP6ToP7{} -> migrateToP7 @v wasmMod -- always recompile to lower transaction costs.
StateMigrationParametersP7ToP8{} -> error "TODO(drsk). github #1224. Implement state migration p7 -> p8"
StateMigrationParametersP7ToP8{} -> return $! moduleVInterface{GSWasm.miModule = PIMVMem artifact}

-- store the module into the new state, and remove it from memory
makeFlushedHashedCachedRef $!
Expand Down

0 comments on commit 2dd578f

Please sign in to comment.