Skip to content

Conversation

danoctavian
Copy link
Contributor

No description provided.

Comment on lines 1 to 9
const { accounts, web3, artifacts } = require('hardhat');
const { ether, expectEvent, expectRevert, time } = require('@openzeppelin/test-helpers');
const { assert } = require('chai');
const { toBN } = web3.utils;
const { hex } = require('../utils').helpers;
const { DEFAULT_FEE_PERCENTAGE } = require('./helpers');
const { ZERO_ADDRESS } = require('@openzeppelin/test-helpers').constants;
const { Assets: { ETH } } = require('../utils').constants;
const BN = web3.utils.BN;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regroup this imports please. First import from packages, then from local files, afterwards define variables from imports (like BN, toBN). PS: BN doesn't seem to be used at all.

@shark0der
Copy link
Contributor

  1. Please use pragma >=0.5.0; in interfaces instead of ^0.8.0 so we can move the interfaces out of the v8 folder
  2. Please fix solidity warnings. Aside from the license warning sometimes there's useful feedback, for example there's a shadowed variable warning right now.
  3. Some contracts are indented with 4 spaces instead of 2.
  4. Fix eslint issues

@danoctavian danoctavian force-pushed the feature/distributor-relocation branch from c4b77bf to d3abafb Compare June 7, 2021 15:35
@shark0der shark0der changed the title Feature/distributor relocation Feature: distributor relocation Jun 10, 2021
@shark0der shark0der marked this pull request as draft June 10, 2021 18:12
@shark0der shark0der marked this pull request as ready for review June 14, 2021 14:20
@danoctavian danoctavian changed the title Feature: distributor relocation Audit: Feature - distributor relocation Jun 14, 2021
@roxdanila roxdanila merged commit 6c183f0 into release-candidate Jun 16, 2021
@roxdanila roxdanila deleted the feature/distributor-relocation branch June 16, 2021 12:53
@roxdanila roxdanila restored the feature/distributor-relocation branch June 16, 2021 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants