Skip to content

Commit

Permalink
docs: added solidity packed functions to migration docs (#4289)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Aug 15, 2023
1 parent 203dfc3 commit 4d2e1ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs.wrm/migrating.wrm
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,13 @@ _code: hex conversion @lang<script>
_code: solidity non-standard packed @lang<script>
// v5
ethers.utils.solidityPack(types, values)
ethers.utils.solidityKeccak256(types, values)
ethers.utils.soliditySha256(types, values)

// v6
ethers.solidityPacked(types, values)
ethers.utils.solidityPackedKeccak256(types, values)
ethers.utils.solidityPackedSha256(types, values)

_code: property manipulation @lang<script>
// v5
Expand Down

0 comments on commit 4d2e1ff

Please sign in to comment.