Skip to content

Commit

Permalink
Adds license header to assignments.js
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <[email protected]>
  • Loading branch information
konstantinabl committed Nov 6, 2023
1 parent 975ba0f commit 0e51e02
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ contract AssignmentReferenceTypes {
y[2] = 8;
}

function testChangeReference(uint[5] storage y) internal pure {
function testChangeReference(uint[5] storage y) internal {
y[3] = 10;
}

Expand Down
20 changes: 20 additions & 0 deletions test/solidity/assignments/assignments.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*-
*
* Hedera Smart Contracts
*
* Copyright (C) 2023 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

const { expect } = require('chai')
const { ethers } = require('hardhat')
const Constants = require('../../constants')
Expand Down

0 comments on commit 0e51e02

Please sign in to comment.