Skip to content

Commit

Permalink
downgrade solidity for compatibility (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: Viacheslav Zhygulin <[email protected]>
  • Loading branch information
szhygulin and Viacheslav Zhygulin authored Jun 21, 2024
1 parent 0626234 commit d5ec222
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion script/AddressReaderWriter.s.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {Script} from "forge-std/Script.sol";
import {Tools} from "../src/Tools.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/Deploy.s.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import { Script } from "forge-std/Script.sol";
import {console} from "forge-std/console.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/GetBtcAddr.s.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {Script} from "forge-std/Script.sol";
import {console} from "forge-std/console.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/SetSeed.s.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {Script} from "forge-std/Script.sol";
import {console} from "forge-std/console.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/BTCDepositAddressDeriver.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {Deriver} from "./Deriver.sol";
import {Bech32m} from "./Bech32m.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/Bech32m.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// based on https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki
// https://github.com/sipa/bech32/blob/master/ref/python/segwit_addr.py

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

error EncodingIsUnknown();

Expand Down
2 changes: 1 addition & 1 deletion src/Deriver.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {EllipticCurve} from "../lib/elliptic-curve-solidity/contracts/EllipticCurve.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/Tools.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {Script} from "forge-std/Script.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/BTCDepositAddressDeriver.t.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {console} from "forge-std/console.sol";
import {Test} from "forge-std/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Bech32m.t.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {Test, console} from "forge-std/Test.sol";
import {Bech32m} from "../src/Bech32m.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Deriver.t.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.25;
pragma solidity ^0.8.24;

import {Test, console} from "forge-std/Test.sol";
import {Deriver} from "../src/Deriver.sol";
Expand Down

0 comments on commit d5ec222

Please sign in to comment.