Skip to content

Test Coverage: Add HAPI Transactions to conformity tests #4674

@simzzz

Description

@simzzz

Summary

Add native HAPI transactions (token transfers, contract calls via SDK) to the existing receipt test coverage for completeness. Currently, the conformity and acceptance tests only cover Ethereum transactions submitted via eth_sendRawTransaction.

Changes Required

  1. OpenRPC schema (docs/openrpc.json): Add "type" to the required array in the ReceiptInfo schema to ensure the field is always present.

  2. Conformity test (conformityTests.spec.ts): Add a HAPI transaction (via TransferTransaction SDK) in the before hook alongside the existing Ethereum transactions, create a new test override file get-hapi-receipt.io, and wire it up in constants.ts and overwrites.ts.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions