Skip to content

Commit

Permalink
fixed coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofwedrowicz committed Jun 4, 2019
1 parent 6c229fa commit 8017d19
Show file tree
Hide file tree
Showing 20 changed files with 1,370 additions and 411 deletions.
2 changes: 1 addition & 1 deletion contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

contract Migrations {
address public owner;
Expand Down
2 changes: 1 addition & 1 deletion contracts/Oracle.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

import "./UsingOracleI.sol";
import "./auth/Authorizable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/OracleI.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

interface OracleI {
function request(string calldata _url) external returns(bytes32 id);
Expand Down
2 changes: 1 addition & 1 deletion contracts/UsingOracle.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

import "./OracleI.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/UsingOracleI.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

interface UsingOracleI {
function __callback(bytes32 _id, string calldata _value, uint _errorCode) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/auth/Authorizable.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

import "openzeppelin-solidity/contracts/ownership/Ownable.sol";
import "openzeppelin-solidity/contracts/access/Roles.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/oraclize/OraclizeAddrResolver.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

/*
Copyright (c) 2015-2016 Oraclize SRL
Expand Down
2 changes: 1 addition & 1 deletion contracts/oraclize/OraclizeI.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

contract OraclizeI {

Expand Down
2 changes: 1 addition & 1 deletion contracts/oraclize/OraclizeWrapper.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

import "./OraclizeI.sol";
import "./UsingOraclizeI.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/oraclize/UsingOraclizeExampleContract.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

import "./oraclizeAPI.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/oraclize/UsingOraclizeI.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

interface UsingOraclizeI {
function __callback(bytes32 _id, string calldata _value) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/utils/StringParser.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

library StringParser {
function toInt(string memory _x) public pure returns(int) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/utils/coverage/StringParserCoverage.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.5.8;
pragma solidity ^0.5.0;

import "../StringParser.sol";

Expand Down
2 changes: 1 addition & 1 deletion migrations/1_initial_migration.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Migrations = artifacts.require('./Migrations.sol');
const Migrations = artifacts.require('Migrations');

module.exports = (deployer) => {
deployer.deploy(Migrations);
Expand Down
2 changes: 1 addition & 1 deletion migrations/2_deploy_oracle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Oracle = artifacts.require('Oracle.sol');
const Oracle = artifacts.require('Oracle');

module.exports = (deployer, network, accounts) => {
const oracleServerAddress = network === 'develop' ? accounts[9] : process.env.ORACLE_SERVER_ADDRESS;
Expand Down
4 changes: 2 additions & 2 deletions migrations/4_deploy_using_oracle_and_grant_access.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const UsingOracle = artifacts.require('UsingOracle.sol');
const Oracle = artifacts.require('Oracle.sol');
const UsingOracle = artifacts.require('UsingOracle');
const Oracle = artifacts.require('Oracle');

module.exports = async (deployer) => {
await deployer.deploy(UsingOracle, Oracle.address);
Expand Down
2 changes: 1 addition & 1 deletion migrations/5_deploy_oraclize_wrapper_and_grant_access.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const OraclizeWrapper = artifacts.require('OraclizeWrapper');
const Oracle = artifacts.require('Oracle.sol');
const Oracle = artifacts.require('Oracle');

module.exports = async (deployer) => {
await deployer.deploy(OraclizeWrapper, Oracle.address);
Expand Down
Loading

0 comments on commit 8017d19

Please sign in to comment.