Update solc 0.6.x test for immutable & solc 0.6.5 (#501)

logical-or-safe
cgewecke 5 years ago committed by GitHub
parent 2337168d0a
commit 7bdcac1206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/integration/projects/solc-6/buidler.config.js
  2. 3
      test/integration/projects/solc-6/contracts/ContractA.sol
  3. 1
      test/integration/projects/solc-6/contracts/ContractB.sol

@ -5,6 +5,6 @@ usePlugin("@nomiclabs/buidler-truffle5");
module.exports={
defaultNetwork: "buidlerevm",
solc: {
version: "0.6.2"
version: "0.6.5"
}
};

@ -9,6 +9,9 @@ contract ContractA is ContractB {
uint counter;
uint errorCount;
uint private immutable _a = 100;
uint private immutable override _b = 100;
modifier overridden() override {
require(true);
_;

@ -3,6 +3,7 @@ pragma solidity ^0.6.0;
contract ContractB {
uint value;
uint b;
constructor() public {
}

Loading…
Cancel
Save