Skip to content

Commit

Permalink
Force old version of the solidity compiler to pass AT
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Mar 27, 2024
1 parent 93584af commit 5c0f303
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion acceptance-tests/tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ web3j { generatedPackageName = 'org.hyperledger.besu.tests.web3j.generated' }

sourceSets.main.solidity.srcDirs = ["$projectDir/contracts"]

solidity { resolvePackages = false }
solidity {
resolvePackages = false
// TODO: remove the forced version, when DEV network is upgraded to support latest forks
version '0.8.19'
}

dependencies {
api 'org.slf4j:slf4j-api'
Expand Down
2 changes: 1 addition & 1 deletion acceptance-tests/tests/contracts/SimpleStorage.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
pragma solidity >=0.7.0 <0.9.0;
pragma solidity >=0.7.0 <0.8.20;

// compile with:
// solc SimpleStorage.sol --bin --abi --optimize --overwrite -o .
Expand Down

0 comments on commit 5c0f303

Please sign in to comment.