Skip to content

test: add ListingRegistry Hardhat suite#20

Open
TUPM96 wants to merge 1 commit into
Nobayprotocol:mainfrom
TUPM96:test/listing-registry-hardhat-suite
Open

test: add ListingRegistry Hardhat suite#20
TUPM96 wants to merge 1 commit into
Nobayprotocol:mainfrom
TUPM96:test/listing-registry-hardhat-suite

Conversation

@TUPM96
Copy link
Copy Markdown

@TUPM96 TUPM96 commented May 25, 2026

Summary

  • add a minimal Hardhat setup for Nobay contracts
  • add ListingRegistry tests for EIP-712 signature validity and tampering rejection
  • cover ListingVerified/ListingRevoked events plus stored seller, URI, timestamp, active state, and listingCount accuracy
  • ignore generated Hardhat and Node outputs

Validation

  • npm test passes: 10 ListingRegistry tests
  • npm run compile passes
  • git diff --cached --check passed before commit

Closes #3

Copilot AI review requested due to automatic review settings May 25, 2026 11:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Hardhat test suite for ListingRegistry.sol

2 participants