From 7bf3aed82d64bb166677b507c6a9d90336604d90 Mon Sep 17 00:00:00 2001 From: "g. nicholas d'andrea" Date: Wed, 16 Sep 2026 23:26:53 -0400 Subject: [PATCH] pointers: pass the full transaction hash when requesting a trace The integration test machine rebuilt the hash from its integer value, which drops leading zeros. Ganache uses random accounts, so hashes are random, and one that begins with a zero byte reached debug_traceTransaction as 31 bytes: "Unknown transaction". That is the intermittent failure in the dereference integration tests. Pass the hash's own hex encoding instead. --- packages/pointers/test/ganache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pointers/test/ganache.ts b/packages/pointers/test/ganache.ts index 1cc105b97..4fd9b9a68 100644 --- a/packages/pointers/test/ganache.ts +++ b/packages/pointers/test/ganache.ts @@ -32,7 +32,7 @@ export function machineForProvider( return { async *[Symbol.asyncIterator]() { const structLogs = await requestStructLogs( - `0x${transactionHash.asUint().toString(16)}`, + transactionHash.toHex(), provider, );