Skip to content

Commit f906c67

Browse files
fix: export lambda sstore transaction
Signed-off-by: Ivaylo Nikolov <[email protected]>
1 parent 101121e commit f906c67

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/lambda_sstore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async fn main() -> anyhow::Result<()> {
132132
// Execute LambdaSStoreTransaction
133133
println!("Executing LambdaSStoreTransaction...");
134134
let lambda_store_receipt = LambdaSStoreTransaction::new()
135-
.hook_id(hook_id)
135+
.set_hook_id(hook_id)
136136
.add_storage_update(storage_update)
137137
.freeze_with(&client)?
138138
.sign(account_key)

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ pub use hooks::{
256256
HookExtensionPoint,
257257
HookId,
258258
LambdaEvmHook,
259+
LambdaSStoreTransaction,
260+
LambdaSStoreTransactionData,
259261
LambdaStorageSlot,
260262
LambdaStorageUpdate,
261263
NftHookCall,

0 commit comments

Comments
 (0)