Skip to content

Commit

Permalink
import changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Apr 21, 2024
1 parent 9ea2b3e commit 892acbb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ let upstream =
sha256:ca727657c01cc31d0e79c2113b59126b9826f4b56d20a8193be3c725599fb754

let eth-core-deps =
https://raw.githubusercontent.com/f-o-a-m/purescript-eth-core/master/packages.dhall
sha256:af2751772a729d58edf7056805007934e3687b3079f8a02ac514e705aeab8c42
https://raw.githubusercontent.com/f-o-a-m/purescript-eth-core/v10.1.0/packages.dhall
sha256:ca727657c01cc31d0e79c2113b59126b9826f4b56d20a8193be3c725599fb754

let web3-deps =
https://raw.githubusercontent.com/f-o-a-m/purescript-web3/master/packages.dhall
sha256:c1bebe7e4899bd64304a84fea26f9ea635e20897f206ce6fa86bd446715c5ffc
https://raw.githubusercontent.com/f-o-a-m/purescript-web3/v7.2.0/packages.dhall
sha256:2687f2bfcd60b5260d340407c9851e963b440ad520bbc93595f0452f859c9846

let web3-generator-deps =
https://raw.githubusercontent.com/f-o-a-m/purescript-web3-generator/master/packages.dhall
sha256:89a7ee097ae9a095bf3bfddcb354d4c6b747d15b9b47ef0f5dc5f2280d3a8929
https://raw.githubusercontent.com/f-o-a-m/purescript-web3-generator/v7.1.0/packages.dhall
sha256:cb46062e88d379ffc9871af092f3b219b6f519b86b31490fe6233747cb130d00

let additions =
{ solc =
Expand Down
4 changes: 2 additions & 2 deletions src/Chanterelle/Compile.purs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import Foreign.Object as FO
import Foreign.Object as M
import Language.Solidity.Compiler (compile) as Solc
import Language.Solidity.Compiler.Types as ST
import Network.Ethereum.Core.HexString (fromByteString)
import Network.Ethereum.Core.HexString (fromBuffer)
import Network.Ethereum.Core.Keccak256 (keccak256)
import Node.Encoding (Encoding(UTF8))
import Node.FS.Aff as FS
Expand Down Expand Up @@ -144,7 +144,7 @@ makeSolcSource
makeSolcSource sourceCode =
ST.FromContent
{ content: sourceCode
, keccak256: Just $ fromByteString $ keccak256 sourceCode
, keccak256: Just $ fromBuffer $ keccak256 sourceCode
}

--------------------------------------------------------------------------------
Expand Down

0 comments on commit 892acbb

Please sign in to comment.