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

feat: test for fetching certificate from target subnet #47

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Conversation

JDawg287
Copy link
Member

@JDawg287 JDawg287 commented Dec 18, 2023

Description

This PR adds test scripts to fetch a certificate from the target subnet once it has been delivered to the TCE network and then included on the target subnet.

Fixes TP-816

Additions and Changes

  • Added send-token.ts script to send tokens to a subnet
  • Added get-certificate.ts script to fetch a certificate from a subnet
  • Added a test_cert_inclusion.sh script to test if the certificate is included on the subnet
  • Added a copy_contracts_artifacts.sh script to copy the JSON ABI of the smart contracts to the host machine before running the tests
  • Modified the .env file to expose the INCAL_HOST_PORT to the bash scripts

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

@JDawg287 JDawg287 self-assigned this Dec 18, 2023
@JDawg287 JDawg287 marked this pull request as ready for review December 18, 2023 23:32
.env Show resolved Hide resolved
@JDawg287 JDawg287 merged commit 7b89864 into main Dec 19, 2023
1 check passed
@JDawg287 JDawg287 deleted the feat/TP-816 branch December 19, 2023 15:06
@JDawg287 JDawg287 mentioned this pull request Dec 19, 2023
4 tasks
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