mirror of
https://github.com/airalab/hs-web3.git
synced 2024-10-04 04:07:20 +03:00
parent
7cad74b399
commit
b1ac6014c8
@ -7,7 +7,7 @@ The Haskell Ethereum API which implements the [Generic JSON RPC](https://github.
|
||||
[![Build Status](https://travis-ci.org/airalab/hs-web3.svg?branch=master)](https://travis-ci.org/airalab/hs-web3)
|
||||
[![Hackage Matrix](https://matrix.hackage.haskell.org/api/v2/packages/web3/badge)](https://matrix.hackage.haskell.org/package/web3)
|
||||
[![Hackage](https://img.shields.io/hackage/v/web3.svg)](http://hackage.haskell.org/package/web3)
|
||||
[![LTS-13](http://stackage.org/package/web3/badge/lts-13)](http://stackage.org/lts-13/package/web3)
|
||||
[![LTS-14](http://stackage.org/package/web3/badge/lts-14)](http://stackage.org/lts-14/package/web3)
|
||||
[![nightly](http://stackage.org/package/web3/badge/nightly)](http://stackage.org/nightly/package/web3)
|
||||
[![Code Triagers](https://www.codetriage.com/airalab/hs-web3/badges/users.svg)](https://www.codetriage.com/airalab/hs-web3)
|
||||
![BSD3 License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)
|
||||
|
@ -1,7 +1,6 @@
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
|
||||
-- |
|
||||
-- Module : Network.Ethereum.Api.Provider
|
||||
|
@ -88,8 +88,8 @@ type JsonRpcM m = (MonadIO m, MonadThrow m, MonadState JsonRpcClient m)
|
||||
|
||||
-- | JSON-RPC client state vars.
|
||||
data JsonRpcClient = JsonRpcClient
|
||||
{ _jsonRpcManager :: Manager -- ^ HTTP connection manager.
|
||||
, _jsonRpcServer :: String -- ^ Remote server URI.
|
||||
{ _jsonRpcManager :: !Manager -- ^ HTTP connection manager.
|
||||
, _jsonRpcServer :: !String -- ^ Remote server URI.
|
||||
}
|
||||
|
||||
$(makeLenses ''JsonRpcClient)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
|
||||
resolver: lts-13.21
|
||||
resolver: lts-14.6
|
||||
|
||||
# User packages to be built.
|
||||
packages:
|
||||
|
Loading…
Reference in New Issue
Block a user