You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* (WIP) Upgrade to Solidity v0.5.0 (#21)
* (refactor) Changed codebase to Solidity v0.5.0
* Style changes
* Added `memory` everywhere to bytes and strings
* `target.call(data)` now returns a tuple
* Adding note about compiler support in the README + typo fix
* Replaced the ThrowProxy pattern for a better v0.5.x one
ThrowProxy was giving problems while testing with the JS-VM with the Constantinople hard-fork. So I changed the tests to stop using that pattern and use function selectors since that's now a thing.
It is cleaner now.
* Update package-lock.json
* Bump version to v0.0.7
* Bump version in package-lock.json
* Update dependency versions
* Fix typo in package-lock.json
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,15 @@ The library lets you concatenate, slice and type cast bytes arrays both in memor
8
8
9
9
Given this library has an all-internal collection of methods it doesn't make sense having it reside in the mainnet. Instead it will only be available in EPM as an installable package.
10
10
11
+
_Note_: Since version `v0.0.7` the library will only compile on Solidity versions `>0.4.22` so, if you need `v0.4.x` support for your project just use `v0.0.6` of the library with:
12
+
```
13
+
$ truffle install bytes@0.0.6
14
+
```
15
+
or
16
+
```
17
+
$ npm install solidity-bytes-utils@0.0.6
18
+
```
19
+
11
20
## Usage
12
21
13
22
You can use the library here present by direct download and importing with:
@@ -61,7 +70,6 @@ Contributions are more than welcome in any way shape or form! 😄
61
70
62
71
TODOs:
63
72
* Two storage bytes arrays concatenation
64
-
* Two storage bytes arrays concatenation
65
73
* Slicing directly from storage
66
74
* Implement inline assembly functions for better readability
0 commit comments