Skip to content

Commit

Permalink
refactor(store): order load function arguments [N-02] (#2033)
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaaa authored Jan 10, 2024
1 parent 8f41f81 commit 9f8b84e
Show file tree
Hide file tree
Showing 8 changed files with 140 additions and 128 deletions.
12 changes: 12 additions & 0 deletions .changeset/pretty-toys-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@latticexyz/store": patch
---

Aligned the order of function arguments in the `Storage` library.

```solidity
store(uint256 storagePointer, uint256 offset, bytes memory data)
store(uint256 storagePointer, uint256 offset, uint256 length, uint256 memoryPointer)
load(uint256 storagePointer, uint256 offset, uint256 length)
load(uint256 storagePointer, uint256 offset, uint256 length, uint256 memoryPointer)
```
Loading

0 comments on commit 9f8b84e

Please sign in to comment.