Skip to content

Commit

Permalink
Merge branch 'stylus' into print-wavm
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield authored Jan 18, 2024
2 parents 6ca05f8 + 65f77cf commit dcfe900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arbitrator/stylus/src/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl<E: EvmApi> NativeInstance<E> {
) -> Result<Self> {
let env = WasmEnv::new(compile, None, evm, evm_data);
let store = env.compile.store();
let module = Module::deserialize(&store, module)?;
let module = unsafe { Module::deserialize_unchecked(&store, module)? };
Self::from_module(module, store, env)
}

Expand Down
2 changes: 1 addition & 1 deletion precompiles/ArbOwner.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (con ArbOwner) SetWasmExpiryDays(c ctx, _ mech, days uint16) error {

// Sets the age a program must be to perform a keepalive
func (con ArbOwner) SetWasmKeepaliveDays(c ctx, _ mech, days uint16) error {
return c.State.Programs().SetExpiryDays(days)
return c.State.Programs().SetKeepaliveDays(days)
}

func (con ArbOwner) SetChainConfig(c ctx, evm mech, serializedChainConfig []byte) error {
Expand Down

0 comments on commit dcfe900

Please sign in to comment.