From 169896e9ad3a2e89bebc6399811ef8bd8498484c Mon Sep 17 00:00:00 2001 From: Layerex Date: Mon, 21 Feb 2022 13:04:13 +0300 Subject: [PATCH] tweak(file-templates): update default solidity template - Added SPDX-License-Identifier - Renewed default version pragma --- modules/editor/file-templates/templates/solidity-mode/__sol | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/editor/file-templates/templates/solidity-mode/__sol b/modules/editor/file-templates/templates/solidity-mode/__sol index 46facfdb9..1cc33a86e 100644 --- a/modules/editor/file-templates/templates/solidity-mode/__sol +++ b/modules/editor/file-templates/templates/solidity-mode/__sol @@ -3,8 +3,10 @@ # contributor: Edmund Miller # name: solidity template # -- -pragma solidity ^0.4.22; +// SPDX-License-Identifier: ${1:UNLICENSED} -contract $0 { +pragma solidity ${2:>=0.8.7 <0.9.0}; +contract $3 { + $0 } \ No newline at end of file