Skip to content

Commit

Permalink
Fixing some comments
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Stefanov <[email protected]>
  • Loading branch information
stefan-stefanooov committed Oct 18, 2023
1 parent d5066ae commit 873cbb9
Show file tree
Hide file tree
Showing 10 changed files with 143 additions and 5 deletions.
2 changes: 0 additions & 2 deletions contracts/solidity/functions/Functions.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.20;


interface ContractInterface {
function sumThemUp (uint a, uint b) external returns (uint);
}
Expand Down Expand Up @@ -53,5 +52,4 @@ contract Functions is ContractInterface {
function sumThemUp(uint a, uint) external pure override returns (uint) {
return a;
}

}
20 changes: 20 additions & 0 deletions test/solidity/address/address.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
20 changes: 20 additions & 0 deletions test/solidity/concatenation/concatenation.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
2 changes: 1 addition & 1 deletion test/solidity/encoding/Encoding.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*-
*
* Hedera JSON RPC Relay - Hardhat Example
* Hedera Smart Contracts
*
* Copyright (C) 2023 Hedera Hashgraph, LLC
*
Expand Down
22 changes: 21 additions & 1 deletion test/solidity/errors/errors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
const { expect, assert } = require('chai')
/*-
*
* 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
20 changes: 20 additions & 0 deletions test/solidity/functions/functions.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
20 changes: 20 additions & 0 deletions test/solidity/inheritance/inheritance.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')

Expand Down
2 changes: 1 addition & 1 deletion test/solidity/new/New.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*-
*
* Hedera JSON RPC Relay - Hardhat Example
* Hedera Smart Contracts
*
* Copyright (C) 2023 Hedera Hashgraph, LLC
*
Expand Down
20 changes: 20 additions & 0 deletions test/solidity/units/cryptoUnits.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 { WEI, GWEI } = require('../../constants')
Expand Down
20 changes: 20 additions & 0 deletions test/solidity/units/timeUnits.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 { SECOND, MINUTE, HOUR, DAY, WEEK } = require('../../constants')
Expand Down

0 comments on commit 873cbb9

Please sign in to comment.