Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update license identifier & unlock base & library contract pragmas #24

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading