Skip to content

Commit a952ac3

Browse files
refactor: formatting issues
Signed-off-by: Ivaylo Nikolov <[email protected]>
1 parent ff8d75b commit a952ac3

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/hooks/hook_entity_id.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
use hedera_proto::services;
2+
13
use crate::account::AccountId;
24
use crate::contract::ContractId;
35
use crate::ledger_id::RefLedgerId;
4-
use hedera_proto::services;
56
use crate::{
67
Error,
78
FromProtobuf,

src/hooks/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ pub use hook_entity_id::HookEntityId;
2525
pub use hook_extension_point::HookExtensionPoint;
2626
pub use hook_id::HookId;
2727
pub use lambda_evm_hook::LambdaEvmHook;
28-
//pub use lambda_s_store_transaction::LambdaSStoreTransactionData;
2928
pub use lambda_storage_slot::LambdaStorageSlot;
3029
pub use lambda_storage_update::LambdaStorageUpdate;
3130
//pub use nft_hook_call::NftHookCall;

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ pub use hooks::{
256256
HookExtensionPoint,
257257
HookId,
258258
LambdaEvmHook,
259-
// LambdaSStoreTransaction,
260259
LambdaStorageSlot,
261260
LambdaStorageUpdate,
262261
// NftHookCall,

tests/e2e/hooks/lambda_sstore.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,12 @@ async fn can_update_multiple_storage_slots() -> anyhow::Result<()> {
227227
let (_account_id, account_key, hook_id) = create_account_with_hook(&client, contract_id).await?;
228228

229229
// Create multiple storage updates
230-
let storage_slot1 = LambdaStorageSlot::new(vec![0x11, 0x12, 0x13, 0x14], vec![0x15, 0x16, 0x17, 0x18]);
231-
let storage_slot2 = LambdaStorageSlot::new(vec![0x21, 0x22, 0x23, 0x24], vec![0x25, 0x26, 0x27, 0x28]);
232-
let storage_slot3 = LambdaStorageSlot::new(vec![0x31, 0x32, 0x33, 0x34], vec![0x35, 0x36, 0x37, 0x38]);
230+
let storage_slot1 =
231+
LambdaStorageSlot::new(vec![0x11, 0x12, 0x13, 0x14], vec![0x15, 0x16, 0x17, 0x18]);
232+
let storage_slot2 =
233+
LambdaStorageSlot::new(vec![0x21, 0x22, 0x23, 0x24], vec![0x25, 0x26, 0x27, 0x28]);
234+
let storage_slot3 =
235+
LambdaStorageSlot::new(vec![0x31, 0x32, 0x33, 0x34], vec![0x35, 0x36, 0x37, 0x38]);
233236

234237
let storage_updates = vec![
235238
LambdaStorageUpdate::StorageSlot(storage_slot1),
@@ -252,4 +255,3 @@ async fn can_update_multiple_storage_slots() -> anyhow::Result<()> {
252255

253256
Ok(())
254257
}
255-

tests/e2e/hooks/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
mod lambda_sstore;
2-
1+
// mod lambda_sstore;

0 commit comments

Comments
 (0)