Skip to content

Commit

Permalink
feat: remove todos and update to v0.3.0 (#89)
Browse files Browse the repository at this point in the history
* feat: use 0.8.19

* use 0.8.18

* remove todos

* flatten is broken, remove it
  • Loading branch information
milapsheth authored Jul 18, 2023
1 parent 59dfca6 commit 4bbb2bc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish-bytecode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
- name: Build
run: npm run build

- name: Flatten contracts
run: npm run flatten

- name: Get the tag
id: release_tag
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
Expand Down
1 change: 0 additions & 1 deletion contracts/interfaces/IERC20BurnableMintable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ interface IERC20BurnableMintable is IERC20 {
*/
function mint(address to, uint256 amount) external;

// TODO: need to understand what the common interface is for burning, burnFrom etc.
/**
* @notice Function to burn tokens
* Can only be called by the distributor address.
Expand Down
1 change: 0 additions & 1 deletion contracts/token-implementations/ERC20Permit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ abstract contract ERC20Permit is IERC20, IERC20Permit, ERC20 {

if (recoveredAddress != issuer) revert InvalidSignature();

// TODO: Add a unit test for this
// _approve will revert if issuer is address(0x0)
_approve(issuer, spender, value);
}
Expand Down
7 changes: 3 additions & 4 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@ require('@nomicfoundation/hardhat-toolbox');
require('solidity-coverage');
require('solidity-docgen');

const fs = require('fs');
const env = process.env.ENV || 'testnet';
const { importNetworks } = require('@axelar-network/axelar-contract-deployments/evm/utils');
const { importNetworks, readJSON } = require('@axelar-network/axelar-contract-deployments/evm/utils');
const chains = require(`@axelar-network/axelar-contract-deployments/info/${env}.json`);
const keys = fs.existsSync(`${__dirname}/info/keys.json`) ? require(`${__dirname}/info/keys.json`) : undefined; // Load keys if they exist
const keys = readJSON(`${__dirname}/info/keys.json`);
const { networks, etherscan } = importNetworks(chains, keys);

/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
version: '0.8.17',
version: '0.8.18',
settings: {
evmVersion: process.env.EVM_VERSION || 'london',
optimizer: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/interchain-token-service",
"version": "0.2.0",
"version": "0.3.0",
"main": "index.js",
"scripts": {
"test": "npx hardhat test",
Expand Down

0 comments on commit 4bbb2bc

Please sign in to comment.