Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

feat: add ToposCore upgrade test #122

Merged
merged 1 commit into from
Jan 30, 2024
Merged

feat: add ToposCore upgrade test #122

merged 1 commit into from
Jan 30, 2024

Conversation

JDawg287
Copy link
Member

@JDawg287 JDawg287 commented Jan 29, 2024

Description

This PR includes a unit test for the upgrade feature of the ToposCore contract. The test involves pushing a certificate, upgrading the implementation contract, and then attempting to retrieve the same certificate post-upgrade. If successful, the test is considered passed.

Fixes TP-849

Additions and Changes

  • Added the fetches the certificates from the contract after upgrade unit test in ToposCore.test.ts

PR Checklist:

  • I have performed a self-review of my code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added or updated tests that comprehensively prove my change is effective or that my feature works

Signed-off-by: Jawad Tariq <sjcool420@hotmail.co.uk>
@JDawg287 JDawg287 self-assigned this Jan 29, 2024
@JDawg287 JDawg287 merged commit c6cd07f into main Jan 30, 2024
12 checks passed
@JDawg287 JDawg287 deleted the feat/tp-849 branch January 30, 2024 15:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants