Rollback to solc v0.8.7 for platform compatibility

pull/2861/head
Kieran R. Prasch 2021-12-07 09:48:00 -08:00 committed by Kieran Prasch
parent 3aa2e9b576
commit c3827779b1
3 changed files with 9 additions and 4 deletions

View File

@ -15,4 +15,4 @@ You should have received a copy of the GNU Affero General Public License
along with nucypher. If not, see <https://www.gnu.org/licenses/>.
"""
SOLIDITY_COMPILER_VERSION = 'v0.8.10'
SOLIDITY_COMPILER_VERSION = 'v0.8.7'

View File

@ -47,7 +47,7 @@ WARNING: Do not change these values unless you know what you are doing.
LANGUAGE: str = 'Solidity'
# Version of the EVM to compile for. Affects type checking and code generation.
EVM_VERSION: str = 'berlin'
EVM_VERSION: str = 'london'
# File level compiler outputs (needs empty string as contract name):
FILE_OUTPUTS: List[str] = [
@ -114,7 +114,12 @@ COMPILER_SETTINGS: Dict = dict(
outputSelection={"*": {"*": CONTRACT_OUTPUTS, "": FILE_OUTPUTS}}, # all contacts(*), all files("")
)
REMAPPINGS: List = [CONTRACTS, ZEPPELIN, ARAGON, THRESHOLD]
REMAPPINGS: List = [
CONTRACTS,
ZEPPELIN,
ARAGON,
THRESHOLD
]
# Base configuration for programmatic usage
BASE_COMPILER_CONFIGURATION = CompilerConfiguration(

View File

@ -268,7 +268,7 @@ contract SimpleStakingContract is AbstractStakingContract, Ownable {
interface IExtendedStakingEscrow is IStakingEscrow {
function deposit(address, uint256) external;
function withdraw(uint256) external;
function withdraw(uint256) external override;
}
/**