Skip to content

Commit

Permalink
albi back
Browse files Browse the repository at this point in the history
  • Loading branch information
Skydev0h committed Dec 26, 2023
1 parent d95d1a1 commit e2f8e19
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions contracts/task3.fc
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,9 @@
;; You may delete and rewrite as needed,
;; but the final implementation must adhere to the same structure

{-
cell get_storage() inline {
slice cs = get_data().begin_parse();

;; Logic to extract the storage on which the version-specific process_message and get-methods operate
cell storage = cs~load_ref();

return storage;
return get_data().begin_parse().preload_ref();
}
-}

cell wrap_storage(int version_id, cell storage) inline {
;; add additional data required for versioning in this cell
Expand Down

0 comments on commit e2f8e19

Please sign in to comment.