Commit b0239a9
committed
abi.encodePacked -> abi.encode
use the standardized abi.encode for workload id calculation, as this is standardized
and will ease the process of decoding it back to its constituent data for both
onchain and offchain users.
See https://docs.soliditylang.org/en/latest/abi-spec.html\#non-standard-packed-mode
for more detailed info on the difference between the two functions.1 parent 9c3c6f6 commit b0239a9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments