Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 730 Bytes

File metadata and controls

23 lines (18 loc) · 730 Bytes

Introduction

This repository contains kyber network smart contracts. For more details, please visit our developer portal

Setup

  1. Clone this repo
  2. npm ci

Compilation with Buidler

./compilation.sh

Testing full contract suite with Buidler

  1. If contracts have not been compiled, run ./compilation.sh. This step can be skipped subsequently.
  2. Run ./tst.sh
  3. Use -f for running a specific test file.
  4. Use -k to specify a specific hardfork version. Runs on Petersburg by default.

Example Commands

./tst.sh -f "./test/kyberReserve.js" ./tst.sh -f "./test/kyberNetworkProxy.js" -k "istanbul"

Example

npx buidler test --no-compile ./test/kyberNetwork.js