Skip to content

Commit

Permalink
update license identifier & unlock base & library contract pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Oct 31, 2024
1 parent 8d47d83 commit e7b0d8e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions solidity/src/CadenceArchUtils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.19;

/**
* @dev This contract is a base contract to facilitate easier consumption of the Cadence Arch pre-compiles. Implementing
Expand Down
4 changes: 2 additions & 2 deletions solidity/src/CadenceRandomConsumer.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.19;

import {CadenceArchUtils} from "./CadenceArchUtils.sol";
import {Xorshift128plus} from "./Xorshift128plus.sol";
Expand Down
2 changes: 1 addition & 1 deletion solidity/src/CoinToss.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.19;

import {CadenceRandomConsumer} from "./CadenceRandomConsumer.sol";
Expand Down
4 changes: 2 additions & 2 deletions solidity/src/Xorshift128plus.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.19;

/**
* @dev This library implements the Xorshift128+ pseudo-random number generator (PRG) algorithm.
Expand Down
2 changes: 1 addition & 1 deletion solidity/src/test/TestCadenceRandomConsumer.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.19;

import {CadenceRandomConsumer} from "../CadenceRandomConsumer.sol";
Expand Down
2 changes: 1 addition & 1 deletion solidity/test/CadenceRandomConsumer.t.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.19;

import "forge-std/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion solidity/test/CoinToss.t.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.19;

import "forge-std/Test.sol";
Expand Down

0 comments on commit e7b0d8e

Please sign in to comment.