resolve pragma version causing tests to fail

pull/1898/head
0xGusMcCrae 2 years ago
parent 3861ea3e04
commit 279f1cb61c
  1. 2
      scripts/ci_test_interface.sh
  2. 2
      tests/tools/interface/ContractMock.sol
  3. 2
      tests/tools/interface/test_2.sol
  4. 2
      tests/tools/interface/test_3.sol
  5. 2
      tests/tools/interface/test_4.sol
  6. 2
      tests/tools/interface/test_5.sol
  7. 2
      tests/tools/interface/test_6.sol
  8. 2
      tests/tools/interface/test_7.sol

@ -4,6 +4,8 @@
DIR_TESTS="tests/tools/interface"
solc-select use 0.8.19 --always-install
#Test 1 - Etherscan target
slither-interface WETH9 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
DIFF=$(diff crytic-export/interfaces/IWETH9.sol "$DIR_TESTS/test_1.sol")

@ -1,4 +1,4 @@
pragma solidity ^0.8.0;
pragma solidity ^0.8.19;
contract Mock {

@ -1,4 +1,4 @@
pragma solidity ^0.8.0;
pragma solidity ^0.8.19;
interface IMock {
event Event1();

@ -1,4 +1,4 @@
pragma solidity ^0.8.0;
pragma solidity ^0.8.19;
interface IMock {
event Event1();

@ -1,4 +1,4 @@
pragma solidity ^0.8.0;
pragma solidity ^0.8.19;
interface IMock {
event Event1();

@ -1,4 +1,4 @@
pragma solidity ^0.8.0;
pragma solidity ^0.8.19;
interface IMock {
event Event1();

@ -1,4 +1,4 @@
pragma solidity ^0.8.0;
pragma solidity ^0.8.19;
interface IMock {
event Event1();

@ -1,4 +1,4 @@
pragma solidity ^0.8.0;
pragma solidity ^0.8.19;
interface IMock {
error Error1();

Loading…
Cancel
Save