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

Adding tests for advance errors #499

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

stefan-stefanooov
Copy link
Contributor

Description:
Adding tests for advance errors

Related issue(s):
#480

@stefan-stefanooov stefan-stefanooov linked an issue Oct 18, 2023 that may be closed by this pull request
@stefan-stefanooov stefan-stefanooov self-assigned this Oct 18, 2023
@stefan-stefanooov stefan-stefanooov added enhancement New feature or request P1 Limechain Items for Limechain team EVM evm related labels Oct 18, 2023
@stefan-stefanooov stefan-stefanooov added this to the 0.6.0 milestone Oct 18, 2023
@github-actions
Copy link

github-actions bot commented Oct 18, 2023

Test Results

  16 files  +  2    81 suites  +17   9m 51s ⏱️ + 2m 21s
198 tests ±  0  190 ✔️ ±  0  6 💤 ±0  2 ±0 
234 runs  +36  226 ✔️ +36  6 💤 ±0  2 ±0 

For more details on these failures, see this check.

Results for commit 82534ce. ± Comparison against base commit 46ee829.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.
Need to confirm revert though

test/solidity/errors/errors.js Show resolved Hide resolved
@stefan-stefanooov stefan-stefanooov force-pushed the 480-solidity-support-advanced-errors branch from 15781f9 to 0f4d2ab Compare October 19, 2023 15:28
Signed-off-by: Stefan Stefanov <[email protected]>
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG
A few changes don't seem necessary as they won't cause conflict but you can confirm

@@ -101,7 +101,6 @@ const Contract = {
ExchangeRateMock: 'ExchangeRateMock',
PrngSystemContract: 'PrngSystemContract',
Concatenation: 'Concatenation',
Errors: 'Errors',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already there so no need to remove it right?
It should conflict with other PRs


const factory = await ethers.getContractFactory(Constants.Contract.Errors)
contract = await factory.deploy()
const factory = await ethers.getContractFactory('Errors')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't need to change this as it's already in file

@stefan-stefanooov stefan-stefanooov merged commit 838a0ff into main Oct 23, 2023
20 of 21 checks passed
@stefan-stefanooov stefan-stefanooov deleted the 480-solidity-support-advanced-errors branch October 23, 2023 12:27
@bibitibooo1 bibitibooo1 removed the Limechain Items for Limechain team label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request EVM evm related P1
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Solidity Support] Advanced Errors
3 participants