Skip to content

Commit

Permalink
Fixes PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <[email protected]>
  • Loading branch information
konstantinabl committed Nov 7, 2023
1 parent 326b5c3 commit 4aa04b3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/solidity/errors/Panic.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: UNLICENSED
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.20;

contract Panic {
Expand Down
2 changes: 1 addition & 1 deletion test/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const Contract = {
Defaults: 'Defaults',
AssignmentReferenceTypes: 'AssignmentReferenceTypes',
DestructuringReturns: 'DestructuringReturns',
Panic: 'Panic'
Panic: 'Panic',
}

const CALL_EXCEPTION = 'CALL_EXCEPTION'
Expand Down
24 changes: 22 additions & 2 deletions test/solidity/errors/panicErrors.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
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')

describe('Panic Errors', function () {
describe('@solidityequiv3 Panic Errors', function () {
let contract

before(async function () {
Expand Down

0 comments on commit 4aa04b3

Please sign in to comment.