Skip to content

Commit

Permalink
feat: Add deprecated storage iterator methods with notImplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Feb 17, 2025
1 parent 4055fbb commit a66c231
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/view-only.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,11 @@ const imports = (ctx) => {
return 1n;
},

// Storage iterators (deprecated)
storage_iter_prefix: notImplemented('storage_iter_prefix'),
storage_iter_range: notImplemented('storage_iter_range'),
storage_iter_next: notImplemented('storage_iter_next'),

// Validator
validator_stake: notImplemented('validator_stake'),
validator_total_stake: notImplemented('validator_total_stake'),
Expand Down

0 comments on commit a66c231

Please sign in to comment.